-
Notifications
You must be signed in to change notification settings - Fork 692
Description
Why do you need this change?
We like to add additional information from the TempTransferLine to the Reservation Wksh. Line and in addition change the conditions when to insert the record.
Describe the request
The new publisher should include the Reservation Wksh. Line record and the TempTransferLine record by var and a boolean parameter by var which can used to handle the insertion of the Reservation Wksh. Line record.
Example:
DoInsertReservationWkshLine := (ReservationWkshLine."Remaining Qty. to Reserve" > 0) and (ReservationWkshLine."Available Qty. to Reserve" > 0); OnSyncTransferOrderLinesOnBeforeInsertReservationWkshLine(ReservationWkshLine, TempTransferLine, DoInsertReservationWkshLine); if DoInsertReservationWkshLine then ReservationWkshLine.Insert(true);
local procedure OnSyncTransferOrderLinesOnBeforeInsertReservationWkshLine(var ReservationWkshLine: Record "Reservation Wksh. Line"; var TempTransferLine: Record "Transfer Line" temporary; var DoInsertReservationWkshLine: Boolean) begin end;
A similar publisher can be found in codeunit 99000839 "Sales Get Demand To Reserve" (which I requested some time ago).
Internal work item: AB#625778