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.

  • Suggested answer
    TeddyH Profile Picture
    12,775 Moderator 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
    32,718 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

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

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans