PurchaseProductPriceDeterminePurchaseProductPrice Method |
Determines the purchase product price.
Namespace:
Aloe.EnterpriseOne.Model.Logistics.Procurement
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static PurchaseProductPrice DeterminePurchaseProductPrice(
Nullable<DateTime> calendarDate,
Supplier supplier,
Product product,
Quantity quantity,
EnterpriseCompany enterpriseCompany = null,
PurchasePriceList priceList = null,
PurchaseProductPrice currentPrice = null
)
Public Shared Function DeterminePurchaseProductPrice (
calendarDate As Nullable(Of DateTime),
supplier As Supplier,
product As Product,
quantity As Quantity,
Optional enterpriseCompany As EnterpriseCompany = Nothing,
Optional priceList As PurchasePriceList = Nothing,
Optional currentPrice As PurchaseProductPrice = Nothing
) As PurchaseProductPrice
public:
static PurchaseProductPrice^ DeterminePurchaseProductPrice(
Nullable<DateTime^>^ calendarDate,
Supplier^ supplier,
Product^ product,
Quantity^ quantity,
EnterpriseCompany^ enterpriseCompany = nullptr,
PurchasePriceList^ priceList = nullptr,
PurchaseProductPrice^ currentPrice = nullptr
)
static member DeterminePurchaseProductPrice :
calendarDate : Nullable<DateTime> *
supplier : Supplier *
product : Product *
quantity : Quantity *
?enterpriseCompany : EnterpriseCompany *
?priceList : PurchasePriceList *
?currentPrice : PurchaseProductPrice
(* Defaults:
let _enterpriseCompany = defaultArg enterpriseCompany null
let _priceList = defaultArg priceList null
let _currentPrice = defaultArg currentPrice null
*)
-> PurchaseProductPrice
Parameters
- calendarDate
- Type: SystemNullableDateTime
The calendar date. - supplier
- Type: Aloe.EnterpriseOne.Model.Logistics.ProcurementSupplier
The supplier. - product
- Type: Aloe.EnterpriseOne.Model.General.ProductsProduct
The product. - quantity
- Type: Aloe.EnterpriseOne.ModelQuantity
The quantity. - enterpriseCompany (Optional)
- Type: Aloe.EnterpriseOne.Model.GeneralEnterpriseCompany
The enterprise company. - priceList (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.ProcurementPurchasePriceList
The price list. - currentPrice (Optional)
- Type: Aloe.EnterpriseOne.Model.Logistics.ProcurementPurchaseProductPrice
The current price.
Return Value
Type:
PurchaseProductPrice
See Also