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

How to retrieve _accountid_value from an opportunity in dynamics using asp.net

$
0
0

Hi all,

as in the subject, I'm trying to retrieve data about the entity 'opportunity' and in particular I need to retrieve the lookup propriety named '_accountid_value' that is a readonly propriety.
Using the classic format to fetch this data, as for others, seems not to work.

string fetchXML = @"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' returntotalrecordcount='true' >

          <entity name='opportunity'>

              <attribute name='opportunityid' />

              <attribute name='_accountid_value' /> //not working

         </entity> </fetch>";

How can I manage to retrieve it?

Thanks for any help.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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