Skip to main content

Notifications

Announcements

No record found.

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 41 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 41 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,081 Super User 2024 Season 1 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,081 Super User 2024 Season 1 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

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! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,466 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans