OI_STAT_VW(SQL View) |
Index Back |
---|---|
Statistics CodePrimary record for Statistics Code ChartField |
SELECT ST.SETID , ST.STATISTICS_CODE , ST.EFFDT , ED.INEFFDT , ST.EFF_STATUS , ST.DESCR , ST.DESCRSHORT , ST.UNIT_OF_MEASURE , UTS.DESCR UOM_DESCR , UTS.DESCRSHORT UOM_DESCRSHORT , ST.UPDATE_METHOD FROM PS_STAT_TBL ST INNER JOIN PS_STAT_EDR ED ON ST.SETID = ED.SETID AND ST.STATISTICS_CODE=ED.STATISTICS_CODE AND ST.EFFDT =ED.EFFDT LEFT OUTER JOIN PS_UNITS_TBL UTS ON ST.UNIT_OF_MEASURE = UTS.UNIT_OF_MEASURE UNION SELECT SETID , ' ' , %DateIn('1900-01-01') , %DateIn('9999-12-31') , 'A' , 'Not Available' , '-' , '-' , '-' , 'Not Available' , '-' FROM PS_SETID_TBL UNION SELECT ' ' , ' ' , %DateIn('1900-01-01') , %DateIn('9999-12-31') , 'A' , 'Not Available' , '-' , '-' , '-' , 'Not Available' , '-' FROM PS_INSTALLATION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
3 | EFF_ST_DT | Date(10) | DATE | Effective Start Date |
4 | EFF_END_DT | Date(10) | DATE | Effective End Date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
8 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
9 | UOM_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Unit of measure description |
10 | UOM_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Unit of measure description |
11 | UPDATE_METHOD | Character(1) | VARCHAR2(1) NOT NULL |
Ledger Update Method
A=Add Amounts to Prior Total E=Either Add or Replace Allowed R=Replace Amounts |