Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Header-Line form

Posted on by Microsoft Employee

Hi. I want to create a form showing 2 grids...one with headers (more than one) and one for the lines related to the selected Header.

For some reasons, and I cannot find the reason why, I see only one Header and the wrong related line.

I do have a relation on the LinesTable to the RecId of the Header. In the form I set the JoinSource Option on the LinesTable to the HeaderTable

What am I doing wrong?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header-Line form

    Thx Martin I did not recognize even with double-check the values that I selected the LinesTable in Header Grid

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 229,918 Most Valuable Professional on at
    RE: Header-Line form

    Make sure that the child datasource is linked with a Delayed link and that both grids have the right value in their Datasource property.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Header-Line form

    Hi André

    Well on the LinesTable I have a field Holding the RecId of the Header. This field is set up as Relation:

    relatioproperties.JPG

    The Relation Properties are the following:

    relatioproperties.JPG

    On the Formdatasource for the line I set the JoinDataSource Property to the Header datasource

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,113 Super User 2024 Season 2 on at
    RE: Header-Line form

    Hi Chris,

    Which datasources are set on the grid properties. Are these correct?

    Can you probably share step by step or with a screenshot how you created the relation and did the setup of the JoinSource on the form?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans