Skip to content

KVSKBAWarehouseLib#

Procedures#

TransPostCodeToWhseShipLine(Code[10], Record Warehouse Shipment Line) :#

Summary: Set the Posting Code in a specified Warehouse Shipment Line

procedure TransPostCodeToWhseShipLine(PostingCode: Code[10]; var WarehouseShipmentLine: Record "Warehouse Shipment Line"): 

Parameters:

  • PostingCode: Posting Code to set
  • WarehouseShipmentLine: Target Warehouse Shipment Line

TransferOpenWarehouseShipmentToDispatchOrder(Record Warehouse Shipment Header) :#

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

Events#

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromPurchLine2InvPutAwayLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromPurchLine2InvPutAwayLine', '', false, false)]
local procedure DoSomethingOnAfterFromPurchLine2InvPutAwayLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromSalesLine2InvPutAwayLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromSalesLine2InvPutAwayLine', '', false, false)]
local procedure DoSomethingOnAfterFromSalesLine2InvPutAwayLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromTransLine2InvPutAwayLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromTransLine2InvPutAwayLine', '', false, false)]
local procedure DoSomethingOnAfterFromTransLine2InvPutAwayLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromPurchLine2InvPickLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromPurchLine2InvPickLine', '', false, false)]
local procedure DoSomethingOnAfterFromPurchLine2InvPickLine(PurchaseLine: Record "Purchase Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromSalesLine2InvPickLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromSalesLine2InvPickLine', '', false, false)]
local procedure DoSomethingOnAfterFromSalesLine2InvPickLine(SalesLine: Record "Sales Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnAfterFromTransLine2InvPickLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnAfterFromTransLine2InvPickLine', '', false, false)]
local procedure DoSomethingOnAfterFromTransLine2InvPickLine(TransferLine: Record "Transfer Line"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForPurchOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForPurchOnAfterInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForPurchOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForPurchOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForPurchOnBeforeInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForPurchOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; PurchaseLine: Record "Purchase Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdCompOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForProdCompOnAfterInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForProdCompOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdCompOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForProdCompOnBeforeInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForProdCompOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderCompLoc: Record "Prod. Order Component")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdLineOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForProdLineOnAfterInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForProdLineOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForProdLineOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForProdLineOnBeforeInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForProdLineOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; ProdOrderLine: Record "Prod. Order Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForSalesOnAfterWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForSalesOnAfterWhseRqstLineInsert', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForSalesOnAfterWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForSalesOnBeforeWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForSalesOnBeforeWhseRqstLineInsert', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForSalesOnBeforeWhseRqstLineInsert(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; SalesLine: Record "Sales Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForTransferOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForTransferOnAfterInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForTransferOnAfterInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForTransferOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnCreateWhseRqstLinesForTransferOnBeforeInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForTransferOnBeforeInsertWhseRqstLine(var WarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; WarehouseRequest: Record "Warehouse Request"; TransferLine: Record "Transfer Line")
begin
end;

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

[IntegrationEvent(false, false)]
local procedure OnUpdateWhseRqstLineForProdCompOnBeforeInsertWhseRqstLine(ProdOrderComp: Record "Prod. Order Component"; WhseRqst: Record "Warehouse Request"; var WhseRqstLine: Record "KVSKBAWarehouseRequestLine"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnUpdateWhseRqstLineForProdCompOnBeforeInsertWhseRqstLine', '', false, false)]
local procedure DoSomethingOnUpdateWhseRqstLineForProdCompOnBeforeInsertWhseRqstLine(ProdOrderComp: Record "Prod. Order Component"; WhseRqst: Record "Warehouse Request"; var WhseRqstLine: Record "KVSKBAWarehouseRequestLine")
begin
end;

OnBeforeCheckItemIfInInv(Record Warehouse Journal Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIfInInv(WarehouseJournalLine: Record "Warehouse Journal Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAWarehouseLib", 'OnBeforeCheckItemIfInInv', '', false, false)]
local procedure DoSomethingOnBeforeCheckItemIfInInv(WarehouseJournalLine: Record "Warehouse Journal Line"; var IsHandled: Boolean)
begin
end;