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
Regarding your second requirement the codeunit you mentioned does not make fields editable rather it updates the values of fields inside AL.
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.'; } } } }
Yes we have those codeunit already in the system, but for Bank and FA you have to defined in your custom way.
Thanks
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.
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156