EX_APPR_ER_WCVW

(SQL View)
Index Back

Expense Report Approval View

Expense Report Approval View, used in WorkCenter.

SELECT DISTINCT A.SHEET_ID , B.OPRID , 'ER' , A.BUSINESS_UNIT_GL , A.SHEET_NAME , A.EMPLID , C.NAME , CASE WHEN (A.RESUBMISSION_DT IS NOT NULL) THEN A.RESUBMISSION_DT ELSE A.SUBMISSION_DATE END , A.SHEET_STATUS , A.TOTAL_AMT , A.CURRENCY_CD , B.APPRVR_TYPE , B.APPRVR_DESCR , B.STAGE_ID , A.BUSINESS_PURPOSE ,A.BUDGET_HDR_STATUS FROM PS_EX_SHEET_HDR A , PS_EX_ER_MGRLST_VW B , PS_PERSONAL_DATA C WHERE A.SHEET_ID = B.SHEET_ID AND A.EMPLID = C.EMPLID AND A.APPR_PROCESS_FLAG = 'N' AND A.PROCESS_FLAG = 'N'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SHEET_ID Character(10) VARCHAR2(10) NOT NULL Report ID
2 APPROVAL_OPRID Character(30) VARCHAR2(30) NOT NULL A system generated value that reflects the operator that approved a given transaction.
3 APPR_TRANS_TYPE Character(4) VARCHAR2(4) NOT NULL Approval Transaction Type.
CA=Cash Advance
ER=Expense Report
TA=Travel Authorization
TJ=Time Adjustment
TR=Time Report
4 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
5 SHEET_NAME Character(30) VARCHAR2(30) NOT NULL Report Description
6 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
7 NAME Character(50) VARCHAR2(50) NOT NULL Name
8 SUBMISSION_DATE Date(10) DATE Submission Date
9 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
10 TOTAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Amount
11 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
12 APPRVR_TYPE Character(10) VARCHAR2(10) NOT NULL Approver type used to cross reference an AWE process id and stage.
13 APPRVR_DESCR Character(30) VARCHAR2(30) NOT NULL Approver Type Description
14 STAGE_ID Number(15,0) DECIMAL(15) NOT NULL Unique stage identifier
15 BUSINESS_PURPOSE Character(5) VARCHAR2(5) NOT NULL Business Purpose
16 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

Default Value: V