Skip to content

KVSKBADispatchLib#

Procedures#

ExistsDispHandLineForWhseShpt(Record Warehouse Shipment Line) : Boolean#

procedure ExistsDispHandLineForWhseShpt(WarehouseShipmentLine: Record "Warehouse Shipment Line"): Boolean

InsertDispHandLineFromWhseShpt(Record Warehouse Shipment Header, Record Warehouse Shipment Line, Record KVSKBADispatchHandlingHeader, Boolean) : Boolean#

procedure InsertDispHandLineFromWhseShpt(WarehouseShipmentHeader: Record "Warehouse Shipment Header"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; var DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; OnRegisterPick: Boolean): Boolean

CheckWhseShpt(Record Warehouse Shipment Line, Record KVSKBADispatchHandlingHeader) : Boolean#

procedure CheckWhseShpt(WarehouseShipmentLine: Record "Warehouse Shipment Line"; var DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"): Boolean

InsertDispHandLineFromInvtPick(Record Warehouse Activity Line, Record KVSKBADispatchHandlingHeader, Code[10]) :#

Summary: Insert a new Dispach Handling Line from a Invetory Pick.

procedure InsertDispHandLineFromInvtPick(WarehouseActivityLine: Record "Warehouse Activity Line"; var DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; DispatchLocationCode: Code[10]): 

Parameters:

  • WarehouseActivityLine:
  • DispatchHandlingHeader:
  • DispatchLocationCode:

InsertDispHanLineFromSalesShpt(Record Sales Shipment Line, Record Sales Shipment Header, Record KVSKBADispatchHandlingHeader) : Boolean#

Summary: Insert dispatch handling line(s) from sales shipment line

procedure InsertDispHanLineFromSalesShpt(SalesShipmentLine: Record "Sales Shipment Line"; SalesShipmentHeader: Record "Sales Shipment Header"; var DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"): Boolean

Parameters:

  • SalesShipmentLine: The Sales Shipment Line record with the data to be transferred
  • SalesShipmentHeader: The associated Sales Shipment Header record
  • DispatchHandlingHeader: The target DispatchHandlingHeader record

Returns: whether the action was successful

Events#

OnAfterInsertDispHandLineFromWhseShpt(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Warehouse Shipment Header, Record Warehouse Shipment Line, Boolean, Record Tracking Specification) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHandLineFromWhseShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; WarehouseShipmentHeaderPar: Record "Warehouse Shipment Header"; WarehouseShipmentLinePar: Record "Warehouse Shipment Line"; OnRegisterPickPar: Boolean; var TempTrackingSpecificationVar: Record "Tracking Specification"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHandLineFromWhseShpt', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHandLineFromWhseShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; WarehouseShipmentHeaderPar: Record "Warehouse Shipment Header"; WarehouseShipmentLinePar: Record "Warehouse Shipment Line"; OnRegisterPickPar: Boolean; var TempTrackingSpecificationVar: Record "Tracking Specification")
begin
end;

OnAfterInsertDispHandLineFromInvtPick(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Warehouse Activity Line) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHandLineFromInvtPick(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; WarehouseActivityLinePar: Record "Warehouse Activity Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHandLineFromInvtPick', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHandLineFromInvtPick(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; WarehouseActivityLinePar: Record "Warehouse Activity Line")
begin
end;

OnAfterInsertDispHanLineFromSalesShpt(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Sales Shipment Header, Record Sales Shipment Line, Record Item Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHanLineFromSalesShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHanLineFromSalesShpt', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHanLineFromSalesShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; SalesShipmentHeaderPar: Record "Sales Shipment Header"; SalesShipmentLinePar: Record "Sales Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry")
begin
end;

OnAfterInsertDispHanLineFromTransShpt(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Transfer Shipment Header, Record Transfer Shipment Line, Record Item Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHanLineFromTransShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; TransferShipmentHeaderPar: Record "Transfer Shipment Header"; TransferShipmentLinePar: Record "Transfer Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHanLineFromTransShpt', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHanLineFromTransShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; TransferShipmentHeaderPar: Record "Transfer Shipment Header"; TransferShipmentLinePar: Record "Transfer Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry")
begin
end;

OnAfterInsertDispHandLineFromRtrnShpt(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Return Shipment Header, Record Return Shipment Line, Record Item Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHandLineFromRtrnShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; ReturnShipmentHeaderPar: Record "Return Shipment Header"; ReturnShipmentLinePar: Record "Return Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHandLineFromRtrnShpt', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHandLineFromRtrnShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; ReturnShipmentHeaderPar: Record "Return Shipment Header"; ReturnShipmentLinePar: Record "Return Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry")
begin
end;

OnAfterInsertDispHanLineFromServiceShpt(Record KVSKBADispatchHandlingLine, Record KVSKBADispatchHandlingHeader, Record Service Shipment Header, Record Service Shipment Line, Record Item Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnAfterInsertDispHanLineFromServiceShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; ServiceShipmentHeaderPar: Record "Service Shipment Header"; ServiceShipmentLinePar: Record "Service Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnAfterInsertDispHanLineFromServiceShpt', '', false, false)]
local procedure DoSomethingOnAfterInsertDispHanLineFromServiceShpt(var DispatchHandlingLineVar: Record "KVSKBADispatchHandlingLine"; var DispatchHandlingHeaderVar: Record "KVSKBADispatchHandlingHeader"; ServiceShipmentHeaderPar: Record "Service Shipment Header"; ServiceShipmentLinePar: Record "Service Shipment Line"; var TempItemLedgerEntryVar: Record "Item Ledger Entry")
begin
end;

OnBeforeModifyInInsertDispHanLineFromDirectTransLine(Record KVSKBADispatchHandlingLine, Record Direct Trans. Line, Record Direct Trans. Header, Record KVSKBADispatchHandlingHeader) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeModifyInInsertDispHanLineFromDirectTransLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; DirectTransLine: Record "Direct Trans. Line"; DirectTransHeader: Record "Direct Trans. Header"; DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeModifyInInsertDispHanLineFromDirectTransLine', '', false, false)]
local procedure DoSomethingOnBeforeModifyInInsertDispHanLineFromDirectTransLine(var DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; DirectTransLine: Record "Direct Trans. Line"; DirectTransHeader: Record "Direct Trans. Header"; DispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader")
begin
end;

OnElseCreateDispatchLineWithRemainingQuantities(Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnElseCreateDispatchLineWithRemainingQuantities(LocationCode: Code[20]; var ReturnValue: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnElseCreateDispatchLineWithRemainingQuantities', '', false, false)]
local procedure DoSomethingOnElseCreateDispatchLineWithRemainingQuantities(LocationCode: Code[20]; var ReturnValue: Boolean)
begin
end;

OnBeforeExistsDispatchHandlingLinesForDispatchHandlingOrder(Record KVSKBADispatchHandlingHeader, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeExistsDispatchHandlingLinesForDispatchHandlingOrder(var KVSKBADispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; var IsHandled: Boolean; var ReturnValue: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeExistsDispatchHandlingLinesForDispatchHandlingOrder', '', false, false)]
local procedure DoSomethingOnBeforeExistsDispatchHandlingLinesForDispatchHandlingOrder(var KVSKBADispatchHandlingHeader: Record "KVSKBADispatchHandlingHeader"; var IsHandled: Boolean; var ReturnValue: Boolean)
begin
end;

OnBeforeErrorInCheckSourceDocumentPosted(Record KVSKBADispatchHandlingLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeErrorInCheckSourceDocumentPosted(DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandeld: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeErrorInCheckSourceDocumentPosted', '', false, false)]
local procedure DoSomethingOnBeforeErrorInCheckSourceDocumentPosted(DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandeld: Boolean)
begin
end;

OnBeforeCreateAndAssignPackagesForDispatch(Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateAndAssignPackagesForDispatch(DispatchNo: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeCreateAndAssignPackagesForDispatch', '', false, false)]
local procedure DoSomethingOnBeforeCreateAndAssignPackagesForDispatch(DispatchNo: Code[20]; var IsHandled: Boolean)
begin
end;

OnBeforeCreatePackageInDispatchOrder(Record KVSKBADispatchHandlingLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreatePackageInDispatchOrder(DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeCreatePackageInDispatchOrder', '', false, false)]
local procedure DoSomethingOnBeforeCreatePackageInDispatchOrder(DispatchHandlingLine: Record "KVSKBADispatchHandlingLine"; var IsHandled: Boolean)
begin
end;

OnBeforeFieldErrorInInsertDispHandLineFromWhseShpt(Record Item Journal Line, Record Warehouse Shipment Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFieldErrorInInsertDispHandLineFromWhseShpt(var ItemJournalLine: Record "Item Journal Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeFieldErrorInInsertDispHandLineFromWhseShpt', '', false, false)]
local procedure DoSomethingOnBeforeFieldErrorInInsertDispHandLineFromWhseShpt(var ItemJournalLine: Record "Item Journal Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
begin
end;

OnBeforeFieldErrorInCheckWhseShpt(Record Item Journal Line, Record Warehouse Shipment Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFieldErrorInCheckWhseShpt(var ItemJournalLine: Record "Item Journal Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeFieldErrorInCheckWhseShpt', '', false, false)]
local procedure DoSomethingOnBeforeFieldErrorInCheckWhseShpt(var ItemJournalLine: Record "Item Journal Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; var IsHandled: Boolean)
begin
end;

OnBeforeInsertDispHandLineFromInvtPick(Record Item Journal Line, Record Warehouse Activity Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertDispHandLineFromInvtPick(var ItemJournalLine: Record "Item Journal Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADispatchLib", 'OnBeforeInsertDispHandLineFromInvtPick', '', false, false)]
local procedure DoSomethingOnBeforeInsertDispHandLineFromInvtPick(var ItemJournalLine: Record "Item Journal Line"; WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)
begin
end;