PV_RECV_VW4(SQL View) |
Index Back |
---|---|
PO Receiver view |
SELECT A.BUSINESS_UNIT_PO , C.REQ_ID , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECV_LN_NBR , B.MATCH_STATUS_RECV , A.MERCHANDISE_AMT , A.RECEIVE_UOM , A.QTY_SH_RECVD , A.QTY_SH_ACCPT FROM PS_RECV_LN_SHIP A , PS_RECV_HDR B , PS_PO_LINE_DISTRIB C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RECEIVER_ID = B.RECEIVER_ID AND A.RECV_SHIP_STATUS <> 'X' AND A.BUSINESS_UNIT_PO = C.BUSINESS_UNIT AND A.PO_ID = C.PO_ID AND A.LINE_NBR = C.LINE_NBR AND A.SCHED_NBR = C.SCHED_NBR GROUP BY A.BUSINESS_UNIT_PO , C.REQ_ID , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.BUSINESS_UNIT , A.RECEIVER_ID , A.RECV_LN_NBR , B.MATCH_STATUS_RECV , A.MERCHANDISE_AMT , A.RECEIVE_UOM , A.QTY_SH_RECVD , A.QTY_SH_ACCPT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL |
Requisition ID
Default Value: NEXT |
3 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
4 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
5 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
6 | BUSINESS_UNIT_RECV | Character(5) | VARCHAR2(5) NOT NULL | Receiving Business Unit |
7 | RECEIVER_ID | Character(10) | VARCHAR2(10) NOT NULL | Receiver number |
8 | RECV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Receipt Line |
9 | MATCH_STATUS_RECV | Character(1) | VARCHAR2(1) NOT NULL |
Match Status
M=Matched N=Not Matched P=Partially Matched T=To Match V=Vouchered |
10 | MERCH_AMT_RECV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amount Received |
11 | UOM_RECV | Character(3) | VARCHAR2(3) NOT NULL | Unit Of Measure |
12 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
13 | QTY_ACCEPTED | Number(16,4) | DECIMAL(15,4) NOT NULL | Qty Accepted |