RECV_VC_MTC_SVW(SQL View) |
Index Back |
---|---|
RECV_VC_MTC_SVWRecv - Vchr Line Summary View |
SELECT A.BUSINESS_UNIT_PO , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.PO_DIST_LINE_NUM , A.QTY_DS_ACCPT_VUOM , A.MERCHANDISE_AMT , SUM(QTY_ENTERED) , SUM(B.MERCH_AMT_VCHR) FROM PS_RECV_LN_DISTRIB A , PS_VCHR_RECV_MTCH B WHERE A.PO_ID <> ' ' AND A.RECV_DS_STATUS <> 'X' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT_RECV AND A.RECEIVER_ID = B.RECEIVER_ID AND A.RECV_LN_NBR = B.RECV_LN_NBR AND A.RECV_SHIP_SEQ_NBR = B.RECV_SHIP_SEQ_NBR GROUP BY A.BUSINESS_UNIT_PO, A.PO_ID, A.LINE_NBR, A.SCHED_NBR, A.PO_DIST_LINE_NUM, A.QTY_DS_ACCPT_VUOM, A.MERCHANDISE_AMT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO 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 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
5 | PO_DIST_LINE_NUM | Number(5,0) | INTEGER NOT NULL | PO Distribution Line Number |
6 | QTY_DS_ACCPT_VUOM | Number(16,4) | DECIMAL(15,4) NOT NULL | Distributed Qty in Supp UOM |
7 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
8 | QTY_VCHR | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity Vouchered |
9 | MERCHANDISE_AMT_VC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Voucher Merchandise Amount |