Codeunit 5790 Available to Promise

Base Application, Microsoft.Inventory.Availability

12 obsolete

Procedures 5

QtyAvailabletoPromise(var Item: Record Item; var GrossRequirement: Decimal; var ScheduledReceipt: Decimal; AvailabilityDate: Date; PeriodType: Option Day,Week,Month,Quarter,Year; LookaheadDateFormula: DateFormula): Decimalgone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CalcQtyAvailableToPromise()
EarliestAvailabilityDate(var Item: Record Item; NeededQty: Decimal; StartDate: Date; ExcludeQty: Decimal; ExcludeOnDate: Date; var AvailableQty: Decimal; PeriodType: Option Day,Week,Month,Quarter,Year; LookaheadDateFormula: DateFormula): Dategone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CalcEarliestAvailabilityDate()
CalculateLookahead(var Item: Record Item; PeriodType: Option Day,Week,Month,Quarter,Year; StartDate: Date; EndDate: Date): Decimalgone after 22
Pending, tag 20.0, obsolete since 20: Replaced by CalculateForward
GetLookAheadPeriodEndDate(LookaheadDateFormula: DateFormula; PeriodType: Option; StartDate: Date): Dategone after 22
Pending, tag 20.0, obsolete since 20: Replaced by GetForwardPeriodEndDate()
AdjustedEndingDate(PeriodEnd: Date; PeriodType: Option Day,Week,Month,Quarter,Year): Dategone after 22
Pending, tag 20.0, obsolete since 20: Replaced by GetPeriodEndingDate()

Events 7

[IntegrationEvent] OnEarliestAvailabilityDateOnBeforeFilterDate(var Item: Record Item; NeededQty: Decimal; StartDate: Date; var AvailableQty: Decimal; PeriodType: Option; LookaheadDateFormula: DateFormula; var AvailabilityAtDate: Record "Availability at Date"; var AvailableDate: Date; var IsHandled: Boolean)18 to 22
Pending, tag 20.0, obsolete since 20: Replaced by OnCalcEarliestAvailabilityDateOnBeforeFilterDate event
[IntegrationEvent] OnBeforeQtyAvailableToPromise(var Item: Record Item; var AvailabilityDate: Date; var GrossRequirement: Decimal; var ScheduledReceipt: Decimal; PeriodType: Option Day,Week,Month,Quarter,Year; LookaheadDateFormula: DateFormula; var AvailableToPromise: Decimal; var IsHandled: Boolean)19 to 22
Pending, tag 20.0, obsolete since 20: Replaced by OnBeforeCalcQtyAvailableToPromise event
[IntegrationEvent] OnBeforeUpdatePurchOrderAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)20 to 27
Pending, tag 25.0, obsolete since 25: Moved to codeunit JobPlanningAvailabilityMgt
[IntegrationEvent] OnBeforeUpdateSchedRcptAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)21 to 27
Pending, tag 25.0, obsolete since 25: Moved to codeunit ProdOrderAvailabilityMgt
[IntegrationEvent] OnBeforeUpdateSchedNeedAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)21 to 27
Pending, tag 25.0, obsolete since 25: Moved to codeunit ProdOrderAvailabilityMgt
[IntegrationEvent] OnBeforeUpdateServOrderAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)21 to 27
Pending, tag 25.0, obsolete since 25: Moved to codeunit ServAvailabilityMgt
[IntegrationEvent] OnBeforeUpdateJobOrderAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)21 to 27
Pending, tag 25.0, obsolete since 25: Moved to codeunit JobPlanningAvailabilityMgt