Hi,
I accidentally updated an account by CRM 2011 SDK. Further to my surprise, it was an inactive account. Then I tried the same with a sample console application using below code.
#region Update Inactive Account
Entity inActiveAcc = new Entity()
{
Id = new System.Guid("54D13E03-1F50-E311-BB4C-0050569F39C8"),
LogicalName = "account"
};
inActiveAcc.Attributes.Add("accountnumber", "989898");
OrganizationServiceProxy cproxy = GetCRMService();
cproxy.Update(inActiveAcc);
return;
#endregion
The inactive account gets updated with the new account number. Is this a bug or behavior? If its a behavior, what is the reason for the same?
Ajay Chawla