ITM_CAT_MFG_VW(SQL View) |
Index Back |
---|---|
Item Catalog Search View |
SELECT A.SETID ,A.CATEGORY_ID ,A.INV_ITEM_ID ,D.MFG_ID ,D.MFG_ITM_ID ,F.DESCR60 ,A.UNIT_MEASURE_STD ,A.DESCR ,B.TREE_NAME FROM PS_MASTER_ITEM_TBL A , PS_ITM_CAT_TBL I , PSTREENODE B , PSTREELEAF C , PS_PURCH_ITEM_ATTR E , PS_ITEM_MFG D , PS_MANUFACTURER F , PS_INSTALLATION_PO P WHERE A.SETID = B.SETID AND A.SETID = E.SETID AND A.SETID = D.SETID AND A.INV_ITEM_ID = E.INV_ITEM_ID AND A.INV_ITEM_ID = D.INV_ITEM_ID AND E.SUBITEM_ONLY <> 'Y' AND A.SETID = F.SETID AND ((%CurrentDateIn >= E.PO_AVAIL_DT) AND (E.PO_UNAVAIL_DT > %CurrentDateIn)) AND A.SETID = I.SETID AND P.CATEGORY_TYPE = I.CATEGORY_TYPE AND A.CATEGORY_ID = I.CATEGORY_ID 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 ((C.DYNAMIC_RANGE = 'Y' AND I.CATEGORY_CD = B.TREE_NODE ) OR (A.INV_ITEM_ID >= C.RANGE_FROM AND A.INV_ITEM_ID <= C.RANGE_TO)) AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PSTREENODE WHERE SETID = B.SETID AND EFFDT <= %CurrentDateIn AND TREE_NAME = B.TREE_NAME) AND A.SETID = C.SETID AND B.EFFDT = C.EFFDT AND B.TREE_NAME = C.TREE_NAME AND B.TREE_NODE_NUM = C.TREE_NODE_NUM AND A.ITM_STATUS_CURRENT = '1' AND F.MFG_ID = D.MFG_ID |
# | 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 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL |
Category ID
Prompt Table: ITM_CAT_VW |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: INV_ITEMS |
4 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
5 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
6 | MFG_NAME | Character(60) | VARCHAR2(60) NOT NULL | Manufacturer Name |
7 | UNIT_MEASURE_STD | Character(3) | VARCHAR2(3) NOT NULL | Standard Unit of Measure |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL | Tree Name |