Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

unable to run the report getting error

Posted on by

Dear Experts,

I have made a customized report. Which is process only report and use a customized codeunit. And using there have two tables ILE(Item Ledger Entry) and WE(warehouse entry). When I run the report using filter item no. always getting the error 'You do not have the following permission in the tabledata Warehouse Entry: insert. But i am a super user. also i have applied in permission in dataitem. . Please help me to resolve my issue.

pastedimage1647523301853v1.png

  • mcamanish Profile Picture
    mcamanish on at
    RE: unable to run the report getting error

    thank you. all . Now my issue is resolved.

    Please close it.

  • Verified answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: unable to run the report getting error

    To modify a ledger entry, you need to specify the permission in your object.

    On your codeunit or report that modifies the ledgers, click Properties (Shift +F4) and put the permission there.

    pastedimage1647544397149v1.png

    Check Codeunit 391 Shipment Header - Edit for reference.

  • mcamanish Profile Picture
    mcamanish on at
    RE: unable to run the report getting error

    thank you for your fast reply.

    but sir please explain me how to give permission in codeunit.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: unable to run the report getting error

    Hello Manish,

    Can you please try to give permission in your code unit instead of the report?

    Hope it will help you

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans