Click or drag to resize

PurchaseProductPriceGetPurchasePrice Method

Calculates a price in the specified currency from the price in the Purchase product price. The Price from the definition of the Purcha product price is divided by the value of PriceQuantity, which is converted to the required measurement unit. Then the calculated Price is converted to the required currency.

Namespace:  Aloe.EnterpriseOne.Model.Logistics.Procurement
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public Amount GetPurchasePrice(
	MeasurementUnit destinationMeasurementUnit,
	CurrencyDirectory currencyDirectory,
	Currency destinationCurrency
)

Parameters

destinationMeasurementUnit
Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The measurement unit that the price is necessary for.
currencyDirectory
Type: Aloe.EnterpriseOne.Model.GeneralCurrencyDirectory
The currency directory.
destinationCurrency
Type: Aloe.EnterpriseOne.Model.GeneralCurrency
The currency in which the price should be converted.

Return Value

Type: Amount
Calculated price for the specified measurement unit in the specified currency.
See Also