Skip to content

KVSKBACreateInvtPutaway#

Procedures#

OnRun#

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

SetWhseActHeader(Record Warehouse Activity Header) :#

Summary: Sets the warehouse activity header for the inventory put-away creation process.

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

Parameters:

  • WarehouseActivityHeader: The warehouse activity header to be used for inventory put-away creation.

Remarks: Validates that the warehouse activity header is of type "Invt. Put-away" 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 put-away lines.

Remarks: Validates that all request lines are from the same source document and creates inventory put-away lines accordingly. Uses the Create Inventory Put-away codeunit to generate the actual warehouse activity lines.