Hello everyone,
We are developing a desktop application communicating with Microsoft Dynamics NAV version 13 (Business Central) and using ODataV4 web services. We need to create Purchase Invoices and for each line, specify which Purchase Receipt line they correspond to; i.e., three way matching. Similar to the functionality of Functions -> Get Receipt Lines which is available in the NAV UI for Purchase Invoices.
When using Page 6404 (Workflow Purchase Documents), I can see there is receiptNumber and receiptLineNumber fields which are populated when using the Get Receipt Lines functionality. However, I am unable to set these values during Purchase Invoice line creation, indicating these fields are read only.
I tried many other page web services but have been unable to find a way to create Purchase Invoice lines and specify which Purchase receipt lines they refer to.
I was wondering is there any standard way for doing this or this requires customization?
Appreciate your response.