Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Why can't I make the "Bank Account Ledger Entries" page editable using a pageextension?

Posted on by 3
I've created a pageextension which extends  /Bank Account Ledger Entries/ and sets Editable to true. I also set Editable to true on the Description field, which is the field I want users to be able to edit. However, this does absolutely nothing - the Edit List button is greyed out and the field does not respond when clicked. Is it not possible to make fields editable like this? The table itself does not seem to have Editable set to false, only the page in the base app.
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 68,395 Super User 2024 Season 2 on at
    Why can't I make the "Bank Account Ledger Entries" page editable using a pageextension?
    Hi, because in BC, the tables after posting, such as table 112 "Sales Invoice Header", table 21 "Cust. Ledger Entry" and table 271 "Bank Account Ledger Entry" that you are trying to modify, are not allowed to be modified directly.
    If you look at the source code for posting in BC, you should find that there are many additional permissions defined for Codeunit.
    For exmaple, codeunit 80 "Sales-Post"
     
    So if you want to modify the posted table, you also need to add the Permissions Property to your objects.
     
    Of course this is not recommended as it will affect data consistency.
     
     
     
    Hope this helps.
    Thanks.
    ZHU

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,252 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,089 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans