Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions