display qty OnHand()
{
InventDim inventDimCriteria;
InventDimParm inventDimParm;
InventOnhand inventOnhand = new InventOnhand();
qty qty;
;
//inventDimCriteria = inventDim;
inventDimCriteria.InventLocationId = inventDim.InventLocationId;
inventDimCriteria.configId = inventDim.configId;
inventDimParm.initFromInventDim(inventDimCriteria);
inventOnhand.parmInventDim(inventDimCriteria);
inventOnhand.parmInventDimParm(inventDimParm);
inventOnhand.parmItemId(inventTable.ItemId);
Qty = inventOnhand.physicalInvent();
OnHandQty = qty;
return qty;
}
没有评论:
发表评论