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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Adding am extension to my Return Order Line V2 entity

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I need to add a new field to my extension on the ReturnOrderLine entity.

I need to add the serial number. The problem is that I need to create a connection between salesline and InventTrans and then one between InventTrans and InventDim.

I am not sure how to create the joints between the tables so I will get the serial numbers on ReturnOrderLine 

thanks

astrid

  • André Arnaud de Calavon Profile Picture
    308,167 Super User 2026 Season 2 on at

    Hi Astrid,

    You don't need the InventTrans. There is also a field InventDimId on the SalesLine table.

  • HenryXie Profile Picture
    Microsoft Employee on at

    Hi Astrid,

    you can use inventDim directly, the relation as below:

    select top 10 d.INVENTSERIALID
    from SalesLine as sl
    inner join InventDim as d
    on sl.INVENTDIMID = d.INVENTDIMID
    where isnull(d.INVENTSERIALID,'') != ''

    or you can add a virtual field on entity. ref below doc:

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-entity-computed-columns-virtual-fields

  • AstridMalanka Profile Picture
    8 on at

    Thanks

  • AstridMalanka Profile Picture
    8 on at

    I am pretty new to this, so your suggestion is to add a new computed field and use that sql code on the field? i am not sure what you mean by use inventDim directly.

    thanks

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,099 on at

    Hi AstridMalanka,

    ReturnOrderLine entity already contains InventDim data source. You just need

    1. Drop serial number field from InventDim data source to "Fields" node

    2. Add the field with the same name to ReturnOrderLineStaging table with EDT InventSerialId.

    3. Build and sync project

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

#3
Aayush Tiwari Profile Picture

Aayush Tiwari 222

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans