Notifications
Announcements
No record found.
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?
Hey Austin-
Have you checked out these web services samples from Microsoft?
learn.microsoft.com/.../mdgp21013_webservicessamples_381
Joe
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 611 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader