EX_SHT_DST_S_VW

(SQL View)
Index Back

Ex Sheet Distribution Summary

Summarization of distribution lines transaction amounts. This view is used in EXC4600 and EXC4601 queries for crystal reports purposes (Expense Transactions by Unit and Expense Transactions by Dept).

SELECT A.SHEET_ID , A.BUSINESS_UNIT_GL , A.ACCOUNT , A.ALTACCT , A.DEPTID , A.PROJECT_ID , A.AFFILIATE , A.TXN_CURRENCY_CD , SUM(A.TXN_AMOUNT) FROM PS_EX_SHEET_DIST A GROUP BY A.SHEET_ID , A.BUSINESS_UNIT_GL , A.ACCOUNT , A.ALTACCT , A.DEPTID , A.PROJECT_ID , A.AFFILIATE , A.TXN_CURRENCY_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SHEET_ID Character(10) VARCHAR2(10) NOT NULL Report ID
2 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
3 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
4 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
5 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
6 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
7 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
8 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
9 TXN_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Transaction Amount