web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Flow custom field from warehouse entry to reservation entry

(5) ShareShare
ReportReport
Posted on by 121
Hello, Guys 
 
 
I have posted one entry from warehouse item journal to warehouse entry and flow the manufacturing date field. now when i calculate warehouse adjustment from item journal i am not getting manufacturing date in item tracking lines of item journal. 
 
My method :
 
I suppose i can find event subscriber in report 7315 "Calculate Whse. Adjustment". I need to flow during this calculation one custom field "Manufacturing Date" from warehouse entry to reservation entry.
 
Which event i can use to flow this field from warehouse entry to reservation entry ?
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,605 Super User 2025 Season 2 on at
     
    I'm not sure, but you can use event “OnAfterInsertReservEntry” in codeunit “Whse.-Activity-Register”.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Andrés Arias Profile Picture
    4,192 Super User 2025 Season 2 on at
    Hello,

    You could try subscribing to the OnBeforeInsertReservationEntryFromWhseEntry event of the report.

    I hope it can give you some better idea.

    I hope I can help.
     
    Regards,
     
    Andres
  • Gerardo Rentería García Profile Picture
    25,396 Most Valuable Professional on at

    Hi, good day
    I hope this can help you, and give you some hints.

    Business Central - Add Custom Fields to Item Tracking Lines and flow the values to Item Ledger Entries | LinkedIn

    Best Regards
    Gerardo

  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    8,764 on at

    Hi

    You're correct that Report 7315 “Calculate Whse. Adjustment” is responsible for generating Item Journal Lines from Warehouse Entries, and it's the right place to intercept the logic for flowing custom fields like Manufacturing Date.

    To transfer your custom field from Warehouse Entry to Reservation Entry, you should subscribe to the following integration event:

    al
    [IntegrationEvent(false, false)]
    local procedure OnAfterUpdateWarehouseEntryQtyByReservationEntryBuffer(
        var WarehouseEntry: Record "Warehouse Entry";
        var TempReservationEntryBuffer: Record "Reservation Entry" temporary)
     

    This event is triggered after the system updates the reservation buffer based on the warehouse entry. It gives you access to both records, allowing you to copy your custom field (Manufacturing Date) from WarehouseEntry to TempReservationEntryBuffer.

    Suggested Subscriber Example:

    al
    [EventSubscriber(ObjectType::Report, Report::"Calculate Whse. Adjustment", 'OnAfterUpdateWarehouseEntryQtyByReservationEntryBuffer', '', false, false)]
    local procedure CopyManufacturingDateToReservationEntry(
        var WarehouseEntry: Record "Warehouse Entry";
        var TempReservationEntryBuffer: Record "Reservation Entry")
    begin
        TempReservationEntryBuffer."Your Manufacturing Date Field" := WarehouseEntry."Your Manufacturing Date Field";
    end;
     

    Additional Considerations:

    • Ensure your custom field exists in both tables and is included in the reservation entry logic downstream.
    • If you need to persist the value beyond the buffer, consider subscribing to OnBeforeCreateReservationEntry or OnCreateReservationEntryOnBeforeCreateReservEntryCreateEntry to finalize the transfer.


    Reference:

    Report 7315 – Event List and Parameters
    GitHub ALAppExtensions – Event Requests for Report 7315

    If you find this helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans