RE: Step by Step What I need to start to send insert and update data into contacts in CRM 2011
Hi Aric,
Thanks for your advices, now I know how to use the forum and the rulers. But to avoid lost the focus on my actual problem, and if you have'n a problem, I would like to ask about your reply,
Also, I' tried to update statuscode, just like you recommend me:
opportunityEntity.Attributes["statecode"] = new OptionSetValue(1);
opportunityEntity.Attributes["statuscode"] = new OptionSetValue(3);
But in this case there is the following exception:
"System.ArgumentException: 3 is not a valid status code for state code OpportunityState.Open on opportunity.\r\nParameter name: statusCode"
Is like StateCode is never update to win state, so it still has 0 (open) value.
as I said, if you preffer don't reply this question and I will open a new Post..
Thanks in advance