LotsManagementGetLotsAvailability Method |
Loads the available lots in order of their issue. The order is determined in the product definition.
See
LotsIssue.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory.DemandManagement
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static IEnumerable<(Lot Lot, Store Store, Quantity CurrentAvailabilityBase, Quantity ATPBase)> GetLotsAvailability(
this Product product,
DateTime date,
EnterpriseCompany enterpriseCompany,
Store store = null
)
<ExtensionAttribute>
Public Shared Function GetLotsAvailability (
product As Product,
date As DateTime,
enterpriseCompany As EnterpriseCompany,
Optional store As Store = Nothing
) As IEnumerable(Of (Lot As Lot, Store As Store, CurrentAvailabilityBase As Quantity, ATPBase As Quantity))
public:
[ExtensionAttribute]
static IEnumerable<ValueTuple<Lot^, Store^, Quantity^, Quantity^>^>^ GetLotsAvailability(
Product^ product,
DateTime^ date,
EnterpriseCompany^ enterpriseCompany,
Store^ store = nullptr
)
[<ExtensionAttribute>]
static member GetLotsAvailability :
product : Product *
date : DateTime *
enterpriseCompany : EnterpriseCompany *
?store : Store
(* Defaults:
let _store = defaultArg store null
*)
-> IEnumerable<ValueTuple<Lot, Store, Quantity, Quantity>>
Parameters
- product
- Type: Aloe.EnterpriseOne.Model.General.ProductsProduct
The product. - date
- Type: SystemDateTime
The date. - enterpriseCompany
- Type: Aloe.EnterpriseOne.Model.GeneralEnterpriseCompany
The enterprise company. - store (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryStore
The store.
Return Value
Type:
IEnumerableValueTupleLot,
Store,
Quantity,
QuantityUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Product. 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