web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to create relation between two grids on customized form.

(0) ShareShare
ReportReport
Posted on by 31
how to create relation between two grids on the basis of recid I wanted quotationlines lines against item from serviceOrderLines i wanted to see quotationLInes Against selected Items from ServiceOrderLines grid. 
I created Relation between ServiceRequestLinesTable and ServiceRequestQuotationLines their screenshot is below:
5706.pastedimage1680586926822v2.png
7607.pastedimage1680587100901v3.png
4336.pastedimage1680587156874v4.png
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,843 Moderator on at

    Hi Munib,

    If you set the join source property on the form, it will work properly. Make ServiceRequesetLineTable as a Parent DataSource and on the property of the ServiceRequesetQuotationLines DataSource set the Join source property to ServiceRequesetLineTable.

    Grid will filter based on that.

    Thanks.

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Munib, Check this article

    community.dynamics.com/.../868133

  • Munib Ahmed Profile Picture
    31 on at

    Hi Girish,

    Thanks for reply

    I already did that but when i created new record in serviceOrderLines Grid means when i added new item and then added its quotationLInes in service order quotation Lines grid and save that and then when i open the record again the ServiceQuotationLines against items are vanished but they are saving in database.

    Actually I am created ServiceRequest Customized form in which first grid " ServiceRequestLines" are actually arrival items and second Grid its quotations against arrival item.

    i am also attaching the screenshot of form so you can understand below:

    pastedimage1680589130953v1.png

  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at

    Do you have added any other range on the form. Check whether you have added any other range on the form.

    If the record is not shown in the form, then the relation field in child table is not filling in. After adding record check whether that field values is filled in.

    Thanks,

    Girish S.

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

    In addition to above suggestion, you can also check what's the query generated for the form. Add info(this.query().toString()) in executeQuery method. Based on the query, you can validate if there is valid data or you need to make some changes in your form.

  • Munib Ahmed Profile Picture
    31 on at

    thanks it solves my problem

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 710

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 317 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans