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...
Answered

How can I edit a new field information in the table GL Entries with AL Development?

(0) ShareShare
ReportReport
Posted on by 25

We have an AL development that is adding the Sales Order number in the GL Entries table when Shipment/Sales Order is posted. But we are getting the error:

Sorry, the current permissions prevented the action. (TableData G/L Entry Modify: ALProjectFTR). 

We've tried to fix it following this post: https://yzhums.com/29221/

Assigning permissions to the table and page:

pastedimage1679598240292v1.png

We verified the user's permissions too:

pastedimage1679598400386v3.png

But still having the same error message:

pastedimage1679598271829v2.png

Could you please advise?

Thank you, 

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    You need to give the AL object explicate permissions to edit the G/L Entry table because it is a protected table.

    See the documentation and example here: learn.microsoft.com/.../devenv-permissions-property

  • Verified answer
    YUN ZHU Profile Picture
    103,282 Super User 2026 Season 2 on at

    Hi, Inge is right, you can refer to standard codeunit 80 "Sales-Post", for processing posted data in BC, you need to add Permission property in your objects.

    pastedimage1679616681516v1.png

    pastedimage1679616692093v2.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    adding more info.

    Find the object where you have wrote your logic, and in that object, add permission property and add like this

    If this is a Codeunit object for you.

    Permissions = tabledata "G/L Entry" = rm;

  • Antea Ruiz Profile Picture
    25 on at

    Thank you all for your recommendations! It worked by changing the permissions to the GL entry table.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans