function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
john4sfdcjohn4sfdc 

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.