Skip to main content

Notifications

Announcements

No record found.

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

EDT Table references and Table relations

(0) ShareShare
ReportReport
Posted on by 1,548
Hi,

In the EDT we can see these two nodes? 
What does each one do please? and should we fill them?
 
 
 
Also there is a /Reference table/ property on the EDT, what is the difference between this property and this table references node?
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    EDT Table references and Table relations
    When you use the EDT for an unbound control, a lookup will be automatically created for the reference.
     
    When you drag the EDT to a table, Visual Studio will offer to create a table relation based on the reference table. For example, this is how it looks like when using HcmWorkerRecId:
     
  • junior AX Profile Picture
    junior AX 1,548 on at
    EDT Table references and Table relations
    Hi Martin,

    So if we fill this Table Reference node what happens? I didn't get it? -- there won't be a need to put a relation when we use this EDT in a different table other than the original table?


     Reference Table property is filled with a Table and not a field. But what does it differ the with table references Node
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    EDT Table references and Table relations
    If you try to add something into Table Relations node, you'll find that it's not possible. It's a legacy thing; Table References are used for new development. This change was introduced already in AX 2012.
     
    Table References allows you to choose a specific field, which you can do in the property.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans