EX_TYPE_CAT_VW(SQL View) |
Index Back |
---|---|
Expense Type with CategoryShow Expense Type with Category |
SELECT A.SETID , A.EXPENSE_TYPE , A.DESCR , CASE WHEN B.EXPENSE_TYPE_CAT IS NULL THEN 'EXUNCAT' ELSE B.EXPENSE_TYPE_CAT END EXPENSE_TYPE_CAT , A.EFFDT , A.EFF_STATUS FROM PS_EX_TYPES_TBL A LEFT JOIN ( SELECT E.SETID , E.EXPENSE_TYPE_CAT , D.EXPENSE_TYPE , E.DESCR FROM PS_EX_TYPE_CAT_DTL D LEFT JOIN PS_EX_TYPE_CAT_TBL E ON D.SETID = E.SETID AND D.EXPENSE_TYPE_CAT = E.EXPENSE_TYPE_CAT AND E.STATUS = 'A') B ON A.SETID = B.SETID AND A.EXPENSE_TYPE = B.EXPENSE_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | EXPENSE_TYPE | Character(7) | VARCHAR2(7) NOT NULL | Expense Type |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | EXPENSE_TYPE_CAT | Character(7) | VARCHAR2(7) NOT NULL | Expense Type Category |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |