Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Post PO to create Invoice - webservice

Posted on by 25

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

Categories:
  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Post PO to create Invoice - webservice

    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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans