FCST_EX_BK_VW

(SQL View)
Index Back

Forecast Expense Payments

View used to pull data from expense header to forecast expenses data

SELECT H.SHEET_ID , H.REFERENCE_ID , H.SHEET_STATUS , H.EX_ORIGIN , H.CREATION_DT , H.SUBMISSION_DATE , H.SHEET_TYPE , H.ADVANCE_AMT , H.BUSINESS_UNIT_GL , H.BUDGET_HDR_STATUS , H.TOTAL_AMT , H.TOTAL_REIMB_AMT , H.TOTAL_CMPNY_PD_AMT , H.CURRENCY_CD , H.APPR_PROCESS_FLAG , D.CALENDAR_DATE , ' ' , ' ' , ' ' FROM PS_EX_SHEET_HDR H , PS_POS_DAYS_TBL D WHERE H.TOTAL_REIMB_AMT <> 0 AND D.CALENDAR_DATE = %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SHEET_ID Character(10) VARCHAR2(10) NOT NULL Report ID
2 REFERENCE_ID Character(10) VARCHAR2(10) NOT NULL Reference ID
3 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
4 EX_ORIGIN Character(1) VARCHAR2(1) NOT NULL Origin of Entry (Expenses)
A=Asset Lifecycle Management
H=Mobile Hand Held Device
M=Mobile Time and Expense
N=NUI
P=Primavera P6
W=Web
5 CREATION_DT Date(10) DATE Creation Date
6 SUBMISSION_DATE Date(10) DATE Submission Date
7 SHEET_TYPE Character(1) VARCHAR2(1) NOT NULL Expense Sheet Type
J=Journal Sheet
R=Regular Sheet
8 ADVANCE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Advance Amount
9 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
10 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
11 TOTAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Amount
12 TOTAL_REIMB_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Due Employee
13 TOTAL_CMPNY_PD_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Due Vendor
14 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
15 APPR_PROCESS_FLAG Character(1) VARCHAR2(1) NOT NULL Approval in Process Flag
16 CALENDAR_DATE Date(10) DATE An internal work field utilized to store calendar dates for a given calendar year. The dates are displa
17 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
18 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
19 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