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
Syntaxpublic ConversionRatio GetRatioFromStandardLotToUnit(
MeasurementUnit unit
)
Public Function GetRatioFromStandardLotToUnit (
unit As MeasurementUnit
) As ConversionRatio
public:
ConversionRatio^ GetRatioFromStandardLotToUnit(
MeasurementUnit^ unit
)
member GetRatioFromStandardLotToUnit :
unit : MeasurementUnit -> ConversionRatio
Parameters
- unit
- Type: Aloe.EnterpriseOne.Model.GeneralMeasurementUnit
The unit.
Return Value
Type:
ConversionRatioThe 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