RC_CASE_REASON(SQL View) |
Index Back |
---|---|
Case ReasonCase Reason code. Used to setup case reason codes. |
SELECT r.SETID , r.REASON_CD , r.DESCR FROM %Table(RB_REASON_CD) r WHERE r.REASON_TYPE = 'CABA' AND r.EFFDT = ( SELECT MAX(e.EFFDT) FROM %Table(RB_REASON_CD) e WHERE r.SETID = e.SETID AND r.REASON_CD = e.REASON_CD AND e.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | REASON_CD | Character(10) | VARCHAR2(10) NOT NULL | Used to store the identification number for the reason code. |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |