Dear Experts,
Currently I am working with BC 2022 Wave 2 release with India localization. In the same I have included the India TCS extension in dependencies. My user login has SUPER permission set. Now if my Sales Order has TCS tax component in it and I try to post it then the system gives me error "Sorry, the current permissions prevented the action. (TableData Cust. Ledger Entry Modify: India TCS)". The moment I remove TCS from my Sales Order the same gets posted smoothly.
I was searching on the issue and came to know that from BC 2022 Wave 2 release, unlike pervious versions now we have to use the command al.generatePermissionSetForExtensionObjects, but I was struggling to use it.
Experts it will be of great help if you can spare some time of yours and help me on the issue.
Thanks.
That's because the India TCS extension tries to modify Customer Ledger Entry without specifying indirect permission on the code. Having a SUPER permission is not enough because you are trying to modify protected tables (ledgers).
You should contact the developer and tell them to fix it.
Below is example of indirect permission on the code.
codeunit 50000 "XXX"
{
Permissions = tabledata "Cust. Ledger Entry" = m;
}
Have you checked if the India TCS extension already have a permission set that you can assign to the user?
Go to the User page as see what permission sets you have available to assign.
If you do not find anything you should contact the developer of the India TCS extention.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156