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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 86 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 58 Most Valuable Professional

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 42 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans