Skip to main content

Notifications

Announcements

No record found.

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

Auto ViewDetails For EDT

(0) ShareShare
ReportReport
Posted on by 105

suppose i have table A and has two fields ID , name, and i have form for table A

how can when i use the field ID for Table A in other tables and use it in form i find view details and open the Table A form.

i wanna know how to do it and also how it works for standard EDTs like SalesId , AccountNum for customers and vendors etc..

  • RE: Auto ViewDetails For EDT

    Thanks Gunjan

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Auto ViewDetails For EDT

    Hi Omar,

    A normal relation will work as well.

  • RE: Auto ViewDetails For EDT

    Hi Gunjan

    thanks for you reply

    what if the relation between table is normal relation not foreign key so that auto view details will not work ?

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,421 on at
    RE: Auto ViewDetails For EDT

    Hi Omar,

    You can create a foreign key relation to the other table with table A. Additionally, FormRef property should be set on table A and should point to the form you created for table A.

    A good example will be to follow the table HcmWorker. You can check the table properties of this table. You can then check WorkerSalesResponsible field in SalesTable and see how this field is part of a foreign key relation with HcmWorker.

    Following legacy EDTs like SalesId and PurchId won't help you. If look at these EDTs, you will be able to see a node - Relations where a relation with the Main table could be created. This was deprecated in AX 2012. Any new EDT you create won't have this node.

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans