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

Notifications

Announcements

No record found.

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
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    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.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,284 Super User 2025 Season 2 on at

    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;

    }

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,990

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,576 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,028 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans