We're using Dynamics 365 BC on Cloud, and successfully tested the API v2.0 to query, filter, update purchase orders / lines. We now want to "Receive and Invoice" from a PO using API, the same way we do in UI:
- Define a supplier invoice Id
- Set receiveQuantity / invoiceQuantity
- Select "Receive and Invoice" => PO updated with adjusted receivedQuantity and invoicedQuantity => Supplier invoice created
It seems that this kind of basic action needs custom extension ? Is that correct ? How to do that ? Could somebody share an example ?
ps: We have found a project on github written by ethan-sorenson (here) but not applicable in our context...
Thanks !