Announcements
Hi NAV Experts.
I am going to help build a webshop that connects to NAV 2017.
Which NAV webservices should be called to
- get all items and their current prices?
- get item prices for one customer?
- create sales order?
If you can help me with some basic directions or examples, that would be really great.
If possible, how do I make a function on a page that can be called from the web page?
*This post is locked for comments
Thanks a lot, Suresh Kulla!
Best regards,
Morten
If you publish the ITem Page you can get all the Items and prices for that item, if you are using Sales Price, then publish the Sales Price page to get customer-specific prices and for creating sales order you can use the Sales Order Page.
docs.microsoft.com/.../microsoft-dynamics-nav-web-services-overview
docs.microsoft.com/.../basic-page-operations
You just need to publish the corresponding pages which display the data in NAV to consume for your webshop.
Thanks, but I would expect these things to be included in NAV somewhere.
It must be very normal to have a web shop connected to NAV.
I didn't expect that I would have to write code in NAV for making this work.
See you can make one Web Service with 3 different methods to accomplish this!!
You need to write a specific code for all 3 to be calculated and then returned back to the Web Service.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156