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 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
Hey Austin-
Have you checked out these web services samples from Microsoft?
learn.microsoft.com/.../mdgp21013_webservicessamples_381
Joe
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156