I am cancelling a sales order via code and works the standard way of changing the status as cancel utilizing the class "SalesUpdateRemain" at the backend.
I did similar cancellation for Purchase order but this time with PurchCancel class and after this the Quantity field of the PO was updated to Zero.
I would like to know if there is a similar class for PO too like PurchUpdateRemain which does the cancellation same as for SO.
Standard way to cancel is
SO - SO lines - update - deliver remainder - click cancel and it will change the status to cancelled.
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.