POROLL_VC_SVW_B

(SQL View)
Index Back

PO Rollover View


SELECT A.PROCESS_INSTANCE , A.BUSINESS_UNIT_PO , A.SEARCH_ID , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.RECEIVER_ID , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , SUM(A.QTY_VCHR) , SUM(B.MERCHANDISE_AMT) , A.DISTRIB_MTHD_FLG FROM PS_POROLL_VC_SVW_A A , PS_DISTRIB_LINE B WHERE A.BUSINESS_UNIT_PO = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND A.VOUCHER_LINE_NUM = B.VOUCHER_LINE_NUM GROUP BY A.PROCESS_INSTANCE, A.BUSINESS_UNIT_PO, A.SEARCH_ID, A.PO_ID, A.LINE_NBR, A.SCHED_NBR, A.RECEIVER_ID, A.RECV_LN_NBR, A.RECV_SHIP_SEQ_NBR, A.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 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
8 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
9 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
10 QTY_VCHR Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Vouchered
11 MERCH_AMT_VCHR Signed Number(28,3) DECIMAL(26,3) NOT NULL Voucher Merchandise Amount
12 DISTRIB_MTHD_FLG Character(1) VARCHAR2(1) NOT NULL Distribute by
A=Amount
Q=Quantity