[IntegrationEvent(False,False)]
local procedure OnAfterCalcCostInclSetup(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var TotalCapacityPerOperation: Decimal)
[IntegrationEvent(False,False)]
local procedure OnAfterCalculateRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", Direction: Enum "Transfer Direction")
[IntegrationEvent(False,False)]
local procedure OnAfterInitProdOrderCapNeed(ProdOrder: Record "Production Order", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderCapNeed: Record "Prod. Order Capacity Need", var NeedQty: Decimal, TimeType: Enum "Routing Time Type", var ActuallyPostedTime: Decimal, var DistributedCapNeed: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustEndingTime(var IsHandled: Boolean, CalendarEntry: Record "Calendar Entry", var EndingTime: Time)
[IntegrationEvent(False,False)]
local procedure OnBeforeAdjustStartingTime(var IsHandled: Boolean, CalendarEntry: Record "Calendar Entry", var StartingTime: Time)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcCostInclSetup(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var TotalCapacityPerOperation: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcExpectedCost(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var MaxLotSize: Decimal, var TotalQtyPerOperation: Decimal, var ActualOperOutput: Decimal, var ExpectedOperOutput: Decimal, var TotalScrap: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeGetConstrainedSetup(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ConstrainedCapacity: Record "Capacity Constrained Resource", var ResourceIsConstrained: Boolean, var ParentWorkCenter: Record "Capacity Constrained Resource", var ParentIsConstrained: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnAfterCalcRoutingLineBack(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnAfterCalcRoutingLineForward(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderLine: Record "Prod. Order Line")
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcLoadBackAvailQtyBase(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", CurrentTimeFactor: Decimal, CurrentRounding: Decimal, var AvQtyBase: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcLoadForwardAvailQtyBase(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", CurrentTimeFactor: Decimal, CurrentRounding: Decimal, var AvQtyBase: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcRoutingLineBack(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CalculateEndDate: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeLoadCapBack(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", RemainNeedQty: Decimal, var ProdEndingDate: Date, var ProdEndingTime: Time)
[IntegrationEvent(False,False)]
local procedure OnBeforeLoadCapForward(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", CapType: Enum "Capacity Type", CapNo: Code[20], TimeType: Enum "Routing Time Type", var ProdStartingDate: Date, var ProdStartingTime: Time, var IsHandled: Boolean, RemainNeedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeProdOrderCapNeedInsert(var ProdOrderCapNeed: Record "Prod. Order Capacity Need", ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrder: Record "Production Order", var CalendarEntry: Record "Calendar Entry")
[IntegrationEvent(False,False)]
local procedure OnBeforeSetLotSizesToMax(var SendAheadLotSize: Decimal, var TotalLotSize: Decimal, MaxLotSize: Decimal, ProdOrderRoutingLine: Record "Prod. Order Routing Line", var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeScheduleRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CalcStartEndDate: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcMove(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var ProdEndingDate: Date, var ProdEndingTime: Time, var UpdateDates: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcRoutingLineForward(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CalculateStartDate: Boolean, var IsHandled: Boolean, var TempProdOrderRoutingLine: Record "Prod. Order Routing Line" temporary, var SendAheadLotSize: Decimal, MaxLotSize: Decimal, var TotalLotSize: Decimal, var RemainNeedQty: Decimal, var UpdateDates: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcWaitBack(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var ProdEndingDate: Date, var ProdEndingTime: Time, var UpdateDates: Boolean, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnAfterProdOrderLineSetFilters(var ProdOrderLine: Record "Prod. Order Line", ProductionOrder: Record "Production Order", ProdOrderRoutingLine: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnBeforeCalcExpectedOperOutput(var ProdOrderLine: Record "Prod. Order Line", var ExpectedOperOutput: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnBeforeProdOrderCapNeedReset(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderRoutingLine2: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnCreateLoadBackOnAfterCalcRelevantEfficiency(ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", var RelevantEfficiency: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCreateLoadBackOnBeforeEndStopLoop(ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", var StopLoop: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateLoadForwardOnBeforeCalcEndingTime(var EndingTime: Time, CalendarEntry: Record "Calendar Entry", AvQtyBase: Decimal, RelevantEfficiency: Decimal, ConCurrCap: Decimal, var IsHandled: Boolean, ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type")
[IntegrationEvent(False,False)]
local procedure OnCreateLoadForwardOnBeforeEndStopLoop(ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", var StopLoop: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateLoadForwardOnBeforeCheckWrite(ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", var RelevantEfficiency: Decimal, var RemainNeedQtyBase: Decimal, var RemainNeedQty: Decimal, CurrentRounding: Decimal, Write: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateLoadBackOnBeforeCheckWrite(ProdOrderRoutingLine: Record "Prod. Order Routing Line", TimeType: Enum "Routing Time Type", var RelevantEfficiency: Decimal, var RemainNeedQtyBase: Decimal, var RemainNeedQty: Decimal, CurrentRounding: Decimal, Write: Boolean, var StartingTime: Time, AvQtyBase: Decimal, var CalendarEntry: Record "Calendar Entry")
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnAfterCalcCostInclSetup(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var TotalCapacityPerOperation: Decimal, var TotalQtyPerOperation: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnBeforeCalcCostInclSetup(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var TotalCapacityPerOperation: Decimal, var TotalQtyPerOperation: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineBackOnBeforeGetQueueTime(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderRoutingLine2: Record "Prod. Order Routing Line", var ProdOrderRoutingLine3: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineBackOnAfterCalcRemainNeedQtyForLotSize(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var RemainNeedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineBackOnAfterCalcShouldCalcNextOperation(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ShouldCalcNextOperation: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineForwardOnAfterCalcRemainNeedQtyForLotSize(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var RemainNeedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineFixedOnBeforeCalcRoutingLineBack(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CalcEndDate: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineFixedOnBeforeCalcRoutingLineForward(ProdOrderRoutingLine: Record "Prod. Order Routing Line", var CalcStartDate: Boolean)
[IntegrationEvent(False,False)]
local procedure OnFinitelyLoadCapBackOnAfterCalcShouldProcessLastProdOrderCapNeed(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", AvailCap: Decimal, CalendarEntry: Record "Calendar Entry", ProdEndingTime: Time, ProdEndingDate: Date, TimeType: Enum "Routing Time Type", var FirstInBatch: Boolean, var FirstEntry: Boolean, var UpdateDates: Boolean, var RemainNeedQty: Decimal, var ProdOrderCapNeed: Record "Prod. Order Capacity Need", ProdOrder: Record "Production Order", var NextCapNeedLineNo: Integer, Workcenter: Record "Work Center", LotSize: Decimal, var ShouldProcessLastProdOrderCapNeed: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCreateLoadForwardOnAfterScheduleProdOrderRoutingLineManually(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", RoutingTimeType: Enum "Routing Time Type", var RunStartingDateTime: DateTime, var ProdStartingDate: Date, var ProdStartingTime: Time, var RemainNeedQtyBase: Decimal)
[IntegrationEvent(False,False)]
local procedure OnLoadCapForwardOnScheduleManuallyOnBeforeCheckDateTimes(var ProdOrderRoutingLine: Record "Prod. Order Routing Line", CapType: Enum "Capacity Type", CapNo: Code[20], TimeType: Enum "Routing Time Type", var ProdStartingDate: Date, var ProdStartingTime: Time, RemainNeedQty: Decimal, var RunStartingDateTime: DateTime, var RunEndingDateTime: DateTime)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTimesBack(CalendarEntry: Record "Calendar Entry", ProdOrderRoutingLine: Record "Prod. Order Routing Line", var AvailTime: Decimal, var AvailCap: Decimal, var TimetoProgram: Decimal, var StartTime: Time, EndTime: Time, ConCurrCap: Decimal, Workcenter: Record "Work Center", var RemainNeedQty: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTimesForward(CalendarEntry: Record "Calendar Entry", ProdOrderRoutingLine: Record "Prod. Order Routing Line", var AvailTime: Decimal, var AvailCap: Decimal, var TimetoProgram: Decimal, var StartTime: Time, EndTime: Time, ConCurrCap: Decimal, Workcenter: Record "Work Center", var RemainNeedQty: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateRoutingLineOnAfterCalcMaxLotSize(ProdOrderQty: Decimal, var ProdOrderRoutingLine: Record "Prod. Order Routing Line", TotalScrap: Decimal, var MaxLotSize: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeInitProdOrderCapNeed(ProductionOrder: Record "Production Order", var ProdOrderRoutingLine: Record "Prod. Order Routing Line", var ProdOrderCapacityNeed: Record "Prod. Order Capacity Need", RoutingTimeType: Enum "Routing Time Type", NeedDate: Date, StartingTime: Time, EndingTime: Time, var NeedQty: Decimal, LotSize: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineForwardOnBeforeLoadCapForward(ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderRoutingLine3: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineForwardOnBeforeLoadCapForward2(ProdOrderRoutingLine: Record "Prod. Order Routing Line", ProdOrderRoutingLine3: Record "Prod. Order Routing Line")
[IntegrationEvent(False,False)]
local procedure OnGetSendAheadEndingTimeOnAfterCalcTimes(ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var SetupTime: Decimal, var RunTime: Decimal, var WaitTime: Decimal, var MoveTime: Decimal)
[IntegrationEvent(False,False)]
local procedure OnGetSendAheadEndingTimeOnAfterCalcSetupAndRunTime(ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var SetupTime: Decimal, var RunTime: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineBackOnAfterCalcRemainNeedQty(ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var RemainNeedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnFinitelyLoadCapBackOnAfterCalcSetupTime(ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var SetupTime: Decimal)
[IntegrationEvent(False,False)]
local procedure OnCalcRoutingLineForwardOnAfterCalcRemainNeedQty(ProdOrderRoutingLine: Record "Prod. Order Routing Line", WorkCenter: Record "Work Center", var RemainNeedQty: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAvailQtyBase(CalendarEntry: Record "Calendar Entry", RoutingTimeType: Enum "Routing Time Type", var AvQtyBase: Decimal, var IsHandled: Boolean)