Table of Contents

KVSKBAWarehouseLib

Procedures

TransferOpenWarehouseShipmentToDispatchOrder(Record Warehouse Shipment Header) :

Summary: Transfers an open warehouse shipment to a dispatch order.

procedure TransferOpenWarehouseShipmentToDispatchOrder(WarehouseShipmentHeader: Record "Warehouse Shipment Header"): 

Parameters:

  • WarehouseShipmentHeader: The warehouse shipment header to transfer.

Remarks: Checks if a dispatch handling line exists for the shipment. If not, prompts to create a new dispatch order. If existing dispatch lines are found, gives user option to add to existing or create new dispatch order.

Events

OnAfterFromPurchLine2InvPutAwayLine(Record Purchase Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring purchase line fields to inventory put-away line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromPurchLine2InvPutAwayLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • PurchaseLine: The source purchase line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from purchase lines to inventory put-away lines. This event is called by FromPurchaseLineToInventoryPutAwayLine.

OnAfterFromSalesLine2InvPutAwayLine(Record Sales Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring sales line fields to inventory put-away line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromSalesLine2InvPutAwayLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • SalesLine: The source sales line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from sales lines to inventory put-away lines. This event is called by FromSalesLineToInventoryPutAwayLine.

OnAfterFromTransLine2InvPutAwayLine(Record Transfer Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring transfer line fields to inventory put-away line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromTransLine2InvPutAwayLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • TransferLine: The source transfer line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from transfer lines to inventory put-away lines. This event is called by FromTransLineToInventoryPutAwayLine.

OnAfterFromPurchLine2InvPickLine(Record Purchase Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring purchase line fields to inventory pick line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromPurchLine2InvPickLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • PurchaseLine: The source purchase line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from purchase lines to inventory pick lines. This event is called by FromPurchaseLineToInventoryPickLine.

OnAfterFromSalesLine2InvPickLine(Record Sales Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring sales line fields to inventory pick line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromSalesLine2InvPickLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • SalesLine: The source sales line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from sales lines to inventory pick lines. This event is called by FromSalesLineToInventoryPickLine.

OnAfterFromTransLine2InvPickLine(Record Transfer Line, Record Warehouse Activity Line) :

OBSOLETE

This Element will be removed or changed with a future Version of the App.

Summary: Integration event raised after transferring transfer line fields to inventory pick line.

[Obsolete('Event is obsolete, the source procedure is no longer used', '28.0')]
[IntegrationEvent(false, false)]
local procedure OnAfterFromTransLine2InvPickLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 

Parameters:

  • TransferLine: The source transfer line.
  • WarehouseActivityLine: The target warehouse activity line (var).

Remarks: Subscribe to this event to add custom field transfers from transfer lines to inventory pick lines. This event is called by FromTransferLineToInventoryPickLine.

OnCreateWhseRqstLinesForPurchOnAfterInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Purchase Line) :

Summary: Integration event raised after inserting a warehouse request line created from a purchase line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForPurchOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • PurchaseLine: The source purchase line.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from purchase lines. This event is called by CreateWarehouseRequestLineFromPurchaseLine.

OnCreateWhseRqstLinesForPurchOnBeforeInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Purchase Line) :

Summary: Integration event raised before inserting a warehouse request line created from a purchase line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForPurchOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • PurchaseLine: The source purchase line.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestLineFromPurchaseLine.

OnCreateWhseRqstLinesForProdCompOnAfterInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Prod. Order Component) :

Summary: Integration event raised after inserting a warehouse request line created from a production order component.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdCompOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • ProdOrderCompLoc: The source production order component.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from production components. This event is called by CreateWarehouseRequestFromProdOrderComponent.

OnCreateWhseRqstLinesForProdCompOnBeforeInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Prod. Order Component) :

Summary: Integration event raised before inserting a warehouse request line created from a production order component.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdCompOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • ProdOrderCompLoc: The source production order component.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestFromProdOrderComponent.

OnCreateWhseRqstLinesForProdLineOnAfterInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Prod. Order Line) :

Summary: Integration event raised after inserting a warehouse request line created from a production order line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdLineOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • ProdOrderLine: The source production order line.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from production order lines. This event is called by CreateWarehouseRequestLineFromProdOrderLine.

OnCreateWhseRqstLinesForProdLineOnBeforeInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Prod. Order Line) :

Summary: Integration event raised before inserting a warehouse request line created from a production order line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdLineOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • ProdOrderLine: The source production order line.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestLineFromProdOrderLine.

OnCreateWhseRqstLinesForSalesOnAfterWhseRqstLineInsert(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Sales Line) :

Summary: Integration event raised after inserting a warehouse request line created from a sales line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForSalesOnAfterWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • SalesLine: The source sales line.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from sales lines. This event is called by CreateWarehouseRequestLineFromSalesLine.

OnCreateWhseRqstLinesForSalesOnBeforeWhseRqstLineInsert(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Sales Line) :

Summary: Integration event raised before inserting a warehouse request line created from a sales line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForSalesOnBeforeWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • SalesLine: The source sales line.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestLineFromSalesLine.

OnCreateWhseRqstLinesForTransferOnAfterInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Transfer Line) :

Summary: Integration event raised after inserting a warehouse request line created from a transfer line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForTransferOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • TransferLine: The source transfer line.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from transfer lines. This event is called by CreateWarehouseRequestLineFromTransferLine.

OnCreateWhseRqstLinesForTransferOnBeforeInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Transfer Line) :

Summary: Integration event raised before inserting a warehouse request line created from a transfer line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForTransferOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • TransferLine: The source transfer line.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestLineFromTransferLine.

OnUpdateWhseRqstLineForProdCompOnBeforeInsertWhseRqstLine(Record Prod. Order Component, Record Warehouse Request, Record KVSKBAWarehouseRequestLine) :

Summary: Integration event raised before inserting or modifying a warehouse request line during production component update.

[IntegrationEvent(false, false)]
local procedure OnUpdateWhseRqstLineForProdCompOnBeforeInsertWhseRqstLine(ProdOrderComp: Record "Prod. Order Component"; WhseRqst: Record "Warehouse Request"; var WhseRqstLine: Record "KVSKBAWarehouseRequestLine"): 

Parameters:

  • ProdOrderComp: The source production order component.
  • WhseRqst: The parent warehouse request.
  • WhseRqstLine: The warehouse request line to be inserted or modified (var).

Remarks: Subscribe to this event to modify the warehouse request line before insertion/modification or add custom validations. This event is called by UpdateWarehouseRequestLineForProdOrderComponent.

OnBeforeCheckItemIfInInv(Record Warehouse Journal Line, Boolean) :

Summary: Integration event raised before checking if an item is in physical inventory.

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIfInInv(WarehouseJournalLine: Record "Warehouse Journal Line"; var IsHandled: Boolean): 

Parameters:

  • WarehouseJournalLine: The warehouse journal line being validated.
  • IsHandled: Set to true to skip the standard physical inventory check (var).

Remarks: Subscribe to this event to override or extend the physical inventory validation logic. This event is called by CheckIsItemInPhysInvtOrder.

OnCreateWhseRqstLinesForServiceOnBeforeInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Service Line) :

Summary: Integration event raised before inserting a warehouse request line created from a service line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForServiceOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ServiceLine: Record "Service Line"): 

Parameters:

  • WarehouseRequestLine: The warehouse request line to be inserted (var).
  • WarehouseRequest: The parent warehouse request.
  • ServiceLine: The source service line.

Remarks: Subscribe to this event to modify the warehouse request line before insertion or add custom validations. This event is called by CreateWarehouseRequestLineFromServiceLine.

OnCreateWhseRqstLinesForServiceOnAfterInsertWhseRqstLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record Service Line) :

Summary: Integration event raised after inserting a warehouse request line created from a service line.

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForServiceOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ServiceLine: Record "Service Line"): 

Parameters:

  • WarehouseRequestLine: The inserted warehouse request line (var).
  • WarehouseRequest: The parent warehouse request.
  • ServiceLine: The source service line.

Remarks: Subscribe to this event to perform actions or modify data after warehouse request line creation from service lines. This event is called by CreateWarehouseRequestLineFromServiceLine.