can anyone explain the following please?
differences between 1.0 and 1.2 SDK:
int iVal;
CRM 1.0:
iVal = Microsoft.CRM.Flags.ACTIVITY_PARTY_TYPE.ACTIVITY_PARTY_REGARDING;
iVal = 8 (as per documentation)
CRM 1.2:
iVal = (int)
Microsoft.Crm.Platform.Proxy.ACTIVITY_PARTY_TYPE.ACTIVITY_PARTY_REGARDING;
iVal = 5 (documentation states it should still be 8 - which is what I
expect)
Additionally, if I use the code sample as per the documentation:
// Set up the XML string for the account
string strAccountXml = "<account>";
strAccountXml += "<name>Account Number 1</name>";
strAccountXml += "<accountnumber>A0192</accountnumber>";
strAccountXml += "<websiteurl>www.adventure-works.com</websiteurl>";
strAccountXml += "<ownerid type=\"" +
Microsoft.Crm.Platform.Types.ObjectType.otSystemUser.ToString() +"\">";
strAccountXml += userAuth.UserId + "</ownerid>";
strAccountXml += "</account>";
this isn't defined!!!!
and
Microsoft.Crm.Platform.Proxy.ACTIVITY_PARTY_TYPE.ACTIVITY_PARTY_REGARDING.To
String
returns the string "Activitypartyregarding", not the number 8 which will
cause a SOAP error.
Chris Galley
Cedalion