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 !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...