ZuloOne
English
Sign in
Menu

UnitOfMeasure

Updated

A unit of measure is a named quantity inside one class, with a ratio to the base unit of that class. A box has no ratio here. Its size depends on the item.

Kind Dictionary
Module Common
Menu Common → Dictionaries → Units of measure

Fields#

Field Caption Points at
ID ID number sequence
Name Name string
Code Code string
DecimalPlaces Decimal places (quantity precision) integer
UnitClass Unit class UnitClass
RatioToBase Ratio to base unit decimal

Name is required. Code is optional, 16 characters. UnitClass is the UnitClass. RatioToBase is how many base units of the class one of this unit contains. Gram is 1, kilogram is 1000, tonne is 1000000. Empty or 0 means this unit does not convert by class. Box and Pallet are stored that way.

DecimalPlaces empty uses the global constant QuantityScale, whose value is 3.

Who references this#

Document lines point here through field Unit.

Registers#

This dictionary writes no register.

Used by#

Where next#

Was this page helpful?