I watched a YouTube video: Creating Users and Permissions in Microsoft Dynamics NAV 2016 on full license
I have three keys tables;
Imprest header : while three fields are on table relation,
Imprest Lines: with one field on table relation.
Attach document: Its fields are document no and files.
The user license is Limited, when I run the page, while the Lines is not editable and attach document which is on page action displayed error message. “you do not have the following permissions on TableData Attach Document Insert”.
I created the following permission set and added its to user card, user permission set line after SUPER but still not working.
Solved, I changed the field with table relation in Imprest Details to CAL code lookup and I make the company name to be blank with permission set to SUPER.
Expense Code - OnLookup()
IF PAGE.RUNMODAL(52121501,ExpenseCodes) = ACTION::LookupOK THEN BEGIN
"Expense Code" := ExpenseCodes.Code;
Expense := ExpenseCodes.Description;
Type := ExpenseCodes."Account Type";