[IntegrationEvent(True,False)]
local procedure OnAfterCalculateAvailability(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item)
[IntegrationEvent(False,False)]
local procedure OnAfterQtyAvailableToPromise(var Item: Record Item, ScheduledReceipt: Decimal, GrossRequirement: Decimal, var AvailableToPromise: Decimal)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAvailableInventory(var Item: Record Item, var AvailableInventory: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcGrossRequirement(var Item: Record Item, var GrossRequirement: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcScheduledReceipt(var Item: Record Item, var ScheduledReceipt: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcReservedRequirement(var Item: Record Item, var ReservedRequirement: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcReservedReceipt(var Item: Record Item, var ReservedReceipt: Decimal, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSalesOrderAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, ChangedSalesLine: Record "Sales Line", CurrentOrderPromisingLine: Record "Order Promising Line", ReqShipDate: Date, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcQtyAvailableToPromise(var Item: Record Item, var AvailabilityDate: Date, var GrossRequirement: Decimal, var ScheduledReceipt: Decimal, PeriodType: Enum "Analysis Period Type", LookaheadDateFormula: DateFormula, var AvailableToPromise: Decimal, var IsHandled: Boolean)
This element will become obsolete from version 25.0. Moved to codeunit JobPlanningAvailabilityMgt
[Obsolete(Moved to codeunit JobPlanningAvailabilityMgt,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePurchOrderAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnCalculateAvailabilityAfterClearAvailabilityAtDate(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var ReqShipDate: Date)
[IntegrationEvent(False,False)]
local procedure OnCalcEarliestAvailabilityDateOnBeforeFilterDate(var Item: Record Item, NeededQty: Decimal, StartDate: Date, var AvailableQty: Decimal, PeriodType: Enum "Analysis Period Type", LookaheadDateFormula: DateFormula, var AvailabilityAtDate: Record "Availability at Date", var AvailableDate: Date, var IsHandled: Boolean, ExcludeOnDate: Date)
[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAllItemFields(var Item: Record Item, var AllFieldCalculated: Boolean, var PrevItemNo: Code[20], var PrevItemFilters: Text, var IsHandled: Boolean)
This element will become obsolete from version 25.0. Moved to codeunit ProdOrderAvailabilityMgt
[Obsolete(Moved to codeunit ProdOrderAvailabilityMgt,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSchedRcptAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePurchReqRcptAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTransOrderRcptAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
This element will become obsolete from version 25.0. Moved to codeunit ProdOrderAvailabilityMgt
[Obsolete(Moved to codeunit ProdOrderAvailabilityMgt,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSchedNeedAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdatePlanningIssuesAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
This element will become obsolete from version 25.0. Moved to codeunit ServAvailabilityMgt
[Obsolete(Moved to codeunit ServAvailabilityMgt,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateServOrderAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
This element will become obsolete from version 25.0. Moved to codeunit JobPlanningAvailabilityMgt
[Obsolete(Moved to codeunit JobPlanningAvailabilityMgt,25.0)]
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateJobOrderAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTransOrderShptAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAsmOrderAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean)
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAsmCompAvail(var AvailabilityAtDate: Record "Availability at Date", var Item: Record Item, var IsHandled: Boolean, var ChangedAssemblyLine: Record "Assembly Line")
[IntegrationEvent(True,False)]
local procedure OnCalcEarliestAvailabilityDateOnAfterUpdateScheduledReceipt(var TempAvailabilityAtDate: Record "Availability at Date" temporary)
[IntegrationEvent(True,False)]
local procedure OnUpdateAvailabilityOnBeforeInsertModify(var AvailabilityAtDate: Record "Availability at Date", Date: Date, var ScheduledReceipt: Decimal, var GrossRequirement: Decimal)
[IntegrationEvent(True,False)]
local procedure OnCalculateAvailabilityByPeriodOnBeforeDeleteAvailabilityAtDate(var AvailabilityInPeriod: Record "Availability at Date", AvailabilityAtDate: Record "Availability at Date")
[IntegrationEvent(True,False)]
local procedure OnCalcEarliestAvailabilityDateOnBeforeNextTempAvailabilityAtDate(var AvailabilityAtDate: Record "Availability at Date")
[IntegrationEvent(True,False)]
local procedure OnCalcEarliestAvailabilityDateOnAfterCalculateAvailableQty(var AvailableQty: Decimal, var Item: Record Item, ScheduledReceipt: Decimal, GrossRequirement: Decimal)