You need to sign in to do that
Don't have an account?
Saikishore Reddy Aengareddy
UNABLE TO LOCK ROW - Question
Hello All-
If a contact is in process of updation by some process and at the same time cases associated to the contact are getting updated do we runinto locking issues?
As per docs it says that salesforce engine does the following
"
- First locks sObject parent records, then children.
"
so when a contact is getting updated does salesforce locks its associated cases?
Hello,
Records will not be locked in the scenario you provided. The consideration 'First locks sObject parent records, then children' is applicable when you are locking records through Apex code using For Update keyword. You are not supposed to lock child records first.
Refer: http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_locking_statements.htm