web
You’re offline. This is a read only version of the page.
close
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:
I have the same question (0)
  • Joseph Markovich Profile Picture
    3,976 on at

    Hey Austin-

    Have you checked out these web services samples from Microsoft?

    learn.microsoft.com/.../mdgp21013_webservicessamples_381

    Joe

  • Austin A Profile Picture
    5 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans