Skip to content

KVSKBACreateInvtPick#

Procedures#

OnRun#

procedure OnRun(Rec: Record "#437dbf0e84ff417a965ded2bb9650972#Warehouse Activity Header")

SetWhseActHeader(Record Warehouse Activity Header) :#

Summary: Sets the warehouse activity header for the inventory pick creation process.

procedure SetWhseActHeader(WarehouseActivityHeader: Record "Warehouse Activity Header"): 

Parameters:

  • WarehouseActivityHeader: The warehouse activity header to be used for inventory pick creation.

Remarks: Validates that the warehouse activity header is of type "Invt. Pick" before setting it globally.

CreateWhseActLines(Record KVSKBAWarehouseRequestLine) :#

Summary: Creates warehouse activity lines based on the selected warehouse request lines.

procedure CreateWhseActLines(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"): 

Parameters:

  • WarehouseRequestLine: The warehouse request lines to be processed for creating inventory pick lines.

Remarks: Validates that all request lines are from the same source document and creates inventory pick lines accordingly. Uses the Create Inventory Pick/Movement codeunit to generate the actual warehouse activity lines.