Thursday, October 27, 2011

Find On-Hand inventory

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);
}

No comments:

Post a Comment

I will appreciate your comments !

How to enable new Microsoft teams - Public Preview!

New Microsoft Teams is just AWESOME, quick but useful post below shows how you have this preview feature to make your life EASY!  Open Micr...