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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Create view with outer join (fetchxml) not working?

(0) ShareShare
ReportReport
Posted on by 886

Hi,

I tried creating a view from customer asset to show the customer assets and what customer assets are linked to work order incidents. For testing i set a parameter to only show the customer asser with a specific ID (custom field) -> cus1_parentassetid. There is only one customer asset with this ID. However multible work order incidents assciated to the customer asset. In fetchXML builder for xrmtoolbox i get 2 results (Because the 1 customer asset is related on 2 work order incidents). So everything is fine in fetchxml. However when i upload the fetchxml to my view in CRM it only shows 1 record? And in the botton of the view it will show "1 - 2 of 2 (0 selected)". Why can i only see 1 record in CRM and not 2?

<fetch version="1.0" distinct="false" >
  <entity name="msdyn_customerasset" >
    <attribute name="createdon" />
    <attribute name="msdyn_customerassetcategory" />
    <attribute name="cus1_parentassetid" />
    <attribute name="cus1_customerid" />
    <attribute name="cus1_address1zippostalcode" />
    <attribute name="cus1_address1street2location" />
    <attribute name="cus1_address1street1location" />
    <attribute name="cus1_address1city" />
    <attribute name="cus1_locationcuscription" />
    <attribute name="cus1_address1name" />
    <attribute name="cus1_subcategory" />
    <attribute name="cus1_address1countryregion" />
    <attribute name="cus1_serialnumberparent" />
    <attribute name="cus1_cusmiproductmodel" />
    <attribute name="cus1_cusmimanufacturer" />
    <attribute name="msdyn_customerassetid" />
    <order attribute="cus1_serialnumberparent" cuscending="false" />
    <filter type="and" >
      <condition attribute="statecode" operator="eq" value="0" />
      <condition attribute="msdyn_parentasset" operator="null" />
      <condition attribute="cus1_parentassetid" operator="eq" value="114317" />
    </filter>
    <link-entity name="msdyn_workorderincident" from="msdyn_customerasset" to="msdyn_customerassetid" link-type="outer" />
  </entity>
</fetch>

I have the same question (0)
  • rskadk1 Profile Picture
    886 on at

    I can see my view us working from advanced views (2 records displayed) but not from the unified interface (Only 1 record displayed)?

  • rskadk1 Profile Picture
    886 on at

    No one who knows this?

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 171 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 83

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans