WV_HST_CAT_VW

(SQL View)
Index Back

Item Category Prompt View

Added for CN#WV802-2.0

SELECT DISTINCT A.REPORT_ENTITY ,A.PRCR_YEAR ,A.PRCR_PERIOD ,A.VENDOR_ID ,A.VENDOR_SETID ,A.CATEGORY_ID ,C.CATEGORY_CD FROM PS_PRCR_ITEM_HST A , PS_ITM_CAT_TBL C WHERE C.SETID = A.ITM_SETID AND C.CATEGORY_ID = A.CATEGORY_ID AND C.EFFDT <= %CurrentDateIn AND C.EFF_STATUS = 'A' AND A.NUM_OF_RECEIPTS > 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REPORT_ENTITY Character(5) VARCHAR2(5) NOT NULL Reporting Entity ID
2 PRCR_YEAR Number(4,0) SMALLINT NOT NULL Procurement Year
3 PRCR_PERIOD Number(3,0) SMALLINT NOT NULL Procurement Period
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
5 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
6 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
7 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code