Hello everyone,
I'm trying to delete multiple records at a time using delete_from sql command. It is said here
https://docs.microsoft.com/en-us/dynamicsax-2012/developer/delete-from
that if I have delete method overridden isystem interprets the delete_from statement into code that calls the delete method one time for each row that is deleted.
I don't have delete method overridden but this command hangs up. I also tried some other trick like
mytable.skipDeleteActions(true);
mytable.skipDeleteMethod(true);
mytable.skipEvents(true);
delete_from mytable
where mytable.createdDateTime < utcCurrentStoringPeriod;
what can cause such behavior? Can you pls help me?
Thanks.