next up previous contents
Next: ITEM_UNITS_CONVERSION Up: DDL Definitions Describing Previous: An Example of

ITEM_UNITS

 

The item_units category holds a code which identifies the system of units in which a data item is expressed. The data item _item_units.code is a child of the item, _item_units_list.code. Unit definitions are actually made in the item_units_list parent category. The item, _item_units.code, provides an indirect reference into the list of data type definitions in category item_units_list. This indirect reference is provided as a convenience to avoid the redeclaration of the full data type specification for each data item. The key item for this category is _item_units.name which is defined in the parent category, item. Only one type of units may be specified for a data item.

The DDL for the item_units category is given in the following section.

save_ITEM_UNITS

    _category.description
;
     Specifies the physical units in which data items are expressed.
;
    _category.id                         item_units
    _category.mandatory_code             no
    _category_key.name                 '_item_units.name'
     loop_
    _category_group.id
                                       'ddl_group'
                                       'item_group'
     save_



John Westbrook
Thu Apr 11 06:25:55 EDT 1996