Re: <Fetch> by Jeffry
Jeffry
Tue Jan 17 13:39:41 CST 2006
Ah great, so it is possible using Fetch!
I'll try it out and let you know if it works for me, but I'm sure it will if
you got it to work :)
Thanks,
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"srini" <sreenumay15@gmail.com> wrote in message
news:1137515335.114097.227880@f14g2000cwb.googlegroups.com...
> Jeffry-
>
> I have solved my problem. for your reference I am attaching that fetch
> xml query
>
> <fetch><entity name='Account'>"
> <link-entity name='Contact' to='primarycontactid' from='contactid'
> link-type='outer'>"
> <all-attributes/>
> </link-entity>
> <link-entity name='Account' to='accountid' alias ='account'
> from='accountid' link-type='inner'>
> <attribute name= 'accountnumber'/>
> <attribute name='name'/>
> </link-entity>
> <filter type='and'>
> <condition attribute='accountid' operator='in'>
> <value>Account Guid value</value>
> </condition>
> </filter></entity></fetch>
>
> if you have a time try the above and let me know. It is working for me.
> this is the fetch xml query I wanted.
>
> Srini.......
>