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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Relations between data sources in Data Entity

(1) ShareShare
ReportReport
Posted on by 122
I'm trying to understand the relationships between tables in the VendorInvoiceHeaderEntity data entity.
 
For example, the property for the HcmWorker datasource under the VendInvoiceInfoTable datasource indicates it's an outer join and Relations will be used:
//
 
Neither of these tables have a relation defined referencing the other table.
 
In the data entity itself, there's a relation called HcmWorker so I thought this would define the relationship but the details are blank:
 
 
//
 
 
How is D365 determining which field(s) to join these two tables on?
 
 
I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at
    Hi Jackie,
     
    If you give "use Relation" property to Yes on the relation property - It will fetch the relation directly from the table. No need to manually mention the related field under relation properties.
    VendInvoiceInfoTable and HcmWorker table is related through Approver and RecId field. Refer to the below screenshot.
     
     
    Thanks,
    Girish S.
  • Verified answer
    Layan Jwei Profile Picture
    8,097 Super User 2025 Season 2 on at
    Hi Jackie,
     
    When you set "use Relations" to yes, it means that you don't want to insert the relation manually and that you want to use the relation specified on table "VendInvoiceInfoTable" that relates to "HCMWorker" table.
     
    If you set "Use Relations" to No, then you'll need to add the relation yourself which is
    'VendInvoiceInfoTable.Approver = HCMWorker.RecId"
     
    Thanks,
    Layan Jwei
  • JackieMc Profile Picture
    122 on at
    Thank you both so much.  This clears up my confusion.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans