SCD_TMP_RSN_VW(SQL View) |
Index Back |
---|---|
Template Reason CodesTemplate Reason Codes View SELECT C.SETCNTRLVALUE , A.REASON_CD , A.DESCR50 , A.EFFDT FROM PS_REASON_CD A , PS_SETID_TBL B , PS_SET_CNTRL_GROUP C WHERE A.REASON_TYPE = 'TMCH' AND B.SETID = C.SETCNTRLVALUE AND C.SETID = A.SETID AND C.REC_GROUP_ID = 'FS_35' AND EFFDT = ( SELECT MAX(EFFDT) FROM PS_REASON_CD D WHERE D.SETID = A.SETID AND D.REASON_CD = A.REASON_CD AND D.REASON_TYPE = A.REASON_TYPE AND D.EFFDT = A.EFFDT AND D.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
SELECT A.SETID , A.REASON_TYPE , A.REASON_CD , A.DESCR50 , A.EFFDT FROM PS_REASON_CD A WHERE A.REASON_TYPE = 'TMCH' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_REASON_CD B WHERE B.SETID = A.SETID AND B.REASON_CD = A.REASON_CD AND B.REASON_TYPE = A.REASON_TYPE AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SCD_SETID | Character(5) | VARCHAR2(5) NOT NULL | Reason Code Set ID |
2 | REASON_TYPE | Character(4) | VARCHAR2(4) NOT NULL | Reason Type |
3 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Reason Code |
4 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |