Table of Contents

KVSMTCMOPGetSourceOoutputDoc

Procedures

SetHideDialog(Boolean) :

Summary: Sets whether to hide or show dialogs during processing.

procedure SetHideDialog(NewHideDialog: Boolean): 

Parameters:

  • NewHideDialog: If true, hides dialogs; if false, shows dialogs.

NotCancelled() : Boolean

Summary: Checks if the operation has not been cancelled by the user.

procedure NotCancelled(): Boolean

Returns: Returns true if the operation is not cancelled, false if cancelled.

SetPickWkshName(Code[10], Code[10], Code[10]) :

Summary: Sets the pick worksheet template, name and location code.

procedure SetPickWkshName(PickWkshTemplate2: Code[10]; PickWkshName2: Code[10]; LocationCode2: Code[10]): 

Parameters:

  • PickWkshTemplate2: The template code for the pick worksheet.
  • PickWkshName2: The name code for the pick worksheet.
  • LocationCode2: The location code for the pick worksheet.

SetMultiPickFilter(Integer, Integer, Integer) :

Summary: Sets filters for multi-picking operations on different line types.

procedure SetMultiPickFilter(WhseLineFilterPar: Integer; ProdCompLineFilterPar: Integer; AssemblyLineFilterPar: Integer): 

Parameters:

  • WhseLineFilterPar: Filter value for warehouse lines. If 0, sets to maximum value (99999999).
  • ProdCompLineFilterPar: Filter value for production component lines. If 0, sets to maximum value (99999999).
  • AssemblyLineFilterPar: Filter value for assembly lines. If 0, sets to maximum value (99999999).

Events

OnAfterWarehouseShipmentLineOnPreDataItem(Record Warehouse Shipment Line) :

[IntegrationEvent(false, false)]
local procedure OnAfterWarehouseShipmentLineOnPreDataItem(var WhseShipmentLine: Record "Warehouse Shipment Line"): 

OnWhseShipHeaderOnPreDataItem(Record Warehouse Shipment Header) :

[IntegrationEvent(false, false)]
local procedure OnWhseShipHeaderOnPreDataItem(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"): 

OnAfterPostReport() :

[IntegrationEvent(false, false)]
local procedure OnAfterPostReport(): 

OnBeforePreReport() :

[IntegrationEvent(false, false)]
local procedure OnBeforePreReport(): 

OnBeforePreDataItemWhsePickRequest(Record Whse. Pick Request) :

[IntegrationEvent(false, false)]
local procedure OnBeforePreDataItemWhsePickRequest(var WhsePickRequest: Record "Whse. Pick Request"): 

OnBeforeWhseShipmentLineOnAfterGetRecord(Record Warehouse Shipment Line, Record Whse. Pick Request, Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeWhseShipmentLineOnAfterGetRecord(var WhseShipmentLine: Record "Warehouse Shipment Line"; var WhsePickRequest: Record "Whse. Pick Request"; var IsHandled: Boolean):