Announcements
No record found.
Hello, what is the class that calculates the deliver remainder (salesline.RemainSalesPhysical) in sales order after invoicing? thanks
*This post is locked for comments
look at this:
msdn.microsoft.com/.../salesupdateremain.updatedeliveryremainder.aspx
Hello, thank you for the assistance. I have tried to debug salesUpdateRemain class. But it is not what i am looking for. This class is for the update line > deliver remainder in sales order lines.
The scenario is when I cancel the packing slip,
and then the deliver remainder (salesline.RemainSalesPhysical) becomes updated.
Hi Marykate,
Did you try to put a break point on salesLine.update() ? It will definitely show you call stack where you can see how it is get updated...
Class: InventMov_Sales
Method: setRemainPhysical
You can always trace the code in the debugger to find out where/how it's updated.
The InventoryMovement (InventMov_*) classes do most of the work of updating the movement records like SalesLine, but the calculation of quantities is done by the SalesQuantity classes. These calculations are used to populate the SalesParmLine records (based on your selection of SalesUpdate, i.e. All, Deliver now, Packing slip, etc.), which are then used during form letter posting.
Hi Marykate
you can check salesupdateremain
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Alexey Lekanov 2
Henrik Nordlöf 2 User Group Leader