Codeunit 80 - Sales-Post does not grant rimd permission to "Sales Header" table
We want to be able to configure Permission Sets to allow one group of users to create and approve Sales Documents (but not post) and another group of users to post the approved documents (but not create/modify or delete)
The first requirement we can handle with AL changes, i.e. subscribe to an event in codeunit 80 to ensure the user should be able to post documents.
The second requirement is not possible the way things are right now as Codeunit 80 grants rimd permissions to the "Sales Line" table, but it does not grant rimd to the "Sales Header" table.
The users that are only supposed to post sales documents get an error "You do not have permission to modify the Sales Header table". when the code reaches the line below. Granting these users indirect modify permissions does not help because the codeunit itself needs additional permissions added and this cannot be done with a subscription to an event.
We are facing the same issue with the Purch-Post codeunit.
Request: Please can I ask you to consider adding "Sales Header" = rimd to the permission in Codeunit 80 and "Purchase Header" = rimd to the permissions in Codeunit 90?