Quantcast
Viewing all articles
Browse latest Browse all 72043

Delivery Remainder in Sales Confirmation Report

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.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>