Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

Webservices to get item prices for customer

Posted on by 543

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?

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Webservices to get item prices for customer

    Thanks a lot, Suresh Kulla!

    Best regards,

    Morten

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Webservices to get item prices for customer

    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.

  • Morten Steengaard Profile Picture
    Morten Steengaard 543 on at
    RE: Webservices to get item prices for customer

    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.

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Webservices to get item prices for customer

    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.

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,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans