+ Start a Discussion

Deleting the territories through apex code




 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.

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 ....