WM_ITM_CAT_VW(SQL View) |
Index Back |
---|---|
WM Category Code Prompt View |
SELECT A.SETID , A.CATEGORY_TYPE , A.CATEGORY_CD , A.DESCR60 , A.DESCRSHORT , A.PRIMARY_BUYER , A.LEAD_TIME , A.PHYSICAL_NATURE , A.ACCOUNT , A.ALTACCT , A.PROFILE_ID , A.ULTIMATE_USE_CD 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 | 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 Default Value: INSTALLATION_PO.CATEGORY_TYPE |
3 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
4 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
6 | PRIMARY_BUYER | Character(30) | VARCHAR2(30) NOT NULL | Primary Buyer |
7 | LEAD_TIME | Number(3,0) | SMALLINT NOT NULL | Lead Time Days |
8 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
9 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
10 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL | Alternate Account |
11 | PROFILE_ID | Character(10) | VARCHAR2(10) NOT NULL | Asset Profile ID |
12 | ULTIMATE_USE_CD | Character(8) | VARCHAR2(8) NOT NULL |
Ultimate Use Code
Prompt Table: SUT_USE_CD |