KVSMTCWarehouseLib#
Procedures#
RunInventoryOverview(Code[10], Code[20], Code[10], Code[50], Code[50], Code[10], Decimal, Date, Boolean, Boolean) :#
procedure RunInventoryOverview(LocationCodePar: Code[10]; ItemNoPar: Code[20]; VariantCodePar: Code[10]; SerialNoPar: Code[50]; LotNoPar: Code[50]; PostingCodePar: Code[10]; SingleLotQtyBasePar: Decimal; ExpAlowedFromDatePar: Date; OnlyAvailableLinePar: Boolean; UseVariantFilterPar: Boolean):
Events#
OnAfterSalesLine2WhseShipmentLine(Record Sales Line, Record Warehouse Shipment Line) :#
[IntegrationEvent(false, false)]
local procedure OnAfterSalesLine2WhseShipmentLine(salesLinePar: Record "Sales Line"; var whseShipmentLineVar: Record "Warehouse Shipment Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnAfterSalesLine2WhseShipmentLine', '', false, false)]
local procedure DoSomethingOnAfterSalesLine2WhseShipmentLine(salesLinePar: Record "Sales Line"; var whseShipmentLineVar: Record "Warehouse Shipment Line")
begin
end;
OnCreateNewProdPickDocumentOnAfterCreatePickDocLines(Record Production Order, Record Prod. Order Component, Code[20], Code[10]) :#
Summary: This event is fired after the pick document lines for a production order have been created. It allows for additional custom code to be inserted that will run after the creation of the pick document lines.
[IntegrationEvent(false, false)]
local procedure OnCreateNewProdPickDocumentOnAfterCreatePickDocLines(ProductionOrder: Record "Production Order"; var ProdOrderComponent: Record "Prod. Order Component"; PickDocumentNo: Code[20]; PickFromLocationCode: Code[10]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnCreateNewProdPickDocumentOnAfterCreatePickDocLines', '', false, false)]
local procedure DoSomethingOnCreateNewProdPickDocumentOnAfterCreatePickDocLines(ProductionOrder: Record "Production Order"; var ProdOrderComponent: Record "Prod. Order Component"; PickDocumentNo: Code[20]; PickFromLocationCode: Code[10])
begin
end;
Parameters:
ProductionOrder
: The production order for which the pick document lines were created.ProdOrderComponent
: The component of the production order for which the pick document lines were created.PickDocumentNo
: The number of the created pick document.PickFromLocationCode
: The location code from where the pick is happening.
OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(Record Warehouse Activity Line, Record Prod. Order Component) :#
Summary: This event is triggered before the 'Take' action warehouse activity line is inserted during the writing of pick document lines for a production order component.
[IntegrationEvent(false, false)]
local procedure OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(var WarehouseActivityLine: Record "Warehouse Activity Line"; var ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityTake', '', false, false)]
local procedure DoSomethingOnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(var WarehouseActivityLine: Record "Warehouse Activity Line"; var ProdOrderComponent: Record "Prod. Order Component")
begin
end;
Parameters:
WarehouseActivityLine
: The warehouse activity line record that is being manipulated.ProdOrderComponent
: The production order component record that the pick document line is based on.
OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(Record Warehouse Activity Line, Record Prod. Order Component) :#
Summary: This event is triggered before the 'Place' action warehouse activity line is inserted during the writing of pick document lines for a production order component.
[IntegrationEvent(false, false)]
local procedure OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(var WarehouseActivityLine: Record "Warehouse Activity Line"; var ProdOrderComponent: Record "Prod. Order Component"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace', '', false, false)]
local procedure DoSomethingOnWriteProdPickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(var WarehouseActivityLine: Record "Warehouse Activity Line"; var ProdOrderComponent: Record "Prod. Order Component")
begin
end;
Parameters:
WarehouseActivityLine
: The warehouse activity line record that is being manipulated.ProdOrderComponent
: The production order component record that the pick document line is based on.
OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(Record Warehouse Activity Line, Record Warehouse Shipment Line, Record Warehouse Shipment Header) :#
Summary: Raises before inserting a warehouse activity line with 'Take' activity during the writing of a warehouse pick document line. Allows subscribers to run custom logic before the warehouse activity line is inserted.
[IntegrationEvent(false, false)]
local procedure OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(var WarehouseActivityLine: Record "Warehouse Activity Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityTake', '', false, false)]
local procedure DoSomethingOnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityTake(var WarehouseActivityLine: Record "Warehouse Activity Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header")
begin
end;
Parameters:
WarehouseActivityLine
: The warehouse activity line record that is going to be inserted.WarehouseShipmentLine
: The warehouse shipment line related to the activity.WarehouseShipmentHeader
: The warehouse shipment header related to the activity.
OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(Record Warehouse Activity Line, Record Warehouse Shipment Line, Record Warehouse Shipment Header) :#
Summary: Raises before inserting a warehouse activity line with 'Place' activity during the writing of a warehouse pick document line. Allows subscribers to run custom logic before the warehouse activity line is inserted.
[IntegrationEvent(false, false)]
local procedure OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(var WarehouseActivityLine: Record "Warehouse Activity Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMTCWarehouseLib", 'OnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace', '', false, false)]
local procedure DoSomethingOnWriteWhsePickDocLineOnBeforeInsertWhseActivityLineWithActivityPlace(var WarehouseActivityLine: Record "Warehouse Activity Line"; WarehouseShipmentLine: Record "Warehouse Shipment Line"; WarehouseShipmentHeader: Record "Warehouse Shipment Header")
begin
end;
Parameters:
WarehouseActivityLine
: The warehouse activity line record that is going to be inserted.WarehouseShipmentLine
: The warehouse shipment line related to the activity.WarehouseShipmentHeader
: The warehouse shipment header related to the activity.