QTYCONVERT

Each row of this table represents a rule. It can be used to convert a quantity amount from one QuantityUnit (unit of measurement) to another QuantityUnit.

Column Descriptions:

NameTypeDescription
QTYUNIT_ID_TOCHAR (16) NOT NULLThe QuantityUnit converted to.
QTYCONVERT_IDINTEGER NOT NULLGenerated unique key.
QTYUNIT_ID_FROMCHAR (16) NOT NULLThe QuantityUnit converted from.
FACTORDECIMAL (31,20) NOT NULLThe conversion factor. Implicit conversion rules are derived from explicit rules by combining conversion factors.
MULTIPLYORDIVIDECHAR (1) NOT NULLIndicates how to convert from QTYUNIT_ID_FROM to QTYUNIT_ID_TO. Valid values are as follows: M = multiply by FACTOR D = divide by FACTOR Conversion from QTYUNIT_ID_TO to QTYUNIT_ID_FROM using the inverse operation is implicitly defined.
UPDATABLECHAR (1) NOT NULLA flag intended to be used by a user interface that manages QuantityUnit conversion rules: N = the conversion factor is irrevocable. It should never be changed. Y = the conversion factor can be changed.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>QTYCONVERT_IDPrimary Key
I0000198QTYUNIT_ID_TO+QTYUNIT_ID_FROMUnique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_640QTYUNIT_ID_FROMQTYUNITQTYUNIT_IDCascade
F_641QTYUNIT_ID_TOQTYUNITQTYUNIT_IDCascade