Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

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

(0) ShareShare
ReportReport
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.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,595 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

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans