PV_PO_REQV_VW2(SQL View) |
Index Back |
---|
SELECT DISTINCT A.BUSINESS_UNIT , A.PO_ID , B.LINE_NBR , C.REQ_ID , B.REQ_LINE_NBR , A.PO_STATUS , A.RECV_STATUS , A.CURRENCY_CD , C.PRICE_REQ , C.UNIT_OF_MEASURE , C.QTY_REQ , C.MERCHANDISE_AMT , C.MFG_ID , C.MFG_ITM_ID , A.VENDOR_ID , A.VENDOR_SETID , C.ITM_ID_VNDR , A.CHNG_ORD_BATCH , A.BUYER_ID , A.PO_DT , A.PYMNT_TERMS_CD FROM PS_PO_HDR A , PS_PV_PO_REQ_XREF B , PS_REQ_LINE C WHERE A.BUSINESS_UNIT= B.BUSINESS_UNIT AND A.PO_ID=B.PO_ID AND C.REQ_ID=B.REQ_ID AND C.LINE_NBR=B.REQ_LINE_NBR AND C.BUSINESS_UNIT=B.BUSINESS_UNIT |
# | 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_BU_PM_NONVW |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL |
Purchase Order
Default Value: NEXT |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
5 | REQ_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Requisition Line Number |
6 | PO_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
PO Status
A=Approved C=Complete D=Dispatched DA=Denied I=Initial LD=Line Denied O=Open PA=Pending Approval/Approved PX=Pending Cancel X=Canceled Default Value: I |
7 | RECV_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Receipt Status
C=Closed Receipt H=Hold Receipt M=Moved to Destination N=PO Not Received O=Open P=PO Partially Received R=Fully Received X=Canceled Default Value: N |
8 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
9 | PRICE_REQ | Signed Number(17,5) | DECIMAL(15,5) NOT NULL | Date Initials Issue Description 092107 dh F-AHAYT-95051 ePro change from number to Sign to allow negative |
10 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
11 | QTY_REQ | Number(16,4) | DECIMAL(15,4) NOT NULL | Requisition Quantity |
12 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
13 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
14 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
15 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
16 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
17 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
18 | CHNG_ORD_BATCH | Number(3,0) | SMALLINT NOT NULL | Change Order Number |
19 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL |
Buyer
Prompt Table: %EDIT_BUYER |
20 | PO_DT | Date(10) | DATE NOT NULL |
Date
Default Value: %date |
21 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL |
Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers.
Prompt Table: PYMT_TR_EFF_VW |