| VEH_EQUIP_VW(SQL View) | Index Back | 
|---|---|
| Vehicle/Heavy Equipment ViewVEH_EQUIP_VW is a view of COMP_PROP_TBL (Company Property Table) that is used as a prompt table for vehicle/equipment data in the Health and Safety module. The view selects only those records where the property type is 'heavy equipment' or 'vehicle'. | 
| SELECT A.PROPERTY_ID ,A.PROPERTY_CTGY ,A.DESCR ,A.LICENSE_PLATE_ID ,A.VEH_EQUIP_ID FROM PS_COMP_PROP_TBL A Where PROPERTY_CTGY = 'HE' OR PROPERTY_CTGY = 'VE' | 
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description | 
|---|---|---|---|---|
| 1 | Character(10) | VARCHAR2(10) NOT NULL | Property Code Prompt Table: COMP_PROP_TBL | |
| 2 | PROPERTY_CTGY | Character(2) | VARCHAR2(2) NOT NULL | Property Type CO=Computer Equipment HE=Heavy Equipment HW=Hardware NC=Not Classified OF=Office Equipment SW=Software VE=Vehicle | 
| 3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description | 
| 4 | LICENSE_PLATE_ID | Character(7) | VARCHAR2(7) NOT NULL | License Plate | 
| 5 | VEH_EQUIP_ID | Character(17) | VARCHAR2(17) NOT NULL | Equipment ID |