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

ITEM_UNITS_LIST

 

The item_units_list category holds the descriptions of systems of physical units. The key item in this category is is _item_units_list.code. Units are assigned to data items by references to this key from the item_units category.

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

save_ITEM_UNITS_LIST

    _category.description
;
     Attributes which describe the physical units of measure
     in which data items may be expressed.
;
    _category.id                         item_units_list
    _category.mandatory_code             no
    _category_key.name                 '_item_units_list.code'
     loop_
    _category_group.id                  'ddl_group'
                                        'item_group'
     save_

save__item_units_list.code

    _item_description.description
;
     The code specifying the name of the unit of measure.
;
     loop_
    _item.name
    _item.category_id                                
    _item.mandatory_code              
         '_item_units_list.code'              item_units_list         yes
         '_item_units.code'                   item_units              yes
         '_item_units_conversion.from_code'   item_units_conversion   yes
         '_item_units_conversion.to_code'     item_units_conversion   yes

    _item_type.code                              code
     loop_
    _item_linked.child_name                   
    _item_linked.parent_name                 
          '_item_units.code'                    '_item_units_list.code'
          '_item_units_conversion.from_code'    '_item_units_list.code'
          '_item_units_conversion.to_code'      '_item_units_list.code'

     save_


save__item_units_list.detail

    _item_description.description
;
     A description of the unit of measure.
;
    _item.name                         '_item_units_list.detail'
    _item.category_id                    item_units_list                     
    _item.mandatory_code                 no 
    _item_type.code                      text
     save_



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