Hi Guys
I am in bit of a problem, i am writing a similar codeand trying to pdatw work order entity and resource booking entity. My work order entity is getting updated but facing problem at resource booking.
The below code is working totally fine:
workOrderEnt.Attributes["new_wfgjobid"] = jobId;
trace.Trace("Job ID captured");
service.Update(workOrderEnt);
the next one is not running, i am able to trace the things but its not getting updated.
resourceEnt.Attributes["new_costcenterlistid"] = costCenterListId;
trace.Trace(resourceEnt.Attributes["new_costcenterlistid"].ToString()); // yes till here its working.
service.Update(resourceEnt); // error here.
trace.Trace("checkagain");