Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Answered

Item Journal Reason Code to Show in Item Ledger Entries

Posted on by 2,258

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

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,155 on at
    RE: Item Journal Reason Code to Show in Item Ledger Entries

    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

  • Samantha73 Profile Picture
    Samantha73 2,258 on at
    RE: Item Journal Reason Code to Show in Item Ledger Entries

    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")

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,155 on at
    RE: Item Journal Reason Code to Show in Item Ledger Entries

    I can confirm you need to add it. Did it a while back for a client

  • Samantha73 Profile Picture
    Samantha73 2,258 on at
    RE: Item Journal Reason Code to Show in Item Ledger Entries

    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?

  • Suggested answer
    S.Kawamura Profile Picture
    S.Kawamura 1,520 on at
    RE: Item Journal Reason Code to Show in Item Ledger Entries

    Hi,

    See below step.

    Click gear icon and choose personalize.
    pastedimage1642128278663v1.png

    Click '+Field' then search field with keyword 'Reason', then drag and drop the field on list page.
    pastedimage1642128332145v2.png

    I hope this helps you.

    S.Kawamura

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans