CurrentBalanceExtensionsGetCurrentQuantityBase Method |
Gets the stored quantity of the product.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Inventory
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static Quantity GetCurrentQuantityBase(
this Product product,
EnterpriseCompany enterpriseCompany = null,
Store store = null,
StoreBin storeBin = null,
Lot lot = null,
SerialNumber serialNumber = null,
ProductVariant productVariant = null
)
<ExtensionAttribute>
Public Shared Function GetCurrentQuantityBase (
product As Product,
Optional enterpriseCompany As EnterpriseCompany = Nothing,
Optional store As Store = Nothing,
Optional storeBin As StoreBin = Nothing,
Optional lot As Lot = Nothing,
Optional serialNumber As SerialNumber = Nothing,
Optional productVariant As ProductVariant = Nothing
) As Quantity
public:
[ExtensionAttribute]
static Quantity^ GetCurrentQuantityBase(
Product^ product,
EnterpriseCompany^ enterpriseCompany = nullptr,
Store^ store = nullptr,
StoreBin^ storeBin = nullptr,
Lot^ lot = nullptr,
SerialNumber^ serialNumber = nullptr,
ProductVariant^ productVariant = nullptr
)
[<ExtensionAttribute>]
static member GetCurrentQuantityBase :
product : Product *
?enterpriseCompany : EnterpriseCompany *
?store : Store *
?storeBin : StoreBin *
?lot : Lot *
?serialNumber : SerialNumber *
?productVariant : ProductVariant
(* Defaults:
let _enterpriseCompany = defaultArg enterpriseCompany null
let _store = defaultArg store null
let _storeBin = defaultArg storeBin null
let _lot = defaultArg lot null
let _serialNumber = defaultArg serialNumber null
let _productVariant = defaultArg productVariant null
*)
-> Quantity
Parameters
- product
- Type: Aloe.EnterpriseOne.Model.General.ProductsProduct
The product. - enterpriseCompany (Optional)
- Type: Aloe.EnterpriseOne.Model.GeneralEnterpriseCompany
The enterprise company. - store (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryStore
The store. - storeBin (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryStoreBin
The store bin. - lot (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.InventoryLot
The lot. - serialNumber (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.InventorySerialNumber
The serial number. - productVariant (Optional)
- Type: Aloe.EnterpriseOne.Model.GeneralProductVariant
The product variant.
Return Value
Type:
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