I have 3 entities, say A, B and C, both B & C are child records (1-N) of A. Entity B has fields looking up to both A(regardingid) and C. In my SSRS i am meant to check in my B Table if C is equals to a particular/specific type of record name, then tick a box. My problem now is, how do i do if (c== "name string" or even an Id). My Fetchxml is below :
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="B" enableprefiltering="1">
<attribute name="Bid" />
<attribute name="name" />
<attribute name="createdon" />
<attribute name="rejectionreason" />
<attribute name="decision" />
<attribute name="Aid" />
<attribute name="Cid" />
<order attribute="ukn_name" descending="false" />
<filter type="and">
<condition attribute="Aid" operator="eq" value="@AId" />
</filter>
</entity>
I am passing @Aid as a paremeter. Is my fetchXMl wrong here ? , I am currently using this to search entity C in B:
=IIF((Fields!C.Value Like "*The timeline checks and calculations are correct and appropriately evidenced*") AND (decision.Value= "Pass"),chr(254),"o"), but it returns back nothing, with multiple repeating cells. PLease someone with better knowledge help.
Thanks