EX_ER_NOTES_VW

(SQL View)
Index Back

Expense Report Notes

Notes in Expense Report including approver's comments

SELECT A.SHEET_ID , A.SEQ_NUM , A.NOTES , A.EMPLID , A.APPROVER_PROFILE , '' , A.ACTION_DTTM FROM PS_EX_SHEET_NOTES A UNION ALL SELECT B.EX_DOC_ID , B.SEQ_NUM , B.COMMENTS , B.EMPLID , B.APPROVER_PROFILE , B.ACTION_NAME , B.ACTION_DTTM FROM PS_EX_APRVL_HIST B WHERE B.EX_DOC_TYPE = 'S' AND B.COMMENTS IS NOT NULL

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SHEET_ID Character(10) VARCHAR2(10) NOT NULL Report ID
2 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
3 NOTES Long Character CLOB Notes
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 APPROVER_PROFILE Character(15) VARCHAR2(15) NOT NULL Approver profile name

Prompt Table: EX_PROF_APPR_VW
Set Control Field: SETID

6 ACTION_NAME Character(3) VARCHAR2(3) NOT NULL Action taken on a transaction
APR=Approved
AUT=Auto Approved
BUD=Budget Checked
DEL=Deleted
DNY=Denied
HLD=On Hold
PAS=Post Approval Submit
REC=Receipt Verified
RES=Resubmitted
REV=Reviewed
RSN=Reassigned
SBR=Sent Back For Revision
SUB=Submitted
WDR=Withdrawn
7 ACTION_DTTM DateTime(26) TIMESTAMP Override Date Time