Hi All,
I need to display the Sales Unit and Onahand quantity in sales unit in report. I have created those fields in the temptable and below code is being used to store the sales unit.
While Select UnitId from InventTableModule where TmpinventTrans.ItemId == InventTableModule.ItemId
&& ModuleInventPurchSales::Sales
{
TmpinventTrans.SalesUnit = InventTableModule.UnitId;
}
how can I show the quantity in the sales unit after applying unit conversion if available.
I am using a method to have on-hand value and storing as TmpInventTrans.onhandphysical. just need the code for applying unit conversion and to display the data as TmpinventTrans.salesqty.
If( SalesUnit!= 'Kg')
{
------------ ?
}
*This post is locked for comments
I have the same question (0)