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.