Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Pull Inventory Item Quantities using Dynamics GP 2016 Web Services

Posted on by 5
I am trying to pull item quantities (on-hand, allocated, etc.) and their site/bin location using Dynamics GP 2016 Web Services. I have not been able to find a way to retrieve this information in the many different web service method calls. Has anyone found a way to get this inventory information?
Categories:
  • Austin A Profile Picture
    Austin A 5 on at
    RE: Pull Inventory Item Quantities using Dynamics GP 2016 Web Services

    Hey Joe,

    I have tried replicating the Item Information sample from Microsoft, but get the following conversion error: Cannot convert type 'System.Threading.Tasks.Task<GPService.InventoriedItem>' to 'GPService.SalesItem'

    My program is using GetInventoriedItemByKeyAsync where the Microsoft sample is using GetInventoriedItemByKey... GetInventoriedItemByKey does not exist in the web services I am using.

    My code that is erroring looks like this:

    salesItem = (SalesItem)wsDynamicsGP.GetInventoriedItemByKeyAsync(itemList[ItemsRecordsCount].Key, context);

    Thanks for the response,

    Austin

  • Joseph Markovich Profile Picture
    Joseph Markovich 3,900 on at
    RE: Pull Inventory Item Quantities using Dynamics GP 2016 Web Services

    Hey Austin-

    Have you checked out these web services samples from Microsoft?

    learn.microsoft.com/.../mdgp21013_webservicessamples_381

    Joe

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans