EX_TOP_SPD4_VW(SQL View) |
Index Back |
|---|---|
Top employee spenderTop employees spenders Used in Query, Pivot Grid and Pagelet |
| SELECT A.BUSINESS_UNIT_GL , A.EMPLID , 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 |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
| 2 | Character(11) | VARCHAR2(11) NOT NULL | Employee ID | |
| 3 | 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. |