PSPGTHRMOD_VW(SQL View) |
Index Back |
---|
SELECT T.PTPG_PGRIDNAME , T.PTPG_VIEWNAME , T.USERID , T.PTPG_DSUNIQUEFLD , T.PTPG_THRESHOLDTYPE , PTPG_THR_DIST_VAL , PTPG_THR_HIGH_VAL , PTPG_THR_LOW_VAL , N.PTPG_THR_NOT_COND , N.PTPG_THR_ALRT_TYPE , R.RECURNAME , S.PTPG_DSNAME , S.PTPG_DSVALUE FROM PSPGRECURDATA R , PSPGTHRNOTDET N , PSPGTHRESHOLD T , PSPGSETTINGS S WHERE T.PTPG_PGRIDNAME = R.PTPG_PGRIDNAME AND N.PTPG_PGRIDNAME = T.PTPG_PGRIDNAME AND N.PTPG_VIEWNAME = T.PTPG_VIEWNAME AND N.PTPG_DSUNIQUEFLD = T.PTPG_DSUNIQUEFLD AND N.USERID = T.USERID AND S.PTPG_PGRIDNAME = R.PTPG_PGRIDNAME AND T.PTPG_THRESHOLDTYPE IN ('1', '2') UNION SELECT T.PTPG_PGRIDNAME , T.PTPG_VIEWNAME , T.USERID , T.PTPG_DSUNIQUEFLD , T.PTPG_THRESHOLDTYPE , T.PTPG_THR_DIST_VAL , T.PTPG_THR_HIGH_VAL , T.PTPG_THR_LOW_VAL , T.PTPG_THR_NOT_COND , T.PTPG_THR_ALRT_TYPE , R.RECURNAME , S.PTPG_DSNAME , S.PTPG_DSVALUE FROM PSPGRECURDATA R , PSPGTHRESHOLDPR T , PSPGSETTINGS S WHERE T.PTPG_PGRIDNAME = R.PTPG_PGRIDNAME AND S.PTPG_PGRIDNAME = R.PTPG_PGRIDNAME AND T.PTPG_THRESHOLDTYPE IN ('1', '2') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PTPG_PGRIDNAME | Character(30) | VARCHAR2(30) NOT NULL | Pivot Grid Name (see PSPGCORE). |
2 | PTPG_VIEWNAME | Character(40) | VARCHAR2(40) NOT NULL | View Name |
3 | USERID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID |
4 | PTPG_DSUNIQUEFLD | Character(254) | VARCHAR2(254) NOT NULL | Unique Heading |
5 | PTPG_THRESHOLDTYPE | Character(1) | VARCHAR2(1) NOT NULL |
Threshold Type
1=Distinct 2=Range |
6 | PTPG_THR_DIST_VAL | Character(100) | VARCHAR2(100) NOT NULL | Threshold Value |
7 | PTPG_THR_HIGH_VAL | Character(100) | VARCHAR2(100) NOT NULL | Higher Limit |
8 | PTPG_THR_LOW_VAL | Character(100) | VARCHAR2(100) NOT NULL | Lower Limit |
9 | PTPG_THR_NOT_COND | Character(2) | VARCHAR2(2) NOT NULL |
Alert Criteria
AR=Above Range BR=Below Range EQ=Equal GT=Greater Than IR=In the Range LT=Less Than NE=Not Equal NR=Not in Range |
10 | PTPG_THR_ALRT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Alert Type
A=Alert B=Both M=Mail N=No Y=Yes |
11 | RECURNAME | Character(30) | VARCHAR2(30) NOT NULL | Recurrence Name |
12 | PTPG_DSNAME | Character(30) | VARCHAR2(30) NOT NULL | Data Source Name |
13 | PTPG_DSVALUE | Character(30) | VARCHAR2(30) NOT NULL | Data Source Value |