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

Notifications

Announcements

Community site session details

Community site session details

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

How to make a field in Bank account ledger editable?

(0) ShareShare
ReportReport
Posted on by 102

Hi,

I need to create a field say "Field1" in the Bank ledger entry (Table 271) and Fixed asset (Table 5600). 

I need Field1 to be editable to the users. Now for Customer Ledger & Vendor Ledger we have respective codeunits to make the specific fields on the table editable.

But for  Bank ledger entry & Fixed asset, i dont see such codeunits or functionality in the system. 

Can someone suggest on how to proceed with this. Any help on this would be appreciated.

Thanks

Johnson Patrick

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

    Regarding your second requirement the codeunit you mentioned does not make fields editable rather it updates the values of fields inside AL.

  • Suggested answer
    Bilal Haider Profile Picture
    414 on at

    Hi,

    You need to add field to table using table extension and page using page extension. Like the code below.

    tableextension 50300 BankAccountTableExt extends "Bank Account Ledger Entry"
    {
        fields
        {
            field(50100; "VMI No."; Code[20])
            {
                DataClassification = ToBeClassified;
                Caption = 'VMI No.';
            }
        }
    }
    
    pageextension 50300 BankAccountPageExt extends "Bank Account Ledger Entries"
    {
        Editable = true;
        layout
        {
            addafter("Document No.")
            {
                field("VMI No."; Rec."VMI No.")
                {
                    Editable = true;
                    ApplicationArea = All;
                    Caption = 'VMI No.';
                }
            }
        }
    
    }

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

    Yes we have those codeunit already in the system, but for Bank and FA you have to defined in your custom way.

    Thanks

  • Johnson_Patrick Profile Picture
    102 on at

    We have codeunit 103 "Cust. Entry-Edit" which makes specific fields on the Customer Ledger Entry Editable likewise for vendor ledger entry we have "Vend. Entry-Edit".

    But Bank Ledger Entry & Fixed asset doesnt have this functionality defined.  

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

    Hi,

    What do you mean this line?

    I need Field1 to be editable to the users. Now for Customer Ledger & Vendor Ledger we have respective codeunits to make the specific fields on the table editable.

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

News and Announcements

Season of Giving Solutions is Here!

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 1,476

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 789 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 719 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans