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 :
Microsoft Dynamics NAV (Archived)

Post PO to create Invoice - webservice

(0) ShareShare
ReportReport
Posted on by 31

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

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    You need to implement something like this, you do need access to Dev Environment for this

    dynamicsuser.net/.../nav-2009-web-services-extending-a-page-web-service

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 > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans