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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Multiple relations within entities ( Opportunity to OpportunityProducts)

(0) ShareShare
ReportReport
Posted on by 80

I have created another relationshisp 1: N Opportunity to Opportunity Products, very similiar to build-in. Is has been created in order to separate my detailed products from contract basic products.

Problem is when adding grid view to form for showing both relationships content.

Grid views are corresponding to different relationships(build-in and custom one) but showing same results.

*This post is locked for comments

I have the same question (0)
  • Nizar JLASSI Profile Picture
    2 on at

    Hi,

    You've seen the Data Source of each subgrid ?

    I just need to double clic on the subgrid in form editor and verify if you have selected in the Entity dropdown list the good realationship.

    If this answer helps you, mark your question as answered.

    Have a nice day,

    NJL

  • Hosk Profile Picture
    on at

    You need to select (and maybe create) the appropriate view so it only shows the records you want to see.

    Usually you set it to only regarding records

  • Hosk Profile Picture
    on at

    You need to select (and maybe create) the appropriate view so it only shows the records you want to see.

    Usually you set it to only regarding records

  • Leszek Szejka Profile Picture
    80 on at

    Both grid settings are correct. What is interesting: if i add relation (built-in) between opprtunity product and opportunity both in c# code noth grids are showing correct data. If i add pportunity product with nmy custm relation via c# code also both grids are showing correct data.

    Incorecct (doubled) data are showed only if i add any kin relationship via web interface.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans