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

How to make a field in Bank account ledger editable?

(0) ShareShare
ReportReport
Posted on by 100

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

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 232 on at
    RE: How to make a field in Bank account ledger editable?

    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
    Bilal Haider 232 on at
    RE: How to make a field in Bank account ledger editable?

    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
    Nitin Verma 21,341 Moderator on at
    RE: How to make a field in Bank account ledger editable?

    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
    Johnson_Patrick 100 on at
    RE: How to make a field in Bank account ledger editable?

    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
    Nitin Verma 21,341 Moderator on at
    RE: How to make a field in Bank account ledger editable?

    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

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans