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

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
    414 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,111 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
    95,729 Super User 2025 Season 2 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

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,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans