Table of Contents

KVSKBAPackingSuggestionMgt

Events

OnBeforeSetPackingSuggestionGroupInDispatchHandlingLine(Record KVSKBADispatchHandlingLine, Boolean) :

Summary: Integration event to handle the case when the SetPackingSuggestionGroupInDispatchHandlingLine procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPackingSuggestionGroupInDispatchHandlingLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandled: Boolean): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • IsHandled: A Boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the SetPackingSuggestionGroupInDispatchHandlingLine procedure is called. This allows for custom handling of the packing suggestion group assignment in dispatch handling lines without modifying the base code.

OnCaseElseSetPackingSuggestionGroupInDispatchHandlingLine(Record KVSKBADispatchHandlingLine) :

Summary: Integration event to handle the case when the SetPackingSuggestionGroupInDispatchHandlingLine procedure is called and no specific handling is provided.

[IntegrationEvent(false, false)]
local procedure OnCaseElseSetPackingSuggestionGroupInDispatchHandlingLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"): 

Parameters:

  • DispatchHandlingLine: System.Object[]

Remarks: This event is raised when the SetPackingSuggestionGroupInDispatchHandlingLine procedure is called and no specific handling is provided. This allows for custom handling of the packing suggestion group assignment in dispatch handling lines without modifying the base code.

OnBeforeSetPackingSuggestionNoInDispatchHandlingLine(Record KVSKBADispatchHandlingLine, Code[20], Code[10], Boolean) :

Summary: Integration event to handle the case when the SetPackingSuggestionNoInDispatchHandlingLine procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPackingSuggestionNoInDispatchHandlingLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; ItemNo: Code[20]; VariantCode: Code[10]; var IsHandled: Boolean): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • ItemNo: The item number being processed.
  • VariantCode: The variant code being processed.
  • IsHandled: A Boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the SetPackingSuggestionNoInDispatchHandlingLine procedure is called. This allows for custom handling of the packing suggestion number assignment in dispatch handling lines without modifying the base code.

OnCaseElseSetPackingSuggestionNoInDispatchHandlingLine(Record KVSKBADispatchHandlingLine, Code[20], Code[10]) :

Summary: Integration event to handle the case when the SetPackingSuggestionNoInDispatchHandlingLine procedure is called and no specific handling is provided.

[IntegrationEvent(false, false)]
local procedure OnCaseElseSetPackingSuggestionNoInDispatchHandlingLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; ItemNo: Code[20]; VariantCode: Code[10]): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • ItemNo: The item number being processed.
  • VariantCode: The variant code being processed.

Remarks: This event is raised when the SetPackingSuggestionNoInDispatchHandlingLine procedure is called and no specific handling is provided. This allows for custom handling of the packing suggestion number assignment in dispatch handling lines without modifying the base code.

OnBeforeProcessItemPackingSuggestions(Record KVSKBADispatchHandlingLine, Boolean) :

Summary: Integration event to handle the case when the ProcessItemPackingSuggestions procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeProcessItemPackingSuggestions(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandled: Boolean): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • IsHandled: A Boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the ProcessItemPackingSuggestions procedure is called. This allows for custom handling of the processing of item packing suggestions without modifying the base code.

OnBeforeProcessCarrierPackingSuggestions(Record KVSKBAPackSugProcessingLine, Code[20], Integer, Integer, Boolean) :

Summary: Integration event to handle the case when the ProcessCarrierPackingSuggestions procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeProcessCarrierPackingSuggestions(var TempSubjectProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; SuggestionOrderNo: Code[20]; var SuggestionLineNo: Integer; var CarrierPackingSuggestionCounter: Integer; var IsHandled: Boolean): 

Parameters:

  • TempSubjectProcessLine: System.Object[]
  • SuggestionOrderNo: The suggestion order number that is being processed.
  • SuggestionLineNo: The suggestion line number that is being processed.
  • CarrierPackingSuggestionCounter: The counter for carrier packing suggestions that is being processed.
  • IsHandled: A boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the ProcessCarrierPackingSuggestions procedure is called. This allows for custom handling of the processing of carrier packing suggestions without modifying the base code.

OnBeforeInsertSuggestionProcessLineFromDispatchHandlingLine(Record KVSKBAPackSugProcessingLine, Record KVSKBADispatchHandlingLine) :

Summary: Integration event raised just before a KVSKBAPackSugProcessingLine record is inserted from a dispatch handling line in the InsertSuggestionProcessLineFromDispatchHandlingLine procedure.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSuggestionProcessLineFromDispatchHandlingLine(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • DispatchHandlingLine: System.Object[]

Remarks: This event allows subscribers to modify the TempSuggestionProcessLine record before it is inserted, without modifying the base code.

OnBeforeInsertSuggestionProcessLineAsFillingPackageLine(Record KVSKBAPackSugProcessingLine, Record KVSKBACarrier) :

Summary: Integration event raised just before a KVSKBAPackSugProcessingLine record is inserted as a filling package line in the InsertSuggestionProcessLineAsFillingPackageLine procedure.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSuggestionProcessLineAsFillingPackageLine(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; Carrier: Record "KVSKBACarrier"): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • Carrier: System.Object[]

Remarks: This event allows subscribers to modify the TempSuggestionProcessLine record before it is inserted as a filling package line, without modifying the base code.

OnBeforeInsertSuggestionProcessLineAsPackageLine(Record KVSKBAPackSugProcessingLine, Record KVSKBACarrier) :

Summary: Integration event raised just before a KVSKBAPackSugProcessingLine record is inserted as a package line in the InsertSuggestionProcessLineAsPackageLine procedure.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSuggestionProcessLineAsPackageLine(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; Carrier: Record "KVSKBACarrier"): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • Carrier: System.Object[]

Remarks: This event allows subscribers to modify the TempSuggestionProcessLine record before it is inserted as a package line, without modifying the base code.

OnBeforeInsertSuggestionProcessLineAsAdditionalPackageLine(Record KVSKBAPackSugProcessingLine, Record KVSKBACarrier) :

Summary: Integration event raised just before a KVSKBAPackSugProcessingLine record is inserted as an additional package line in the InsertSuggestionProcessLineAsAdditionalPackageLine procedure.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSuggestionProcessLineAsAdditionalPackageLine(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; Carrier: Record "KVSKBACarrier"): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • Carrier: System.Object[]

Remarks: This event allows subscribers to modify the TempSuggestionProcessLine record before it is inserted as an additional package line, without modifying the base code.

OnBeforeCalcSuggestionStructureForOrder(Record KVSKBAPackSugProcessingLine, Code[20], Integer, Integer, Integer, Boolean) :

Summary: Integration event to handle the case when the CalcSuggestionStructureForOrder procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSuggestionStructureForOrder(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; SuggestionOrderNo: Code[20]; var SuggestionLineNo: Integer; TopLevelSequenceNo: Integer; var PackageSequenceLineNo: Integer; var IsHandled: Boolean): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • SuggestionOrderNo: The suggestion order number that is being processed.
  • SuggestionLineNo: The suggestion line number that is being processed.
  • TopLevelSequenceNo: The top-level sequence number that is being processed.
  • PackageSequenceLineNo: The package sequence line number that is being processed.
  • IsHandled: A Boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the CalcSuggestionStructureForOrder procedure is called. This allows for custom handling of the calculation of suggestion structure for an order without modifying the base code.

OnBeforeTransferSuggestionLinesToDispatchHdlOrder(Record KVSKBAPackSugProcessingLine, Code[20], Record KVSKBADispatchHandlingLine, Boolean) :

Summary: Integration event to handle the case when the TransferSuggestionLinesToDispatchHdlOrder procedure is called.

[IntegrationEvent(false, false)]
local procedure OnBeforeTransferSuggestionLinesToDispatchHdlOrder(var TempSuggestionProcessLine: Record "KVSKBAPackSugProcessingLine" temporary; DispatchHandlingOrderNo: Code[20]; var TempProcessedDisphdlLine: Record "KVSKBADispatchHandlingLine" temporary; var IsHandled: Boolean): 

Parameters:

  • TempSuggestionProcessLine: System.Object[]
  • DispatchHandlingOrderNo: The dispatch handling order number that is being processed.
  • TempProcessedDisphdlLine: System.Object[]
  • IsHandled: A Boolean variable that indicates whether the event has been handled. If set to true, the base code will not execute.

Remarks: This event is raised when the TransferSuggestionLinesToDispatchHdlOrder procedure is called. This allows for custom handling of the transfer of suggestion lines to dispatch handling orders without modifying the base code.

OnBeforeInsertDispatchHandlingLineFromItemSuggestionProcessLine(Record KVSKBADispatchHandlingLine, Record KVSKBAPackSugProcessingLine) :

Summary: Integration event to handle the case when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value of Item.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertDispatchHandlingLineFromItemSuggestionProcessLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; SuggestionProcessLine: Record "KVSKBAPackSugProcessingLine"): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • SuggestionProcessLine: System.Object[]

Remarks: This event is raised when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value of Item. This allows for custom handling of the insertion of dispatch handling lines for item suggestion process lines without modifying the base code.

OnBeforeInsertDispatchHandlingLineFromCarrierSuggestionProcessLine(Record KVSKBADispatchHandlingLine, Record KVSKBAPackSugProcessingLine) :

Summary: Integration event to handle the case when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value of Carrier.

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertDispatchHandlingLineFromCarrierSuggestionProcessLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; SuggestionProcessLine: Record "KVSKBAPackSugProcessingLine"): 

Parameters:

  • DispatchHandlingLine: System.Object[]
  • SuggestionProcessLine: System.Object[]

Remarks: This event is raised when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value of Carrier. This allows for custom handling of the insertion of dispatch handling lines for carrier suggestion process lines without modifying the base code.

OnCaseElseTransferSuggestionLineToDispHdlOrderLine(Record KVSKBAPackSugProcessingLine, Record KVSKBADispatchHandlingHeader, Record KVSKBADispatchHandlingLine) :

Summary: Integration event to handle the case when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value that is not handled in the case statement.

[IntegrationEvent(false, false)]
local procedure OnCaseElseTransferSuggestionLineToDispHdlOrderLine(SuggestionProcessLine: Record "KVSKBAPackSugProcessingLine"; DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; var TempProcessedDisphdlLine: Record "KVSKBADispatchHandlingLine" temporary): 

Parameters:

  • SuggestionProcessLine: System.Object[]
  • DispatchHandlingHeader: System.Object[]
  • TempProcessedDisphdlLine: System.Object[]

Remarks: This event is raised when the TransferSuggestionLineToDispHdlOrderLine procedure is called with a SuggestionProcessLine record that has a "Subject Type" value that is not handled in the case statement. This allows for custom handling of additional subject types without modifying the base code.