EX_PYRL_SHT_VW(SQL View) |
Index Back |
---|---|
Employee Payroll Exp Rpt View |
SELECT A.BANK_SETID , A.BANK_CD , A.BANK_ACCT_KEY , A.PAYCHECK_NBR , A.SHEET_ID , B.SHEET_STATUS , B.SHEET_NAME , B.CREATION_DT , SUM(A.GROSS_AMT_BSE) , SUM(A.PAID_AMT_BSE) , A.BASE_CURRENCY , 'S' FROM PS_EX_SHEET_PYMNT A , PS_EX_SHEET_HDR B WHERE A.EX_PYMNT_TYPE IN ('E', 'A') AND A.SHEET_ID = B.SHEET_ID AND A.SEQ_NBR = ( SELECT MAX(A1.SEQ_NBR) FROM PS_EX_SHEET_PYMNT A1 WHERE A1.SHEET_ID = A.SHEET_ID AND A1.LINE_NBR = A.LINE_NBR AND A1.PYMNT_ID = A.PYMNT_ID) GROUP BY A.BANK_SETID, A.BANK_CD, A.BANK_ACCT_KEY, A.PAYCHECK_NBR, A.SHEET_ID, B.SHEET_STATUS, B.SHEET_NAME, B.CREATION_DT, A.BASE_CURRENCY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
3 | BANK_ACCT_KEY | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank |
4 | PAYCHECK_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Paycheck Number |
5 | SHEET_ID | Character(10) | VARCHAR2(10) NOT NULL | Report ID |
6 | SHEET_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Report Status
APY=Approved for Payment APZ=Approved For Zero Payment CLS=Closed DEN=Denied DNA=Denied by Approver DNU=Denied by Auditor ESC=Escheated Payment HDA=On Hold, with Approver HDU=On Hold, with Auditor HLD=On Hold MFS=Marked for Submit OPN=Open PAR=Approvals in Process PD=Paid PND=Pending PRO=In Process RAP=Approved SFA=Submission in Process STG=Staged SUB=Submitted for Approval XML=Submitted, Pending Validation |
7 | SHEET_NAME | Character(30) | VARCHAR2(30) NOT NULL | Report Description |
8 | CREATION_DT | Date(10) | DATE | Creation Date |
9 | 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. |
10 | PYMNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Amount |
11 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | EX_DOC_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Identifies Expenses Document Type
A=Cash Advance C=Time Report J=Time Adjustment M=Accrual - My Wallet R=Accrual - Expense Report S=Expense Report T=Travel Authorization |