EX_SUMEMP_VW(SQL View) |
Index Back |
---|---|
Sum of Employee Reimbursement |
SELECT DISTINCT A.SHEET_ID , A.EMPLID , SUM(A.MONETARY_AMOUNT) , A.CURRENCY_CD , A.PROCESS_INSTANCE FROM PS_EX_SHEETLINE_VW A WHERE A.EXPEND_MTHD_EDIT='EMP' AND A.REIMBURSEMENT_CD ='R' GROUP BY A.SHEET_ID, A.EMPLID, A.CURRENCY_CD, A.PROCESS_INSTANCE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
2 | EMPLID | 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. |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |