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, ...
Unanswered

SalesTableReferences issue when adding a customized field relation

(0) ShareShare
ReportReport
Posted on by 8
Hello,
 
I have added a new field XXXSubOrder to the table SalesTable which has relation to another SalesTable (i.e. SalesTable.XXXSubOrder==SalesTable.SalesId).
I have noticed that this is causing an issue for intercompany sales orders. Whenever I try to access the linked sales orders (General>Related orders), no record shows. However, it works perfectly fine when I delete the relation (i.e. SalesTable.XXXSubOrder==SalesTable.SalesId). Has anyone had such an issue before? What is the potential solution for this?
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,357 Super User 2026 Season 1 on at
    Hi Jason,
     
    I'm not able to understand what exactly you encounter as the issue. The related orders should show related IC purchase orders from the sales order form. Can you probably add some screenshots to illustrate the issue? 
  • GirishS Profile Picture
    27,833 Moderator on at
    Hi Jason,
     
    If you have added relation between another table, then you need to add relation to that table instead of SalesTable. Why you are mentioning like SalesTable.XXXSubOrder==SalesTable.SalesId.
    As Andre mentioned can you elaborate your functionality.
     
    Thanks,
    Girish S.
  • Jason0810M Profile Picture
    8 on at
    Hello,

    Sorry I meant linked purchase orders.
    I had added the field XXXSubOrder as in my scenario there are sales orders which are created from an original sales order through customization. Therefore I have added this field to have a reference towards the original sales order.
    When adding a table relation using that particular field, the linked purchase order does not show up when opening the related orders form.
    However, the linked purchase order shows up when I delete the table relation in SalesTable.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 509 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 375

#3
Adis Profile Picture

Adis 268 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans