+ Start a Discussion
champ_vimalchamp_vimal 

Dml operations on User Territory

Hi,

 

I know as per documentation that we cannot have Dml operations on User Territory records in Apex.

 

But, I think using @future call we can have a method in a single class and have the operation done. But for me it is 2 controller classes for one page module so this too wont work.

 

Please let me know how can I have delete operations on User Territory object records?

 

 

Thanks,

 

Vimal 

Abhishek Pal 33Abhishek Pal 33
I am still getting DML operation error while I am using @future in a method that tried to insert UserTerritory object.