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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Manually update in G/L Entry field can't be done

(0) ShareShare
ReportReport
Posted on by 8

Hello, Everyone,

(GREEN COLOR) I have done a development that allow to track the sales order related to every G/L entry, it is done by a Code Unit (IT ONLY WORKS WITH THE NEW G/L ENTRIES)

but I need to update all the historic data to be tracked, so I am trying to do it by ETL or manually, nevertheless when I edit (RED COLOR) it saved but after a while is deleted, no error is shown

pastedimage1680018269230v1.png

pastedimage1680018499828v2.png

We think it might be due to the permissions set in a direct edit, but we don't know how to change it.

pastedimage1680018839250v3.png

Do you have any idea or something may be useful?

Best Regards, 

Nicolas Payan

I have the same question (0)
  • Suggested answer
    Bilal Haider Profile Picture
    442 on at

    Hi,

    I think your understanding is right that it is a permission issue. Indirect permission means that this user can indirectly do the operation (means using some codeunit/report which has permissions and these permissions we explicitly give using Permissions property).

    Try to give this user direct permissions.

    Otherwise, you can try to use some codeunit / report by giving it enough permissions.

  • Nicolas Payan Profile Picture
    8 on at

    Hello, Bilal,

    It is kind of wear, because when I change the Description field it let it change

    pastedimage1680032838628v1.png

    Regards,

    Nicolas Payan

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    You need to set explicit permission in the object you use when you are performing your update. Here are documentation with examples:

    learn.microsoft.com/.../devenv-permissions-property

  • Suggested answer
    YUN ZHU Profile Picture
    98,532 Super User 2026 Season 1 on at

    Hi, I think you can create a codeunit for batch processing, and then give Codeunit permissions, as Inge mentioned.

    Here is an example from codeunit 80 "Sales-Post".

    pastedimage1680049825253v1.png

    Hope this helps as well.

    Thanks.

    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,821 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,122 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans