Hi,
I'm working in retail industry. since i'm new to AX i not much aware of AX.
can anyone navigate how to cancel or stop a return order in AX.
*This post is locked for comments
Return Order is a specific type of Sales Order
you will find Return Order listed in SalesTable form with SalesType 'Return Order'
So you can cancel the Return Order some thing link other Sales Order, by cancelling all the lines of the order
You have one option at sales line level to update the deliver remainder qty
if all the sales lines status gets 'Cancelled' then SalesTable header gets updated as Cancelled automatically
if you want to do it programmatically then you need to write following code to cancel a sales line
ttsBegin;
salesLine.RemainSalesPhysical = 0;
salesLine.remainInventPhysical = 0;
salesLine.update();
ttsCommit;
Please verify and update us if you need more details
When you say retail are you using a POS to cancel return order?
Is this a sales return order ? if so see below Bing search would have also given you the answer
technet.microsoft.com/.../gg213628.aspx
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Tocauer 4
Community Member 2
Nayyar Siddiqi 2