RE: String Control Field Properties - Needed Permission
I wanted to use the same logic in SalesTable but noticed that the extension has the neededPermission greyed out.
In SalesTable, header and line, we do not want all users to be able to change the default taxGroup assigned when the record is created. We make use of an ISV for taxes and we have custom that if the delivery term is customer pick-up then it will automatically assign a taxgroup to the header/line, else it will take the default in the ISV setup.
The neededPermission field would have allowed me to add privileges to the control to assign it to roles for those who can change it manuall and those who can't.
We also found this link: community.dynamics.com/.../role-base-field-level-security-dynamics-ax-2012-amp-d365
However the above is on the table itself. If I set the taxGroup on SalesTable and SalesLine to Read-access for that privilege that is for the role that should not be able to change the default, then it will not write the default value to the DB because the user has only read access to that field on the table.
So how can I assign security to a control in the form? I cannot set the standard control visible = No and add a custom field because the taxGroup field is used by the ISV software as well.