Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Close a Returnorder with some canceled lines

(0) ShareShare
ReportReport
Posted on by 18

Hello

I have, for example, a Return Order in Ax2012 R3, where we have received two out of three articles. The third article has been canceled ( the "Linestatus" for that item is "Canceled" but the  Returnstatus " is ""Expected" " ) and the order has been Invoiced.

This means that the "Returnstatus " on the order is still "Open" and we want the status to be "Closed".

As we have our AX connected to another system via integration, we don´t want to delete the canceled row, to keep it for history.

How can we via a job connected to  the table "Salesline" in the AOT ensure that the entire canceled line can remain in the order, but that the Returnstatus and the order itself , gets closed?

I can via a job in AOT get the line from "Expected" to "Canceled", but the order still remains Open.

regards Andreas

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.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,459 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,066 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans