+ Start a Discussion
surya123surya123 

Deleting the territories through apex code

Hi,

 

 

 Can we delete the Territory through apex code using DELETE  operation.  When i try to execute delete operation on territory getting an error.

 

 Error:  DML not allowed on Territory.

 

Any help is appreciated.

ShraddhaShraddha
Hi .... Did u find any solution for this ? ..... since I have written one trigger on territory delete .... I am not able to cover that code in Test method ....