Hi,
I need to programatically insert new entries in the Job Ledger Entry table.
I have built a new API Page using the AL language. After publishing it to the Sandbox environment, I can read entries successfully. However, when trying to insert new entries, I get this error message :
b'{"error":{"code":"Internal_ServerError","message":"Sorry, the current permissions prevented the action. (TableData 169 Job Ledger Entry Project Ledger Entry Insert: BC-JIRA) CorrelationId: c377f93f-7c0a-4807-af03-f79d4d75ff23."}}'
I have tried adding permissions to the extension using the code below, but the permission set is created a "System" permission set instead of an "Apllication". The same error message is prompted.
permissionset 90102 "JIRA WORKLOGS"
{
Assignable = true;
Caption = 'Job Ledger Entry Permissions';
Permisions =
TableData "Job Ledger Entry" = RMID;
}
Any help on the matter would be greatly appreciated.
Best regards,
Charles-Antoine Beaulieu