Skip to main content

Notifications

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

Define Permission for Extension in BC 2022 Wave 2 Release

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
    TeddyH 12,868 Super User 2024 Season 1 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
    Inge M. Bruvik 32,748 Super User 2024 Season 1 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans