Click or drag to resize

ProductGetRatioToBaseOrDefault Method

Gets the conversion ratio from the specified unit to the base unit for this provider. Returns Zero if the ratio is not available.

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

Parameters

unit
Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The unit for which to provide the conversion ratio to the base unit.

Return Value

Type: ConversionRatio
The ConversionRatio from the specified unit to the base unit.

Implements

IConversionRatioToBaseProviderTUnitGetRatioToBaseOrDefault(TUnit)
See Also