+ Start a Discussion

SObject type does not allow locking rows

I am trying to use for update in the SOQL query for territory object. I recieve the below error

"SObject type does not allow locking rows"

Where as i tried to use the for update keyword on account and contacts and it did work. is there any limitation to use the FOR UPDATE on territories.
Salesforce DeveloperSalesforce Developer
I don't think there should be any limitation, have a look on this Doc : https://help.salesforce.com/help/pdfs/en/record_locking_cheatsheet.pdf in the section Object specific record locking behaviour Territory is there means it should be supported.