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 :
Microsoft Dynamics AX (Archived)

EDT relations VS Normal relations

(0) ShareShare
ReportReport
Posted on by 90

Hi, when creating relation between tables we have two options. First is to use EDT defined relation on table (E.g for creating EcoResColor relationship we can add EcoResColorName EDT and keep EDT relation by leaving 'Ignore EDT relationship' to No (screenshot). Second we can set 'Ignore EDT relationship' to Yes and create normal relation on table level. Please tell me which one is recommended and which one to use when. Thanks in advance.

 EDT-relation.png

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You should not override relations, define it on the EDT if that value is the natural key of your table. It is used if you want to define more complex relations on the table, like on journal lines you typically find AccountCode as an Enum selection field for the type of journal, and AccountNum is the value for the dropdown based on AccountCode.

    https://msdn.microsoft.com/en-us/library/aa577032.aspx

    http://axwonders.blogspot.hu/2012/08/working-with-ax-2012-edt-relation.html

    IgnoreEDTRelation

    Used in EDT (Extended Data Type) relation migration.

    When migrating relations from an EDT node to a table node, you may skip an invalid relation for a given table field. To do so, set the IgnoreEDTRelation property of the field to Yes. The default value is No.

  • MUhammdYasirDaVinci Profile Picture
    90 on at

    Thanks Vilmos Kintera,  I made normal relation on table as I also needed delete action on relation.

  • Vilmos Kintera Profile Picture
    46,149 on at

    No problem. Please mark helpful answers on the right, to resolve the topic.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans