web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to Release an Unposted Purchase Invoice using OData V4 endpoints

(0) ShareShare
ReportReport
Posted on by 38

Hello everyone,

I am working on a desktop application in .NET (C#) that interacts with OData V4 endpoints of Dynamics NAV version 2018.

I am able to create an unposted purchase invoice using the Page 6404 (Workflow Purchase Documents) and Page 6405 (Workflow Purchase Document Lines). However, the created invoice is in Open status and I need it to be in Released status. I tried passing the Status field during invoice creation or as an update after creation, but I keep getting the error with message Control Status is Read only. In the NAV user interface, that action is accomplished by clicking on the Release botton while viewing the invoice.

I was wondering is there any way to change the invoice status using the OData V4 endpoints? Thanks for your help.

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at

    Hi, you can create an OData V4 Bound Action.

    Hope the following helps.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-and-interacting-with-odatav4-bound-action

    Thanks.

    ZHU

  • Amir Deris Profile Picture
    38 on at

    Thanks for the reply. That seems like a possible solution for us.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans