Hi all,
There is a customized report for Sales Confirmation and this report is used for the Sales order confirmation.
Here, i am a adding a new column "Delivery Remainder" from SalesLine in a programmable section.
I did a method to achieve this.
SalesLine salesLine;
Select firstonly from salesLine
where salesLine.SalesId == CustConfirmTrans.OrigSalesId && salesLine.ItemId == CustConfirmTrans.ItemId
&& salesLine.SalesQty == CustConfrmTrans.Qty;
return salesLine.RemainSalesPhysical;
But when i confirm a sales order with orderqty as 100 and deliveryremainder as 20 .
I am not getting the correct delivery remainder value.
If there is need a change in code,please advice.