ITM_CAT_VPR_VW(SQL View) |
Index Back |
---|---|
Item Catalog Supplier Wrkng Sc |
SELECT A.SETID , A.INV_ITEM_ID , A.VENDOR_SETID , A.VENDOR_ID , D.NAME1 , A.ITM_STATUS , A.ITM_VNDR_PRIORITY , B.PRICE_VNDR , B.CURRENCY_CD , B.QTY_MIN , B.UNIT_OF_MEASURE FROM PS_ITM_VENDOR A , PS_ITM_VNDR_UOM_PR B , PS_MASTER_ITEM_TBL C , PS_VENDOR D WHERE A.SETID = B.SETID AND A.SETID = C.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.INV_ITEM_ID = C.INV_ITEM_ID AND A.VENDOR_SETID = B.VENDOR_SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.VENDOR_ID = D.VENDOR_ID AND A.VENDOR_SETID = D.SETID AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ITM_VNDR_UOM_PR WHERE SETID = B.SETID AND INV_ITEM_ID = B.INV_ITEM_ID AND VENDOR_SETID = B.VENDOR_SETID AND VENDOR_ID = B.VENDOR_ID AND UNIT_OF_MEASURE = B.UNIT_OF_MEASURE AND QTY_MIN = B.QTY_MIN AND EFFDT <= %CurrentDateIn AND EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | ITM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status
A=Active D=Discntued H=Hold I=Inactive X=To be Del |
7 | ITM_VNDR_PRIORITY | Number(3,0) | SMALLINT NOT NULL | Item Vendor Priority |
8 | PRICE_VNDR | Number(16,5) | DECIMAL(15,5) NOT NULL | Vendor Price |
9 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
10 | QTY_MIN | Number(16,4) | DECIMAL(15,4) NOT NULL | Minimum Quantity |
11 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |