Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Pull Inventory Item Quantities using Dynamics GP 2016 Web Services

(0) ShareShare
ReportReport
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
    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
    3,914 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,933 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans