Skip to main content

Notifications

Announcements

No record found.

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

What feature of AX creates the foreign key reference within a parent-child form?

(0) ShareShare
ReportReport
Posted on by 500

I created 2 tables (header and lines) and created a Foreign key relation between them on the lines table.

From within the header form I placed a menu item button referencing the lines form.

Clicking on the lines button it to launch the lines form, I create a lines record.

When I save the line it auto-creates the foreign key reference.

Basic fundamental stuff I'm sure but I'm just intrigued as to where this is documented and so I can understand other similar stuff that I might be missing out on.

I only realised this after looking at the example of VendPaymFee and VendPaymModeFee and realising that the foreign key wasn't being explicitly handled in either table or form.

  • Verified answer
    RE: What feature of AX creates the foreign key reference within a parent-child form?

    There is documentation online, have a look at https://docs.microsoft.com/en-us/dynamicsax-2012/developer/defining-table-relations and related links inside it.

    How it all works behind the scenes is possibly concealed in some kernel method.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans