EX_TOP_SPD2_VW(SQL View) |
Index Back |
---|---|
Top employee spenderTop employees spenders Used in Query, Pivot Grid and Pagelet |
SELECT A.BUSINESS_UNIT_GL , A.EMPLID , A.SHEET_ID , B.TRANS_DT , SUM(B.MONETARY_AMOUNT ) FROM PS_EX_SHEET_HDR A , PS_EX_SHEET_LINE B WHERE A.SHEET_ID = B.SHEET_ID AND A.SHEET_STATUS NOT IN ('CLS','ESC','DEN','DNA','DNU','PND') AND B.PERSONAL_EXPENSE = 'N' GROUP BY A.BUSINESS_UNIT_GL , A.EMPLID , A.SHEET_ID , B.TRANS_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
4 | TRANS_DT | Date(10) | DATE | Transaction Date |
5 | MONETARY_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account. |