Skip to content

W1 codeunit 99000846 "Trans. Get Demand To Reserve" OnSyncTransferOrderLinesOnBeforeInsertReservationWkshLine #29825

@RobertatK3

Description

@RobertatK3

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions