EX_ACCTLN_VW3

(SQL View)
Index Back

Expense Sheet View

Expense sheet view for Budget Checking.

SELECT A.BUSINESS_UNIT_GL , A.EX_DOC_ID , A.EX_DOC_TYPE , A.LINE_NBR , A.DISTRIB_LINE_NUM , A.DST_ACCT_TYPE , A.APPL_JRNL_ID , A.UNPOST_SEQ , A.EMPLID , ' ' , A.BUDGET_HDR_STATUS , A.ACCOUNTING_DT , A.MONETARY_AMOUNT , A.CURRENCY_CD FROM PS_EX_ACCTG_LINE A WHERE EX_DOC_TYPE = 'R' AND DST_ACCT_TYPE IN ('DST','ENR') AND REVERSAL_DATE IS NOT NULL

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
2 EX_DOC_ID Character(10) VARCHAR2(10) NOT NULL Documentation ID
3 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
4 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
5 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
6 DST_ACCT_TYPE Character(4) VARCHAR2(4) NOT NULL 07/20/04 st: added RCN for Advance Reconciliation 02/16/98 ebn CN#CM800-2.0 : Added for MISC type for Landed Cost Enhancement 11/11/99 llr: Added ADVP for Payables Advance Payment
7 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
8 UNPOST_SEQ Number(2,0) SMALLINT NOT NULL Identifies the sequence of journal entries when a journal is "unposted". When a journal is posted the UnPost Sequence is automatically set to "0". When a journal is unposted, a new reversing entry is automatically created with an UnPost Sequence of "1".
9 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
10 SHEET_ID_RELATED Character(10) VARCHAR2(10) NOT NULL Journal Report ID
11 BUDGET_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Checking Header Status
E=Error in Budget Check
I=Document In Processing
N=Not Budget Checked
P=Provisionally Valid
V=Valid
12 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
13 TOTAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Amount
14 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code