Skip to content

KVSKBAProductionLib#

Procedures#

OnValidateProdOrderLineItemNo(Record Prod. Order Line, Record Prod. Order Line, Record Item) :#

procedure OnValidateProdOrderLineItemNo(var ProdOrderLine: Record "Prod. Order Line"; xProdOrderLine: Record "Prod. Order Line"; Item: Record "Item"): 

OnValidateProdOrderCompItemNo(Record Prod. Order Component, Record Prod. Order Component, Record Item) :#

procedure OnValidateProdOrderCompItemNo(var ProdOrderComponent: Record "Prod. Order Component"; xProdOrderComponent: Record "Prod. Order Component"; Item: Record "Item"): 

CalculateStatusSignalsComplete(Record Production Order) :#

procedure CalculateStatusSignalsComplete(var ProductionOrder: Record "Production Order"): 

CalculateStatusSignals(Record Production Order, Boolean) :#

procedure CalculateStatusSignals(var ProductionOrder: Record "Production Order"; ShowError: Boolean): 

Events#

OnAfterCalculateStatusCapacity(Enum Production Order Status, Code[20], Integer, Option, Decimal, Option, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalculateStatusCapacity(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnAfterCalculateStatusCapacity', '', false, false)]
local procedure DoSomethingOnAfterCalculateStatusCapacity(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal)
begin
end;

OnAfterCalculateStatusMaterial(Enum Production Order Status, Code[20], Integer, Option, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalculateStatusMaterial(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalMaterialConsum: Option; var MaterialConsumInPercent: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnAfterCalculateStatusMaterial', '', false, false)]
local procedure DoSomethingOnAfterCalculateStatusMaterial(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalMaterialConsum: Option; var MaterialConsumInPercent: Decimal)
begin
end;

OnAfterCalculateStatusExternalOrders(Code[20], Integer, Option, Decimal, Option, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnAfterCalculateStatusExternalOrders(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalExternalOrders: Option; var ExternalOrdersInPercent: Decimal; var SignalExternalReply: Option; var ExternalReplyInPercentr: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnAfterCalculateStatusExternalOrders', '', false, false)]
local procedure DoSomethingOnAfterCalculateStatusExternalOrders(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalExternalOrders: Option; var ExternalOrdersInPercent: Decimal; var SignalExternalReply: Option; var ExternalReplyInPercentr: Decimal)
begin
end;

OnBeforeCalculateStatusCapacity(Enum Production Order Status, Code[20], Integer, Option, Decimal, Option, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalculateStatusCapacity(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCalculateStatusCapacity', '', false, false)]
local procedure DoSomethingOnBeforeCalculateStatusCapacity(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal; var IsHandled: Boolean)
begin
end;

OnBeforeCalculateStatusMaterial(Enum Production Order Status, Code[20], Integer, Option, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalculateStatusMaterial(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalMaterialConsum: Option; var MaterialConsumInPercent: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCalculateStatusMaterial', '', false, false)]
local procedure DoSomethingOnBeforeCalculateStatusMaterial(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalMaterialConsum: Option; var MaterialConsumInPercent: Decimal; var IsHandled: Boolean)
begin
end;

OnBeforeCalculateStatusExternalOrders(Code[20], Integer, Option, Decimal, Option, Decimal, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalculateStatusExternalOrders(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalExternalOrders: Option; var ExternalOrdersInPercent: Decimal; var SignalExternalReply: Option; var ExternalReplyInPercentr: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCalculateStatusExternalOrders', '', false, false)]
local procedure DoSomethingOnBeforeCalculateStatusExternalOrders(ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; var SignalExternalOrders: Option; var ExternalOrdersInPercent: Decimal; var SignalExternalReply: Option; var ExternalReplyInPercentr: Decimal; var IsHandled: Boolean)
begin
end;

OnBeforeCheckItemIsBlockedOnBeforeInsertProdOrderComponent(Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIsBlockedOnBeforeInsertProdOrderComponent(var Rec: Record "Prod. Order Component"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCheckItemIsBlockedOnBeforeInsertProdOrderComponent', '', false, false)]
local procedure DoSomethingOnBeforeCheckItemIsBlockedOnBeforeInsertProdOrderComponent(var Rec: Record "Prod. Order Component"; var Handled: Boolean)
begin
end;

OnBeforeCheckItemIsBlockedOnValidateItemNoProdOrderComponent(Record Prod. Order Component, Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIsBlockedOnValidateItemNoProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCheckItemIsBlockedOnValidateItemNoProdOrderComponent', '', false, false)]
local procedure DoSomethingOnBeforeCheckItemIsBlockedOnValidateItemNoProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckItemIsBlockedOnValidateQuantityProdOrderComponent(Record Prod. Order Component, Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIsBlockedOnValidateQuantityProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCheckItemIsBlockedOnValidateQuantityProdOrderComponent', '', false, false)]
local procedure DoSomethingOnBeforeCheckItemIsBlockedOnValidateQuantityProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckItemIsBlockedOnValidateQuantityperProdOrderComponent(Record Prod. Order Component, Record Prod. Order Component, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckItemIsBlockedOnValidateQuantityperProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnBeforeCheckItemIsBlockedOnValidateQuantityperProdOrderComponent', '', false, false)]
local procedure DoSomethingOnBeforeCheckItemIsBlockedOnValidateQuantityperProdOrderComponent(var Rec: Record "Prod. Order Component"; var xRec: Record "Prod. Order Component"; var IsHandled: Boolean)
begin
end;

OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeMachineCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record Prod. Order Routing Line, Decimal, Decimal) :#

Obsolete

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

[IntegrationEvent(false, false)]
[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeMachineCenter" instead', '24.3')]
local procedure OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeMachineCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal)
begin
end;

OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeWorkCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record Prod. Order Routing Line, Decimal, Decimal) :#

Obsolete

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

[IntegrationEvent(false, false)]
[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeWorkCenter" instead', '24.3')]
local procedure OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeWorkCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeInsertTempProdOrdRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeMachineCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record Prod. Order Routing Line, Decimal, Decimal) :#

Obsolete

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

[IntegrationEvent(false, false)]
[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnIfTypeMachineCenter" instead', '24.3')]
local procedure OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeMachineCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeWorkCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record Prod. Order Routing Line, Decimal, Decimal) :#

Obsolete

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

[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnBeforeModifyCalcProdOrderRoutingLineOnIfTypeWorkCenter" instead', '24.3')]
[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeWorkCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; var CalculatedLaborQty: Decimal; var CalculatedOutputQty: Decimal)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnCapacityEntry(Record Prod. Order Routing Line, Record Capacity Ledger Entry, Decimal, Decimal) :#

Obsolete

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

[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnCapacityEntry" instead', '24.3')]
[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnCapacityEntry(var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var ConsumedLaborQty: Decimal; var PostedOutputQty: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnCapacityEntry', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyTempProdOrdRoutingLineOnCapacityEntry(var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; CapacityLedgerEntry: Record "Capacity Ledger Entry"; var ConsumedLaborQty: Decimal; var PostedOutputQty: Decimal)
begin
end;

OnCalculateStatusCapacityOnAfterSetReferenceParameters(Record Prod. Order Routing Line, Decimal, Decimal, Decimal, Decimal, Option, Decimal, Option, Decimal) :#

Obsolete

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

[Obsolete('This event is obsolete, use "OnCalculateStatusCapacityOnAfterSetSignalLabour" instead', '24.3')]
[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnAfterSetReferenceParameters(var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; CaculatedLaborQty: Decimal; ConsumedLaborQty: Decimal; CalculatedOutputQty: Decimal; PostedOutputQty: Decimal; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnAfterSetReferenceParameters', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnAfterSetReferenceParameters(var TempProdOrdRoutingLine: Record "Prod. Order Routing Line" temporary; CaculatedLaborQty: Decimal; ConsumedLaborQty: Decimal; CalculatedOutputQty: Decimal; PostedOutputQty: Decimal; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyCalcProdOrderRoutingLineOnIfTypeWorkCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record KVSKBACalcProdOrderRoutingLine) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeModifyCalcProdOrderRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyCalcProdOrderRoutingLineOnIfTypeWorkCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyCalcProdOrderRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary)
begin
end;

OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeWorkCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record KVSKBACalcProdOrderRoutingLine) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeWorkCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeWorkCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record KVSKBACalcProdOrderRoutingLine) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnIfTypeMachineCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary)
begin
end;

OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(Enum Production Order Status, Code[20], Integer, Record Prod. Order Routing Line, Record KVSKBACalcProdOrderRoutingLine) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeMachineCenter', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeInsertTempCalcProdOrderRoutingLineOnIfTypeMachineCenter(ProdOrderStatus: Enum "Production Order Status"; ProdOrderNo: Code[20]; ProdOrderLineNo: Integer; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary)
begin
end;

OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnCapacityEntry(Record KVSKBACalcProdOrderRoutingLine, Record Capacity Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnCapacityEntry(var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary; CapacityLedgerEntry: Record "Capacity Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnCapacityEntry', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnBeforeModifyTempCalcProdOrderRoutingLineOnCapacityEntry(var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary; CapacityLedgerEntry: Record "Capacity Ledger Entry")
begin
end;

OnCalculateStatusCapacityOnAfterSetSignalLabour(Record KVSKBACalcProdOrderRoutingLine, Decimal, Decimal, Decimal, Decimal, Option, Decimal, Option, Decimal) :#

[IntegrationEvent(false, false)]
local procedure OnCalculateStatusCapacityOnAfterSetSignalLabour(var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary; CalculatedLaborQty: Decimal; ConsumedLaborQty: Decimal; CalculatedOutputQty: Decimal; PostedOutputQty: Decimal; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAProductionLib", 'OnCalculateStatusCapacityOnAfterSetSignalLabour', '', false, false)]
local procedure DoSomethingOnCalculateStatusCapacityOnAfterSetSignalLabour(var TempCalcProdOrderRoutingLine: Record "KVSKBACalcProdOrderRoutingLine" temporary; CalculatedLaborQty: Decimal; ConsumedLaborQty: Decimal; CalculatedOutputQty: Decimal; PostedOutputQty: Decimal; var SignalLaborConsum: Option; var LaborConsumInPercent: Decimal; var SignalLaborOutput: Option; var LaborOutputInPercent: Decimal)
begin
end;