AvailabilityExtensionsProjectedAvailability Method |
Loads projected available quantities of the products in the specified stores or in all stores.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static IEnumerable<ProjectedAvailability> ProjectedAvailability(
this IEnumerable<Product> products,
out IEnumerable<CurrentAvailability> currentAvailability,
IEnumerable<EnterpriseCompany> enterpriseCompanies = null,
IEnumerable<Store> stores = null,
bool loadByLot = false,
IEnumerable<Lot> lots = null
)
<ExtensionAttribute>
Public Shared Function ProjectedAvailability (
products As IEnumerable(Of Product),
<OutAttribute> ByRef currentAvailability As IEnumerable(Of CurrentAvailability),
Optional enterpriseCompanies As IEnumerable(Of EnterpriseCompany) = Nothing,
Optional stores As IEnumerable(Of Store) = Nothing,
Optional loadByLot As Boolean = false,
Optional lots As IEnumerable(Of Lot) = Nothing
) As IEnumerable(Of ProjectedAvailability)
public:
[ExtensionAttribute]
static IEnumerable<ProjectedAvailability^>^ ProjectedAvailability(
IEnumerable<Product^>^ products,
[OutAttribute] IEnumerable<CurrentAvailability^>^% currentAvailability,
IEnumerable<EnterpriseCompany^>^ enterpriseCompanies = nullptr,
IEnumerable<Store^>^ stores = nullptr,
bool loadByLot = false,
IEnumerable<Lot^>^ lots = nullptr
)
[<ExtensionAttribute>]
static member ProjectedAvailability :
products : IEnumerable<Product> *
currentAvailability : IEnumerable<CurrentAvailability> byref *
?enterpriseCompanies : IEnumerable<EnterpriseCompany> *
?stores : IEnumerable<Store> *
?loadByLot : bool *
?lots : IEnumerable<Lot>
(* Defaults:
let _enterpriseCompanies = defaultArg enterpriseCompanies null
let _stores = defaultArg stores null
let _loadByLot = defaultArg loadByLot false
let _lots = defaultArg lots null
*)
-> IEnumerable<ProjectedAvailability>
Parameters
- products
- Type: System.Collections.GenericIEnumerableProduct
The products. - currentAvailability
- Type: System.Collections.GenericIEnumerableCurrentAvailability
The current availability output. - enterpriseCompanies (Optional)
- Type: System.Collections.GenericIEnumerableEnterpriseCompany
The enterprise companies. - stores (Optional)
- Type: System.Collections.GenericIEnumerableStore
The stores. - loadByLot (Optional)
- Type: SystemBoolean
if set to true [load by lot]. - lots (Optional)
- Type: System.Collections.GenericIEnumerableLot
The lots.
Return Value
Type:
IEnumerableProjectedAvailabilityUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableProduct. 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).
See Also