Hi all,
We implemented a security policy where all users are not allowed to delete a document reference of a certain type. This workes fine.
There is an exception where the document reference must be deleted by using x++ code.
Also when the AX logic tries to delete the record, the policy is enforced and we get the error that it is not allowed to delete this document reference.
Can anyone tell me if and how it is possible to make an exception for this policy when using x++ code?