Hi experts ,
I need to move field issue type(option)field in this i need to added 3 more option member(a,b.c) and then need to flow from Item Reclass journal to Item ledger entry .I tried to
1. issue type(option)field in this i need to added 3 more option member(a,b.c)
2.flow from item Reclass journal to Item ledger Entry on post action or event subscriber but not know exact Event .
not Getting how can anyone help me on this.
Thanks in Advance
which standard field? Is it Enum field and extensible?
Thank you For Quick Responce sir, I will try above code
Before that i need to add four option members in standard field which option filed can we add option members in standard filed
I hope you have added the field in Item Journal Line table and Item Reclass. Journal page.
Posting happens in the codeunit Item Jnl.-Post Line" so use the below event
OnBeforeInsertItemLedgEntry
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Jnl.-Post Line", 'OnBeforeInsertItemLedgEntry', '', false, false)]
local procedure OnBeforeInsertItemLedgEntry(var ItemLedgerEntry: Record "Item Ledger Entry"; ItemJournalLine: Record "Item Journal Line"; TransferItem: Boolean; OldItemLedgEntry: Record "Item Ledger Entry"; ItemJournalLineOrigin: Record "Item Journal Line");
begin
ItemLedgerEntry.SelectOption := ItemJournalLine.SelectOption;
end;
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,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156