PV_CAT_RQST_VW

(SQL View)
Index Back

Category Codes

Used as Category prompt table for requisitions when a requestor can only use specific catalogs. Date Initials Reference # Description 01/12/2009 PRAG 1809887003 Category lookup on eprocurement create requisitions - special request page now displays correct entries.

SELECT A.SETID , B.TREE_NAME , A.CATEGORY_TYPE , A.CATEGORY_CD , A.EFFDT , A.EFF_STATUS , A.CATEGORY_ID , A.DESCR60 FROM PS_ITM_CAT_TBL A , PSTREENODE B 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.EFFDT <= %CurrentDateIn) AND A.SETID = B.SETID AND A.CATEGORY_CD = B.TREE_NODE AND A.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PSTREENODE B1 WHERE B1.SETID = B.SETID AND B1.TREE_NAME = B.TREE_NAME AND B1.EFFDT <= %CurrentDateIn)

  • Related Language Record: PV_CAT_RQSTVLN
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    2 CATALOG_ID Character(18) VARCHAR2(18) NOT NULL Catalog ID
    3 CATEGORY_TYPE Character(3) VARCHAR2(3) NOT NULL Category Type
    PSF=User Def
    UNS=UN/SPSC

    Default Value: INSTALLATION_PO.CATEGORY_TYPE

    4 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
    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
    7 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
    8 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description