Skip to main content

Notifications

Community site session details

Community site session details

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

Relations in table : normal and foreign key relation

(0) ShareShare
ReportReport
Posted on by 709

Hi,

When create table and set its relation, how to easily understand the difference between Relation and Foreign Key Relation ?

I didn't see any difference in both property, as in both after we specify the Related table, then we need to add the relation key by right click and choose again whether it is Normal or fixed related.

At first I thought, with Foreign Key Relation, after we specify the Related table, then we do not need to specify the field as it would "cleverly" look into both "primary key", and take the related table primary key as the foreign key in current table. But turns out Build error, so I still need to specify the field, same as when I'm choosing (normal) Relation when create new Relation.

Of course there is this docs, which in every question in this forum advice us to look -> https://docs.microsoft.com/en-us/dynamicsax-2012/developer/table-keys-surrogate-alternate-replacement-primary-and-foreign?redirectedfrom=MSDN

But I'm having a hard time of understanding it (after read it over and over) And by the look of "no response" of the person who asked, I'm guessing all of them still confuse as well. 

Anyone can help me with more easy to understand of what is the different ?

Thanks,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,110 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans