codeunit 50122 EventHandler { [EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Jnl.-Post Line", OnAfterInitItemLedgEntry, '', false, false)] local procedure OnAfterInitItemLedgEntry(var NewItemLedgEntry: Record "Item Ledger Entry"; var ItemJournalLine: Record "Item Journal Line"; var ItemLedgEntryNo: Integer); begin NewItemLedgEntry."ZY Test" := ItemJournalLine."ZY Test"; end; } tableextension 50122 ItemJournalLineExt extends "Item Journal Line" { fields { field(50000; "ZY Test"; Text[100]) { Caption = 'ZY Test'; DataClassification = CustomerContent; } } } pageextension 50122 ItemJournalExt extends "Item Journal" { layout { addafter(Description) { field("ZY Test"; Rec."ZY Test") { ApplicationArea = All; } } } } tableextension 50113 ItemLedgerEntryExt extends "Item Ledger Entry" { fields { field(50000; "ZY Test"; Text[100]) { Caption = 'ZY Test'; DataClassification = CustomerContent; } } } pageextension 50113 ItemLedgerEntriesExt extends "Item Ledger Entries" { layout { addafter("Document No.") { field("ZY Test"; Rec."ZY Test") { ApplicationArea = All; } } } }
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 3,401
Sumit Singh 2,692
YUN ZHU 1,935 Super User 2025 Season 2