HCSC_ADT_STPINS

(SQL View)
Index Back

AWE Audit Report

Used to collect and display Step Instance level information in the AWE Audit report gnerated by XMLP.

SELECT A.EOAWPRCS_ID , A.EOAWDEFN_ID , A.EOAWTHREAD_ID , A.EOAWSTAGE_NBR , A.EOAWPATH_ID , A.EOAWSTEP_NBR , A.EOAWSTEP_INSTANCE , A.EOAWSTEP_TYPE , B.XLATLONGNAME , A.EOAWSTEP_STATUS , C.XLATLONGNAME , A.EOAWADHOC_BY FROM PS_EOAW_STEPINST A , PSXLATITEM B , PSXLATITEM C WHERE B.FIELDNAME = 'HCSC_STEP_TYPE' AND B.FIELDVALUE = A.EOAWSTEP_TYPE AND %EffdtCheck(PSXLATITEM,B,%CURRENTDATEIN) AND C.FIELDNAME = 'EOAWSTEP_STATUS' AND C.FIELDVALUE = A.EOAWSTEP_STATUS AND %EffdtCheck(PSXLATITEM,C,%CURRENTDATEIN)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
2 EOAWDEFN_ID Character(30) VARCHAR2(30) NOT NULL Approval Framework Definition ID
3 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
4 EOAWSTAGE_NBR Number(3,0) SMALLINT NOT NULL Approval Framework Stage Number
5 EOAWPATH_ID Character(30) VARCHAR2(30) NOT NULL Approval Path ID
6 EOAWSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
7 EOAWSTEP_INSTANCE Number(15,0) DECIMAL(15) NOT NULL Object id of a step instance. Generated off the main thread id for the approval process.
8 HCSC_STEP_TYPE Character(1) VARCHAR2(1) NOT NULL Type of step instance--Defined, Adhoc, Error
E=Error
H=Adhoc
N=Normal
S=Self Approved
9 STEP_TYPE_DESCR Character(30) VARCHAR2(30) NOT NULL Step Status Description
10 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
11 STEP_STAT_DESCR Character(30) VARCHAR2(30) NOT NULL Step Status Description
12 EOAWADHOC_BY Character(30) VARCHAR2(30) NOT NULL User ID