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);
}
Comments
Post a Comment
I will appreciate your comments !