Skip to content

Query Builder wrongly shows error icon when FetchXML code doesn't have error #1095

@akedrov-tifs

Description

@akedrov-tifs

There is a FetchXML code which works well and returns expected results.

<fetch>
  <entity name="msdyn_resourceassignment">
    <attribute name="msdyn_bookableresourceid" />
    <attribute name="msdyn_resourcecategory" />
    <filter>
      <link-entity name="mca_projectsubordinaterole" to="msdyn_resourcecategory" from="mca_managing" alias="Sub" link-type="not any">
        <link-entity name="msdyn_projectteam" from="msdyn_projectteamid" to="mca_projectteammember" link-type="inner" alias="Ptm">
          <filter>
            <condition attribute="msdyn_project" operator="eq" valueof="msdyn_resourceassignment.msdyn_projectid" />
            <condition attribute="statecode" operator="eq" value="0" />
            <condition attribute="msdyn_bookableresourceidname" operator="ne" value="Generic Resource" />
          </filter>
        </link-entity>
        <filter>
          <condition attribute="statecode" operator="eq" value="0" />
        </filter>
      </link-entity>
      <condition attribute="msdyn_taskid" operator="eq" value="437d1241-4eb6-ef11-b8e3-6045bda76646" />
      <condition attribute="statecode" operator="eq" value="0" />
    </filter>
  </entity>
</fetch>

But QueryBuilder shows an error icon in front of nested link-entity:
image
FetchXML Builder version = 1.2024.10.1
XrmToolBox version = 1.2024.9.69
image

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions