PV_APPR_MAP_VW

(SQL View)
Index Back

Approve Requisition User View

Approve Requisition User View Date Initials Reference 07/22/2008 SM F-WYIN-P6X75 AWE required PTAF rename to EOAW.

SELECT DISTINCT B.BUSINESS_UNIT , B.REQ_ID , B.REQUESTOR_ID , B.OPRID_ENTERED_BY , B.REQ_NAME , B.REQ_STATUS , B.PRIORITY_FLG , B.REQ_DT , B.CURRENCY_CD , B.REQ_TOTAL , U.EOAWSTEP_STATUS , U.OPRID , U.EOAWORIG_OPRID , %DatePart(U.EOAWDTTM_MODIFIED) , S.EOAWTHREAD_ID , X.EOAWTHREAD_STATUS , U.EOAWDTTM_COMPLETE , X.EOAWREQUESTOR_ID , X.EOAWDTTM_MODIFIED , S.EOAWPRCS_ID , S.EOAWDEFN_ID , S.EFFDT , S.EOAWSTEP_NBR FROM PS_PV_REQ_AW X , PS_PV_APPR_REQH_VW B , PS_EOAW_STEPINST S , PS_EOAW_USERINST U WHERE B.BUSINESS_UNIT = X.BUSINESS_UNIT AND B.REQ_ID = X.REQ_ID AND B.HOLD_STATUS = 'N' AND X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND X.EOAWDEFN_ID = S.EOAWDEFN_ID AND S.EOAWSTEP_INSTANCE = U.EOAWSTEP_INSTANCE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
3 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
4 OPRID_ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered By 07/25/2011 MRAD 12383033 :Ensured that OPRID_ENTERED_BY is set with format type of MixedCase. 03/22/2013 GL 16482301: Switched OPRID_ENTERED_BY back to MixedCase again. Please don't change it to UpperCase!!! FYI - The alternatives to use a User ID as uppercase: 1) Create your own User ID, add comments in the Field Properties, and fill out the Owner ID 2) Use %Upper meta-SQL in SQL statements 3) Use Upper function in peoplecodes
5 REQ_NAME Character(30) VARCHAR2(30) NOT NULL Requisition Name
6 REQ_STATUS Character(4) VARCHAR2(4) NOT NULL Req status
A=Approved
C=Complete
D=Denied
I=Initial
LA=Line Approved
O=Open
P=Pending Approval
V=Preview
X=Canceled
7 PRIORITY_FLG Character(1) VARCHAR2(1) NOT NULL Priority Flag
1=High
2=Medium
3=Low
8 REQ_DT Date(10) DATE Requisition Date
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 REQ_TOTAL Signed Number(30,5) DECIMAL(28,5) NOT NULL Requisition Total
11 EOAWSTEP_STATUS Character(1) VARCHAR2(1) NOT NULL Step Instance Status
A=Approved
B=Pushed back
C=Auto Approved
D=Denied
E=Administrator denied
F=Deleted
G=Bypassed
H=On Hold
I=No Action Taken
K=Skipped
L=Terminated
M=Administrator approved
N=Not Active
P=Pending
R=No longer in role
T=Terminated
U=Auto approved
X=Deleted
Z=Pending Denial
12 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
13 EOAWORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
14 EOAWSTART_DT Date(10) DATE Start Date
15 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
16 EOAWTHREAD_STATUS Character(1) VARCHAR2(1) NOT NULL Thread Status
A=Approved
C=Complete
D=Denied
E=Pending Denial
H=Hard Deny
I=Initial
N=Not Active
P=Pending
S=Awaiting Further Approvals
T=Terminated
W=Canceled
X=Suspended/Pending Denial
17 EOAWDTTM_COMPLETE DateTime(26) TIMESTAMP Date/Time Completed
18 EOAWREQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
19 EOAWDTTM_MODIFIED DateTime(26) TIMESTAMP Datetime modified
20 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
21 EOAWDEFN_ID Character(30) VARCHAR2(30) NOT NULL Approval Framework Definition ID
22 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

23 EOAWSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path