locked
Inactive Accounts gets updated by CRM SDK RRS feed

  • Question

  • 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


    • Edited by Ajay Chawla Saturday, January 18, 2014 5:09 AM CRM 2011
    Saturday, January 18, 2014 5:08 AM