Hi All
We use item journals to adjust stock and enter a Reason Code for the adjustment. However, the Reason Code does not get displayed in Item Ledger Entries. Is there a way to see this in item ledger entries or any other way to mark a reason code
Hi All
We use item journals to adjust stock and enter a Reason Code for the adjustment. However, the Reason Code does not get displayed in Item Ledger Entries. Is there a way to see this in item ledger entries or any other way to mark a reason code
I believe the reason code is actually at the value entry level. Would mean coding a lookup to the data to appear in the ILE page. Otherwise that event looks good for what you need
I did find an event for this ..and this might work
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Jnl.-Post Line", 'OnBeforeInsertItemLedgEntry', '', true, true)]
local procedure TransferProdPostGroup(var ItemLedgerEntry: Record "Item Ledger Entry"; ItemJournalLine: Record "Item Journal Line")
I can confirm you need to add it. Did it a while back for a client
Thanks but "Return" reason is different to reason code you specify on item journal. Have you tested with item journal with "Reason Code" and above the field?
Hi,
See below step.
Click gear icon and choose personalize.
Click '+Field' then search field with keyword 'Reason', then drag and drop the field on list page.
I hope this helps you.
S.Kawamura
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... 290,552 Super User 2024 Season 2
Martin Dráb 228,552 Most Valuable Professional
nmaenpaa 101,148