PV_PO_INQ_VW(SQL View) |
Index Back |
---|---|
Purchase Order Line Item |
SELECT A.BUSINESS_UNIT ,A.PO_ID ,A.LINE_NBR ,A.CANCEL_STATUS ,A.CHANGE_STATUS ,A.ITM_SETID ,A.INV_ITEM_ID ,A.ITM_ID_VNDR ,A.VNDR_CATALOG_ID ,A.CATEGORY_ID ,A.CHNG_ORD_SEQ ,A.UNIT_OF_MEASURE ,A.QTY_TYPE ,A.PRICE_DT_TYPE ,A.MFG_ID ,A.CNTRCT_SETID ,A.CNTRCT_ID ,A.VERSION_NBR ,A.CNTRCT_LINE_NBR ,A.CNTRCT_RATE_MULT ,A.CNTRCT_RATE_DIV ,A.RFQ_ID ,A.RFQ_LINE_NBR ,A.INSPECT_CD ,A.ROUTING_ID ,A.RECV_REQ ,A.PRICE_CAN_CHANGE ,A.WTHD_SW ,A.WTHD_CD ,A.CONFIG_CODE ,A.CP_TEMPLATE_ID ,A.DESCR254_MIXED ,A.UPN_TYPE_CD ,A.UPN_ID ,A.AMT_ONLY_FLG ,A.PHYSICAL_NATURE ,A.AUC_GROUP_ID ,A.RELEASE_NBR ,A.VRBT_ID ,A.CAT_LINE_NBR ,A.ORIG_INV_ITEM_ID ,A.DESCR254_MIXED2 ,A.GPO_CNTRCT_NBR ,A.GPO_ID ,A.MFG_ITM_ID ,A.REPLEN_OPT ,A.PO_GROUP_ID ,A.PRIMARY_UNIT ,A.UNIT_ALLOC_AMT ,A.UNIT_ALLOC_QTY ,B.CURRENCY_CD ,B.MERCHANDISE_AMT ,B.QTY_PO FROM PS_PO_LINE A , PS_PV_CHNG_SHIP_VW B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND A.LINE_NBR = B.LINE_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | CANCEL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Cancel Status
A=Active C=Closed D=Denied H=Hold O=Open P=Pending Approval X=Canceled Default Value: A |
5 | CHANGE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Change Order Status
C=Changed U=Unchanged Default Value: U |
6 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
7 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
8 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
9 | VNDR_CATALOG_ID | Character(20) | VARCHAR2(20) NOT NULL | Vendor's Catalog Number |
10 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
11 | CHNG_ORD_SEQ | Number(3,0) | SMALLINT NOT NULL | Change Order Sequence Number |
12 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
13 | QTY_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Quantity to Use for Prices
L=Line Quantity S=Schedule Quantity Default Value: S |
14 | PRICE_DT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Date to Use for Prices
D=Due Date P=PO Date Default Value: P |
15 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
16 | CNTRCT_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
17 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
18 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
19 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
20 | CNTRCT_RATE_MULT | Number(16,8) | DECIMAL(15,8) NOT NULL | Contract Rate Multiplier |
21 | CNTRCT_RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Contract Rate Divider |
22 | RFQ_ID | Character(10) | VARCHAR2(10) NOT NULL | RFQ ID |
23 | RFQ_LINE_NBR | Number(5,0) | INTEGER NOT NULL | RFQ Line |
24 | INSPECT_CD | Character(1) | VARCHAR2(1) NOT NULL |
Inspection Required
N=No Y=Yes Default Value: N |
25 | ROUTING_ID | Character(10) | VARCHAR2(10) NOT NULL | Inspection Routing ID |
26 | RECV_REQ | Character(1) | VARCHAR2(1) NOT NULL |
Receiving Required
N=Optional X=Do Not Y=Required Default Value: N |
27 | PRICE_CAN_CHANGE | Character(1) | VARCHAR2(1) NOT NULL |
Price Can Be Changed on Order
N=No Y=Yes Default Value: Y |
28 | WTHD_SW | Character(1) | VARCHAR2(1) NOT NULL |
Withholding Applicable Flag
B=Global and 1099 G=Global T=1099 |
29 | WTHD_CD | Character(5) | VARCHAR2(5) NOT NULL | Withholding Code |
30 | CONFIG_CODE | Character(50) | VARCHAR2(50) NOT NULL | Product Configurator |
31 | CP_TEMPLATE_ID | Character(10) | VARCHAR2(10) NOT NULL | Template ID Field |
32 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
33 | UPN_TYPE_CD | Character(4) | VARCHAR2(4) NOT NULL | Universal Product Number Format Type |
34 | UPN_ID | Character(20) | VARCHAR2(20) NOT NULL | Universal Product Number |
35 | AMT_ONLY_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Amount Only
N=No Y=Yes |
36 | PHYSICAL_NATURE | Character(1) | VARCHAR2(1) NOT NULL |
Physical Nature
G=Goods S=Services |
37 | AUC_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
38 | RELEASE_NBR | Number(5,0) | INTEGER NOT NULL | Release Number |
39 | VRBT_ID | Character(25) | VARCHAR2(25) NOT NULL | Vendor Rebate ID |
40 | CAT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Contract Category Line Number |
41 | ORIG_INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Used to identify the original item ordered, in case an item substitution has taken place. |
42 | DESCR254_MIXED2 | Character(254) | VARCHAR2(254) NOT NULL | Long Description |
43 | GPO_CNTRCT_NBR | Character(25) | VARCHAR2(25) NOT NULL | GPO Contract Number |
44 | GPO_ID | Character(18) | VARCHAR2(18) NOT NULL | GPO ID |
45 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
46 | REPLEN_OPT | Character(2) | VARCHAR2(2) NOT NULL |
Replenish Code
01=Standard 02=Stockless |
47 | PO_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
48 | PRIMARY_UNIT | Character(1) | VARCHAR2(1) NOT NULL |
Primary Unit
N=No Y=Yes |
49 | UNIT_ALLOC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Unit Allocation Amt |
50 | UNIT_ALLOC_QTY | Number(16,4) | DECIMAL(15,4) NOT NULL | Unit Allocation Qty |
51 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
52 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
53 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |