Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

FetchXMl: Complicated filter

$
0
0

I am trying to build a fetch xml with a complicated filter. filter is like the where clause of sql as below:

Where

(
    (EntityA.Attribute1 = val1 and EntityB.Attribute2=val2)
     OR
    (EntityA.Attribute1 = val3 and EntityB.Attribute2=val4)
)
AND
(
    (EntityC.Attribute3 = val5 and EntityD.Attribute4=val6)
    OR
   (EntityC.Attribute3 = val7 and EntityD.Attribute4=val8)
)

How to build this fetchxml?

thanks,


Viewing all articles
Browse latest Browse all 82002

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>