POROLL_RECV_SVW(SQL View) |
Index Back |
---|---|
Rollover-Receiver Summary ViewPOROLLVW_WK3 created by AE PO_POROLLVW |
SELECT B.PROCESS_INSTANCE , A.BUSINESS_UNIT_PO , B.SEARCH_ID , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.PO_DIST_LINE_NUM , SUM(A.QTY_DS_ACCPT_VUOM) , SUM(A.MERCHANDISE_AMT) , B.DISTRIB_MTHD_FLG FROM PS_RECV_LN_DISTRIB A , PS_POROLLVW_WK3 B WHERE A.BUSINESS_UNIT_PO = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND A.LINE_NBR = B.LINE_NBR AND A.SCHED_NBR = B.SCHED_NBR AND A.PO_DIST_LINE_NUM = B.DISTRIB_LINE_NUM AND A.RECV_DS_STATUS <> 'X' GROUP BY B.PROCESS_INSTANCE, A.BUSINESS_UNIT_PO, B.SEARCH_ID, A.PO_ID, A.LINE_NBR, A.SCHED_NBR, A.PO_DIST_LINE_NUM, B.DISTRIB_MTHD_FLG |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
3 | SEARCH_ID | Character(10) | VARCHAR2(10) NOT NULL | Search ID |
4 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
5 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
6 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
7 | PO_DIST_LINE_NUM | Number(5,0) | INTEGER NOT NULL | PO Distribution Line Number |
8 | QTY_DS_ACCPT_VUOM | Number(16,4) | DECIMAL(15,4) NOT NULL | Distributed Qty in Supp UOM |
9 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
10 | DISTRIB_MTHD_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Distribute by
A=Amount Q=Quantity |