Table of Contents

KVSTRDReservationSplitMgt

Events

KVSTRDOnBeforeModifyNewSalesLineInCreateNewSalesLine(Record Sales Line, Record Sales Line, Boolean) :

Summary: Event to modify the new sales line before it is modified in the CreateNewSalesLine procedure.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeModifyNewSalesLineInCreateNewSalesLine(var CurrentLine: Record "Sales Line"; var NewSalesLine: Record "Sales Line"; var ReservationNecessary: Boolean): 

Parameters:

  • CurrentLine: The current sales line that is being split.
  • NewSalesLine: The new sales line that is being created.
  • ReservationNecessary: Indicates whether reservation is necessary for the new sales line.

KVSTRDOnAfterModifyNewPurchaseLineInCreateNewPurchaseLine(Record Purchase Line, Record Purchase Line, Decimal, Boolean, Boolean) :

Summary: Event to modify the new purchase line right after it has been modified in the CreateNewPurchaseLine procedure.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterModifyNewPurchaseLineInCreateNewPurchaseLine(var CurrentLine: Record "Purchase Line"; var NewPurchaseLine: Record "Purchase Line"; NewQuantity: Decimal; var ReservationNecessary: Boolean; IsSplittingContainer: Boolean): 

Parameters:

  • CurrentLine: The current purchase line that is being split.
  • NewPurchaseLine: The new purchase line that was created.
  • NewQuantity: The quantity that was set on the new purchase line.
  • ReservationNecessary: Indicates whether reservation is necessary for the new purchase line.
  • IsSplittingContainer: Indicates whether the split is done for a container.