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

Pass multiple condition values in fetch xml

$
0
0

Hello Guys,

I got a reqirement were i need to fetch records from hd_devinfreg entity  where it returns me n number of hd_devinfreg i need to pass this hd_devinfreg  to my second xml to fetch details for those records i need to do a in condition where i read from a xml and input the result to another xml dynamically using a list  please help 

<fetch mapping='logical' version='1.0'>
<entity name='hd_devinfreg'>
<attribute name='new_devmemcod' />
<filter>
<condition attribute='hd_devmercod' operator='eq' value='Jumei02000' />
</filter>
</entity>
</fetch>

<fetch version='1.0' distinct='true' >
<entity name='hd_cusledmst' >
<attribute name='hd_lead' alias='MerchantCode' />
<attribute name='hd_ledsubcod' alias='MemberCode' />
<attribute name='hd_ledcus' alias='SegmentCode' />
<filter>
<condition attribute='hd_lead' operator='eq' value='Jumei02000' />
<condition attribute='hd_ledsubcod' operator='in' >
<value>2000133405</value>
<value>2000238165</value>
</condition>
</filter>
</entity>
</fetch>


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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