Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

SalesTableReferences issue when adding a customized field relation

(0) ShareShare
ReportReport
Posted on by
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?
  • Jason0810M Profile Picture
    Jason0810M on at
    SalesTableReferences issue when adding a customized field relation
    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.
  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    SalesTableReferences issue when adding a customized field relation
    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.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,979 Super User 2025 Season 1 on at
    SalesTableReferences issue when adding a customized field relation
    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? 

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans