PV_BOTPO_REQ_VW(SQL View) |
Index Back |
---|
SELECT DISTINCT A.BUSINESS_UNIT , A.PO_ID , B.LINE_NBR , B.SCHED_NBR , C.REQ_ID , B.REQ_LINE_NBR , B.REQ_SCHED_NBR , S.DUE_DT , S.QTY_PO , S.shipto_id , A.POA_STATUS , A.POA_REQS , 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_SETID , A.VENDOR_ID , 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_BOT_REQ_XREF B , PS_REQ_LINE C , PS_PO_LINE_SHIP S 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 AND B.BUSINESS_UNIT=S.BUSINESS_UNIT AND B.PO_ID=S.PO_ID AND B.LINE_NBR=S.LINE_NBR AND B.SCHED_NBR = S.SCHED_NBR |
# | 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 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
5 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
6 | REQ_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Requisition Line Number |
7 | REQ_SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Requisition Schedule Number |
8 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
9 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |
10 | SHIPTO_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship To Location |
11 | POA_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
po ack status field that will be on po_hdr.
AC=Acknowledged with changes AK=Acknowledged BA=Approved, Changes Pending IN=Initial Dispatch Acknowledged NR=Not Required SR=Responded, Awaits Review WD=Awaiting PO Dispatch WR=Awaiting Acknowledgement |
12 | POA_REQS | Character(1) | VARCHAR2(1) NOT NULL |
CEL. New field to store POA requirements on the PO Hdr
A=All dispatches I=Initial dispatch only N=Not required |
13 | 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 |
14 | 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 |
15 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
16 | 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 |
17 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
18 | QTY_REQ | Number(16,4) | DECIMAL(15,4) NOT NULL | Requisition Quantity |
19 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
20 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
21 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer's Item ID |
22 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
23 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
24 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
25 | CHNG_ORD_BATCH | Number(3,0) | SMALLINT NOT NULL | Change Order Number |
26 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL |
Buyer
Prompt Table: %EDIT_BUYER |
27 | PO_DT | Date(10) | DATE NOT NULL |
Date
Default Value: %date |
28 | 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 |