PO_STG_SUMD_VW

(SQL View)
Index Back

Excise/Sales Tax Stage Sum


SELECT PROCESS_INSTANCE , BUSINESS_UNIT , PO_ID , PO_STG_TYPE , PO_STG_ID , LINE_NBR , SCHED_NBR , SUM(EXS_TAX_AMT) , SUM(EXS_RCVRY_AMT) , SUM(EXS_NRCVRY_AMT) , SUM(EXS_BASIS_AMT) FROM PS_PO_SHP_STG_EXSD GROUP BY PROCESS_INSTANCE , BUSINESS_UNIT , PO_ID , PO_STG_TYPE , PO_STG_ID , LINE_NBR , SCHED_NBR

# 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 Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
4 PO_STG_TYPE Character(1) VARCHAR2(1) NOT NULL Used in conjunction with PO_STG_ID to make a unique key on the stage tables.
O=Other
R=Requisition
5 PO_STG_ID Character(10) VARCHAR2(10) NOT NULL Uniqye key to the PO Staging table
6 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
7 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
8 EXS_TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Sales Tax Amount
9 EXS_RCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Recovery Amount
10 EXS_NRCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Non Recovery Amount
11 EXS_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Sales Tax Basis Amount