SCD_EV_RSNCD_VW(SQL View) |
Index Back |
---|---|
Evaluation reason code viewEvaluation reason code view |
SELECT b.setcntrlvalue , A.SETID , a.reason_type , A.REASON_CD , A.DESCR50 FROM PS_REASON_CD A , PS_SET_CNTRL_GROUP B WHERE A.SETID = B.setid AND a.reason_type IN ('EVCH','EVOM','EVDC','EVWD', 'EVAK','EVRO') AND B.REC_GROUP_ID = 'FS_35' AND A.EFFDT = ( SELECT MAX(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_SUPPLIER_SETID | Character(5) | VARCHAR2(5) NOT NULL | Supplier Set ID |
2 | SCD_REASON_SETID | Character(5) | VARCHAR2(5) NOT NULL | Reason Code Set ID |
3 | REASON_TYPE | Character(4) | VARCHAR2(4) NOT NULL | Reason Type |
4 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Reason Code |
5 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |