Sometimes you may see some discrepancy in InventSum table for any item then you may need to recalculate inventsum for particular item. You can try in 2 different ways : With D365FO User Interface With X++ code With D365FO User Interface Go to System administration > Consistency check Choose : "Inventory management" Module Just do … Continue reading AX / D365FO – How to do an Inventory recalculation for on-hand Qty
Category: On-hand Quantity
AX2012 – Get on-hand quantity
D365FFO – AX – X++ – Get on-hand quantity
//Get InventDim buffer inventDim.InventLocationId = importTable.InventLocationId; inventDim.wMSLocationId = importTable.WMSLocationId; inventDim.InventSiteId = InventLocation::find(importTable.InventLocationId).InventSiteId; inventDim = inventDim::findOrCreate(inventDim); inventSum = inventSum::find(importTable.ItemId, inventDim.inventDimId);
AX – D365FFO – Check item on-hand quantity
D365FO – AX : X++ code to get on hand on an item
Hi Friends,In this post I would like to share a small piece of code using which we can get oh hand values for an item. Before jumping to it I would first like to share some basic information related to on hand information.What do we need to know when we have to calculate on hand … Continue reading D365FO – AX : X++ code to get on hand on an item
D365FFO – AX – X++ – Query On-Hand inventory using specific inventory-dimensions
Using the class InventDimOnhand, you can determine the on-hand inventory of articles and/or specific inventory-dimensions. The following job determines the inventory for a specific item and a specific inventlocation. This is grouped per color. static void getInventOnhandExample(Args _args) { ItemId itemId; InventDimOnHand inventDimOnHand; InventDimParm inventDimParmOnHandLevel; InventDimOnHandIterator inventDimOnHandIterator; InventDimOnHandMember inventDimOnHandMember; InventDim inventDim; InventDim inventDimCriteria; InventDimParm inventDimParmCriteria; // … Continue reading D365FFO – AX – X++ – Query On-Hand inventory using specific inventory-dimensions