Greetings to the community!
I just want to share my experience for one annoying failure resolving.
During new role creation (Role Securities setup) at one of our projects, I have met the failure with unclear reason:
Access denied: SalesFormLetter_Invoice4Paym_RU.
First thing I have checked all the entry points at this role that touch the SalesFormLetter, than I tried to decide the problem by adding standard permission and duties that play on SaleFormLetter, but the failure appeared again and again.
After wile, I have found the decision of this problem:
To resolve the problem you just need to add postSalesOrderInvoice4Paym_RU server method to one of your Permissions that added to the role (or just create a new permission for this object). That is unusual, but it is possible to add this ServiceOperation object not to server method node but to entry points node of your Permission or Role.
I hope my experience will be useful for AX community.