web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

[AX2012] Link between Return order line and Invoice line

(0) ShareShare
ReportReport
Posted on by 204

Dear community,

In AX you can create return order lines by marking lines on an invoice (Find Sales Order). Where does AX store the link between the return order line and the invoice trans line? You can't return the same invoice line twice, so there must be a link.. somewhere..

I thought this link was saved on the inventtrans records, but those aren't created until the return order line is registered.

Anyone knows?

Thanks, yours,

Berthil

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    304,154 Super User 2026 Season 1 on at

    Hi Berthil,

    There is no link between an invoice and the return order other than it might fill the return Lot-ID for cost price purposes. So, in fact you can perform the action multiple times. The feature is intended to create new orders or return orders more quickly or with consistent data.

  • Berthil Profile Picture
    204 on at

    Hi André,

    Thank you for your quick response. But in our setup we can only select invoice lines once, after that AX returns an error 'The quantity being returned is greater than what can be covered by the return lot.' or it disappears from the selection list.

    Yours,

    Berthil

  • Berthil Profile Picture
    204 on at

    Ah.. I think I understand it now.

    The Return lot id references to the inventtransid from the Original sales order line, am I correct?

    Yours,

    Berthil

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Berthil,

    As Andre mentioned there is no field other than the lot ID and the RMA number that helps you identifying the linkage between the original and the return order. If you need something else then you have to consider making a system modification.

    Best regards

    Ludwig

  • Berthil Profile Picture
    204 on at

    Hi Ludwig,

    Thank you for your response. We're creating an automated return order creation process and we need to link this to the Original sales order. The lot ID seems to be the field I'm looking for.

    Yours,

    Berthil

  • André Arnaud de Calavon Profile Picture
    304,154 Super User 2026 Season 1 on at

    Hi Berthil,

    The return lot ID is indeed referencing the InventTransID from the original sales. But also good to read there is actually a check in place.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans