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, ...
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,843 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,165 Super User 2026 Season 1 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

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 April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 620

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans