Hello,
Anyone has any examples or ideas on posting a PO through webservice? Scenario is - we have the PO created in NAV (2017) and the receipt is applied against the PO and PO is released. At this stage, PO is sent to a 3rd party application to which all suppliers have access to. They will convert this PO to vendor invoices and interface between 3rd party and NAV will capture this event. During this stage, we will have to post the PO in NAV to create a purchase invoice. This process has to be automatic (once a day) and we will have to update vendor invoice number etc in the PO before posting.
I don't have access to Developer Env, so I don't think I will be able to use CodeUnit as webservices (tried exposing codeunits 90 and 91 as webservice but the WSDL doesn't have any methods to post. I see only setmethods to update posting date, preview mode etc but no method to do the posting).
Tried publishing page 51 (Purchase Invoice) as webservice but this one doesn't have an option to post the original PO. I am able to create new purchase invoice but unable to post the original PO.
So looking for expert opinions. Thanks in advance.
Thanks
Shree