Click or drag to resize

ProductGetUnitPrice Method

Gets the unit price of the product in the specified measurement unit and currency.

Namespace:  Aloe.EnterpriseOne.Model.General.Products
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public Amount GetUnitPrice(
	Amount price,
	Quantity priceQuantity,
	MeasurementUnit unit,
	Currency currency,
	IConversionRatioProvider<Currency> ratioProvider
)

Parameters

price
Type: Aloe.EnterpriseOne.ModelAmount
The price from the price list.
priceQuantity
Type: Aloe.EnterpriseOne.ModelQuantity
The quantity for which the price is specified in the price list.
unit
Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The desired unit for which to return the unit price.
currency
Type: Aloe.EnterpriseOne.Model.GeneralCurrency
The desired currency for which to return the unit price.
ratioProvider
Type: Aloe.EnterpriseOne.Model.Core.MetricsIConversionRatioProviderCurrency
The currency ratio provider to use for currency conversions. Usually it's a currency directory.

Return Value

Type: Amount
The unit price of the product, for the specified unit and currency.
See Also