AvailabilityExtensionsCurrentAvailability Method |
Loads available quantities of the products.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static IEnumerable<CurrentAvailability> CurrentAvailability(
this IEnumerable<Product> products,
IEnumerable<EnterpriseCompany> enterpriseCompanies = null,
IEnumerable<Store> stores = null,
IEnumerable<StoreBin> storeBins = null,
IEnumerable<Lot> lots = null,
IEnumerable<SerialNumber> serialNumbers = null,
IEnumerable<ProductVariant> productVariants = null
)
<ExtensionAttribute>
Public Shared Function CurrentAvailability (
products As IEnumerable(Of Product),
Optional enterpriseCompanies As IEnumerable(Of EnterpriseCompany) = Nothing,
Optional stores As IEnumerable(Of Store) = Nothing,
Optional storeBins As IEnumerable(Of StoreBin) = Nothing,
Optional lots As IEnumerable(Of Lot) = Nothing,
Optional serialNumbers As IEnumerable(Of SerialNumber) = Nothing,
Optional productVariants As IEnumerable(Of ProductVariant) = Nothing
) As IEnumerable(Of CurrentAvailability)
public:
[ExtensionAttribute]
static IEnumerable<CurrentAvailability^>^ CurrentAvailability(
IEnumerable<Product^>^ products,
IEnumerable<EnterpriseCompany^>^ enterpriseCompanies = nullptr,
IEnumerable<Store^>^ stores = nullptr,
IEnumerable<StoreBin^>^ storeBins = nullptr,
IEnumerable<Lot^>^ lots = nullptr,
IEnumerable<SerialNumber^>^ serialNumbers = nullptr,
IEnumerable<ProductVariant^>^ productVariants = nullptr
)
[<ExtensionAttribute>]
static member CurrentAvailability :
products : IEnumerable<Product> *
?enterpriseCompanies : IEnumerable<EnterpriseCompany> *
?stores : IEnumerable<Store> *
?storeBins : IEnumerable<StoreBin> *
?lots : IEnumerable<Lot> *
?serialNumbers : IEnumerable<SerialNumber> *
?productVariants : IEnumerable<ProductVariant>
(* Defaults:
let _enterpriseCompanies = defaultArg enterpriseCompanies null
let _stores = defaultArg stores null
let _storeBins = defaultArg storeBins null
let _lots = defaultArg lots null
let _serialNumbers = defaultArg serialNumbers null
let _productVariants = defaultArg productVariants null
*)
-> IEnumerable<CurrentAvailability>
Parameters
- products
- Type: System.Collections.GenericIEnumerableProduct
The products. - enterpriseCompanies (Optional)
- Type: System.Collections.GenericIEnumerableEnterpriseCompany
The enterprise companies. - stores (Optional)
- Type: System.Collections.GenericIEnumerableStore
The stores. - storeBins (Optional)
- Type: System.Collections.GenericIEnumerableStoreBin
The store bins. - lots (Optional)
- Type: System.Collections.GenericIEnumerableLot
The lots. - serialNumbers (Optional)
- Type: System.Collections.GenericIEnumerableSerialNumber
The serial numbers. - productVariants (Optional)
- Type: System.Collections.GenericIEnumerableProductVariant
The product variants.
Return Value
Type:
IEnumerableCurrentAvailabilityUsage 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