While working on inventory module I wrote this code to find out the On-Hand inventory by using the InventOnHand class. static void findingOnHand(Args _args) { ItemId itemId; InventDim inventDim, inventDimCriteria; InventDimParm inventDimParm; InventOnhand inventOnhand = new InventOnhand(); ; itemId = '00200956'; inventDimCriteria.InventLocationId = '08'; inventDimParm.initFromInventDim(inventDimCriteria); inventOnhand.parmInventDim(inventDimCriteria); inventOnhand.parmInventDimParm(inventDimParm); }
A library with Microsoft Dynamics AX, Microsoft Dynamics 365 FinOps and Supply Chain Management, Power Platform, Integrations, development and functional processes, tricks and trip, tutorials and much more....