PV_CAT_RQST_V1(SQL View) |
Index Back |
---|---|
Category Codesthis is view used by ITM_CAT_RQST_VW |
SELECT DISTINCT A.SETID , A.CATEGORY_TYPE , A.CATEGORY_CD , A.EFFDT , A.EFF_STATUS , A.CATEGORY_ID , A.DESCR60 , B.TREE_NAME FROM PS_ITM_CAT_TBL A , PSTREENODE B , PS_INSTALLATION_PO C WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ITM_CAT_TBL A1 WHERE A1.SETID = A.SETID AND A1.CATEGORY_TYPE = A.CATEGORY_TYPE AND A1.CATEGORY_ID = A.CATEGORY_ID AND A1.CATEGORY_CD = A.CATEGORY_CD AND A1.EFFDT <= %CurrentDateIn) AND A.SETID = B.SETID AND A.CATEGORY_TYPE = C.CATEGORY_TYPE AND A.CATEGORY_CD = B.TREE_NODE AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CATEGORY_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Category Type
PSF=User Def UNS=UN/SPSC |
3 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
7 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
8 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |