PL_PURCH_VW(SQL View) |
Index Back |
---|---|
Unit Transfer Attrib. by Item04/22/99 RAG CN#PL800-31.0 Planning Inquiries 12/13/01 EGS (CN#PL900-1): Can be deleted. |
SELECT PIA1.BUSINESS_UNIT , PIA1.INV_ITEM_ID , PIA.SETID , IV.VENDOR_SETID , IV.VENDOR_ID , VL.VNDR_LOC , VND.VENDOR_NAME_SHORT , IV.ITM_VNDR_PRIORITY , VL.LEAD_TIME , PIA.PRICE_LIST , PIA1.PUR_MIN_ORDER , PIA1.PUR_MAX_ORDER , PIA1.PUR_ORDER_MULTIPLE , PIA1.PURCHASE_YIELD , PIA.STD_LEAD , PIA1.USE_SHIPTO_LOC , VND.DEFAULT_LOC , PIA.CURRENCY_CD FROM PS_ITM_VENDOR IV ,PS_ITM_VENDOR_LOC VL ,PS_VENDOR VND , PS_PURCH_ITEM_ATTR PIA ,PS_PL_ITEM_ATTRIB PIA1 ,PS_SET_CNTRL_REC PIA2 WHERE IV.SETID = VL.SETID AND IV.VENDOR_SETID = VL.VENDOR_SETID AND IV.INV_ITEM_ID = VL.INV_ITEM_ID AND IV.VENDOR_ID = VL.VENDOR_ID AND VND.SETID = IV.VENDOR_SETID AND VND.VENDOR_ID = IV.VENDOR_ID AND IV.INV_ITEM_ID = PIA.INV_ITEM_ID AND IV.ITM_STATUS = 'A' AND IV.SETID = PIA.SETID AND IV.VENDOR_ID > ' ' AND PIA.INV_ITEM_ID = PIA1.INV_ITEM_ID AND PIA2.RECNAME = 'PURCH_ITEM_ATTR' AND PIA2.SETID = PIA.SETID AND PIA2.SETCNTRLVALUE = PIA1.BUSINESS_UNIT AND (PIA1.PLANNED_BY = '2' OR PIA1.PLANNED_BY = '3') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUIN_NONVW |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
4 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
5 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
6 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
7 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
8 | ITM_VNDR_PRIORITY | Number(3,0) | SMALLINT NOT NULL | Item Vendor Priority |
9 | LEAD_TIME | Number(3,0) | SMALLINT NOT NULL | Lead Time Days |
10 | PRICE_LIST | Number(16,5) | DECIMAL(15,5) NOT NULL | Standard Price |
11 | PUR_MIN_ORDER | Number(16,4) | DECIMAL(15,4) NOT NULL | CN#PL800-18.0 MACN 11/02/99 - Changed short description from Minimum Ord Qty to Min Order Qty. jnw 01/20/00 di-jwillia2-2 - expanded field format from 7.0 to 7.4 KPN 08/23/02: Added label PUR_MIN_ORDER2 |
12 | PUR_MAX_ORDER | Number(16,4) | DECIMAL(15,4) NOT NULL | jnw 01/20/00 di-jwillia2-2 - expanded field format from 7.0 to 7.4 KPN 08/23/02: Added label PUR_MAX_ORDER2 |
13 | PUR_ORDER_MULTIPLE | Number(12,4) | DECIMAL(11,4) NOT NULL | jnw 01/20/00 di-jwillia2-2 - expanded field format from 7.0 to 7.4 |
14 | PURCHASE_YIELD | Number(5,1) | DECIMAL(4,1) NOT NULL | Purchase Yield |
15 | STD_LEAD | Number(3,0) | SMALLINT NOT NULL | Purchase Lead Time Days |
16 | USE_SHIPTO_LOC | Character(1) | VARCHAR2(1) NOT NULL | Use Ship To Locations |
17 | DEFAULT_LOC | Character(10) | VARCHAR2(10) NOT NULL | Default Location |
18 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |