ITM_CAT_VNDR_VW

(SQL View)
Index Back

Supplier Catalog Search View


SELECT D.SETID , D.TREE_NAME , A.CATEGORY_ID , A.INV_ITEM_ID , F.UNIT_OF_MEASURE , A.DESCR , B.VENDOR_SETID , B.VENDOR_ID , B.ITM_ID_VNDR , B.VNDR_CATALOG_ID , p.category_type , c.tree_node , i.category_cd FROM PS_MASTER_ITEM_TBL A , PS_ITM_CAT_TBL I , PS_ITM_VENDOR B , PSTREENODE C , PS_PURCH_ITEM_ATTR E , PSTREELEAF D , PS_INSTALLATION_PO P , PS_ITM_VNDR_UOM F WHERE A.SETID = B.SETID AND A.SETID = F.SETID AND B.VENDOR_SETID = F.VENDOR_SETID AND B.VENDOR_ID = F.VENDOR_ID AND F.DFLT_UOM = 'Y' AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.INV_ITEM_ID = F.INV_ITEM_ID AND A.SETID = E.SETID AND A.INV_ITEM_ID = E.INV_ITEM_ID AND E.SUBITEM_ONLY <> 'Y' AND ((%CurrentDateIn >= E.PO_AVAIL_DT) AND (E.PO_UNAVAIL_DT > %CurrentDateIn)) AND B.SETID = C.SETID AND C.SETID = D.SETID AND A.SETID = I.SETID AND P.CATEGORY_TYPE = I.CATEGORY_TYPE AND A.CATEGORY_ID = I.CATEGORY_ID AND D.SETCNTRLVALUE = C.SETCNTRLVALUE AND I.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ITM_CAT_TBL WHERE SETID = I.SETID AND CATEGORY_ID = I.CATEGORY_ID AND EFFDT <= %CurrentDateIn) AND ((D.DYNAMIC_RANGE = 'Y' AND I.CATEGORY_CD = C.TREE_NODE) OR (A.INV_ITEM_ID >= D.RANGE_FROM AND A.INV_ITEM_ID <= D.RANGE_TO)) AND B.ITM_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREENODE WHERE SETID = C.SETID AND EFFDT <= %CurrentDateIn AND TREE_NAME = C.TREE_NAME) AND C.EFFDT = D.EFFDT AND C.TREE_NAME = D.TREE_NAME AND C.TREE_NODE_NUM = D.TREE_NODE_NUM AND A.ITM_STATUS_CURRENT = '1'

# 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

Prompt Table: SP_SETID_NONVW

2 TREE_NAME Character(18) VARCHAR2(18) NOT NULL Tree Name
3 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID

Prompt Table: ITM_CAT_VW

4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: INV_ITEMS

5 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
7 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
8 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
9 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
10 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
11 CATEGORY_TYPE Character(3) VARCHAR2(3) NOT NULL Category Type
PSF=User Def
UNS=UN/SPSC
12 TREE_NODE Character(20) VARCHAR2(20) NOT NULL Node name
13 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code