Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Sub Grid Entity pointing to wrong Views

Posted on by Microsoft Employee

Has anyone seen this in Field Service?  I am adding a sub grid to a form and the Customer Assets Entity is displaying default views for the Agreement Booking Incidents Entity.   Image attached...

I am about to remove and re-add, Save As a new form and try again, but am open to other suggestions.  FS-SubGrid-error.png

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sub Grid Entity pointing to wrong Views

    That was the fix - thanks Thomas, I appreciate it.  

  • Verified answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,319 on at
    RE: Sub Grid Entity pointing to wrong Views

    But isn't the Sub Asset Sub grid already looking at Parent Assets?

    3582.Screenshot_5F00_3.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sub Grid Entity pointing to wrong Views

    1NrelationshipCustAsset.png

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sub Grid Entity pointing to wrong Views

    Exactly.  There is a lookup on the Customer Asset looking at the same entity (Parent Equipment (lookup to Customer Assets), which is why I find it odd that the relationship is not there to pull in the Sub Grid to the form.  

  • Suggested answer
    Thomas David Dayman Profile Picture
    Thomas David Dayman 11,319 on at
    RE: Sub Grid Entity pointing to wrong Views

    I assume what you are doing is adding a subgrid to the Customer Asset Form and looking for related Customer Assets. I think what that Customer Asset (Customer Asset) Relationship is looking at is this:

    82111.Screenshot_5F00_2.png

    There is a relationship in the Agreement Booking Incident where it has a N:1 to the Customer Asset. This might be where its getting its views from.

    I suppose there wouldn't be any related records to itself unless there was another lookup looking at the same entity.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sub Grid Entity pointing to wrong Views

    I want the Sub Grid for Customer Assets to point to the right Views.  The sub Grid for Customer Assets is pointing to the wrong Entity Views (for agreement booking incidents).  It almost seems like a bug or a MS ticket is needed.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,319 on at
    RE: Sub Grid Entity pointing to wrong Views

    Hi,

    This looks correct. Its the same in FieldOne Sky as well. What are you trying to achieve exactly?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans