web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Define Permission for Extension in BC 2022 Wave 2 Release

(0) ShareShare
ReportReport
Posted on by 70

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.

I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,046 Super User 2025 Season 2 on at
    RE: Define Permission for Extension in BC 2022 Wave 2 Release

    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;

    }

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,035 Moderator on at
    RE: Define Permission for Extension in BC 2022 Wave 2 Release

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,669 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,668

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans