AUC_ITM_CAT_VW(SQL View) |
Index Back |
---|---|
Category CodesCategory View for Sourcing |
SELECT A.SETID , A.CATEGORY_TYPE , A.CATEGORY_CD , A.EFFDT , A.CATEGORY_ID , A.EFF_STATUS , A.DESCR60 , A.DESCRSHORT , A.MARKETCODE FROM PS_ITM_CAT_TBL A 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_CD = A.CATEGORY_CD AND A1.CATEGORY_ID = A.CATEGORY_ID AND A1.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
2 | CATEGORY_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Category Type
PSF=User Def UNS=UN/SPSC Default Value: INSTALLATION_PO.CATEGORY_TYPE |
3 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
6 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
7 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
8 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
9 | MARKETCODE | Character(2) | VARCHAR2(2) NOT NULL |
This field is added to help the following data entry programs to determine how to handle different coding schemes for CATEGORY_CD:
- Item Categories (Component)
- PV_CP_LOAD (App. Engine)
- IN_ITMLOAD (App. Engine)
Since release 8, CATEGORY_TYPE was added to allow multiple coding schemes for CATEGORY_CD. The limitation imposed upon by how it was implemented is that although multiple coding schemes can be maintained separately but only one coding schemes can be used based on INSTALLATION_PO.CATEGORY_TYPE.
01=User Defined 02=UN/SPSC |