al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

[Request] add permissions to current object

Open guidorobben opened this issue 3 years ago • 0 comments

When building a method codeunit,I add the permissions needed to the object. something like this.

codeunit 90000 "Update Price List Meth PTE" { Permissions = tabledata Item = R, tabledata "Price List Header" = R, tabledata "Price List Line" = RMI; }

Is it possible to create a function that scans the object and adds the proper tabledata to the permission property?

guidorobben avatar Oct 25 '22 09:10 guidorobben