Click or drag to resize

ProductGetRatioFromStandardLotToUnit Method

Gets the conversion ratio from the standard lot of the product to the specified unit.

Namespace:  Aloe.EnterpriseOne.Model.General.Products
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public ConversionRatio GetRatioFromStandardLotToUnit(
	MeasurementUnit unit
)

Parameters

unit
Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The unit.

Return Value

Type: ConversionRatio
The conversion ratio or zero conversion ratio when there is no dimensions for the unit
Remarks
The resulting ConversionRatio can be used for conversions of the different properties of the product, which are expressed in standard lots, like StandardPrice, MinimalSalesPrice, etc.
See Also