AvailabilityExtensionsCalculateAvailableToPromise Method |
Calculates the available to promise.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static decimal CalculateAvailableToPromise(
this IEnumerable<ProjectedAvailability> projectedAvailability,
IEnumerable<CurrentAvailability> currentAvailability,
DateTime calendarDate,
Product product,
Store store,
Lot lot,
bool anyLot
)
<ExtensionAttribute>
Public Shared Function CalculateAvailableToPromise (
projectedAvailability As IEnumerable(Of ProjectedAvailability),
currentAvailability As IEnumerable(Of CurrentAvailability),
calendarDate As DateTime,
product As Product,
store As Store,
lot As Lot,
anyLot As Boolean
) As Decimal
public:
[ExtensionAttribute]
static Decimal^ CalculateAvailableToPromise(
IEnumerable<ProjectedAvailability^>^ projectedAvailability,
IEnumerable<CurrentAvailability^>^ currentAvailability,
DateTime^ calendarDate,
Product^ product,
Store^ store,
Lot^ lot,
bool anyLot
)
[<ExtensionAttribute>]
static member CalculateAvailableToPromise :
projectedAvailability : IEnumerable<ProjectedAvailability> *
currentAvailability : IEnumerable<CurrentAvailability> *
calendarDate : DateTime *
product : Product *
store : Store *
lot : Lot *
anyLot : bool -> decimal
Parameters
- projectedAvailability
- Type: System.Collections.GenericIEnumerableProjectedAvailability
The projected availability. - currentAvailability
- Type: System.Collections.GenericIEnumerableCurrentAvailability
The current availability. - calendarDate
- Type: SystemDateTime
The calendar date. - product
- Type: Aloe.EnterpriseOne.Model.General.ProductsProduct
The product. - store
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryStore
The store. - lot
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryLot
The lot. - anyLot
- Type: SystemBoolean
if set to true [any lot].
Return Value
Type:
DecimalUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableProjectedAvailability. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also