EODL_DLGT_AP_VW(SQL View) |
Index Back |
---|---|
Delegation Approval HistDelegation Approval History for HTML Email Approval |
SELECT DISTINCT S.EOAWSTEP_NBR , X.EODL_DELEGATOR_OID , X.EODL_DELEGATOR_RCD , X.TRANSACTION_NAME , X.EODL_TRAN_ALLOWED , X.FROM_DATE , X.EODL_PROXY_OID , U.OPRID , S.EFFDT , S.EOAWPRCS_ID , S.EOAWPATH_ID , S.EOAWSTAGE_NBR , S.EOAWTHREAD_ID , U.EOAWSTEP_STATUS , XLAT.XLATLONGNAME , X.EOAWPARENT_THREAD , X.ORIGINATORID , U.EOAWDTTM_MODIFIED , ZE.EMAILID , ZZ.OPRDEFNDESC FROM PS_EODL_APPR_XREF X , PSXLATITEM XLAT , PS_EOAW_STEPINST S , PS_EOAW_USERINST U , PSOPRDEFN ZZ , PSUSEREMAIL ZE WHERE X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND S.EOAWSTEP_INSTANCE = U.EOAWSTEP_INSTANCE AND ZZ.OPRID = U.OPRID AND ZZ.OPRID = ZE.OPRID AND ZE.PRIMARY_EMAIL = 'Y' AND X.EOAWPARENT_THREAD = ( SELECT MAX(Y.EOAWPARENT_THREAD) FROM PS_EODL_APPR_XREF Y WHERE X.EODL_DELEGATOR_OID = Y.EODL_DELEGATOR_OID AND X.EODL_DELEGATOR_RCD = Y.EODL_DELEGATOR_RCD AND X.TRANSACTION_NAME = Y.TRANSACTION_NAME AND X.EODL_TRAN_ALLOWED = Y.EODL_TRAN_ALLOWED AND X.FROM_DATE = Y.FROM_DATE AND X.EODL_PROXY_OID = Y.EODL_PROXY_OID AND Y.EOAWTHREAD_STATUS <> 'T' ) AND XLAT.FIELDNAME = 'EOAWSTEP_STATUS' AND XLAT.FIELDVALUE = U.EOAWSTEP_STATUS |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EOAWSTEP_NBR | Number(6,2) | DECIMAL(5,2) NOT NULL | Sequence number of step in its path |
2 | EODL_DELEGATOR_OID | Character(30) | VARCHAR2(30) NOT NULL | Delegator User Id |
3 | EODL_DELEGATOR_RCD | Number(3,0) | SMALLINT NOT NULL | Delegator Record Number |
4 | TRANSACTION_NAME | Character(25) | VARCHAR2(25) NOT NULL | EDI Transaction Name |
5 | EODL_TRAN_ALLOWED | Character(1) | VARCHAR2(1) NOT NULL |
Stores the Transaction Type for every HCM transaction registered in the Delegation Framework. The type can be either Approve or Initiate.
A=Approve I=Initiate |
6 | FROM_DATE | Date(10) | DATE | From Date |
7 | EODL_PROXY_OID | Character(30) | VARCHAR2(30) NOT NULL | Proxy Operator Id |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
9 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
10 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
11 | EOAWPATH_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Path ID |
12 | EOAWSTAGE_NBR | Number(3,0) | SMALLINT NOT NULL | Approval Framework Stage Number |
13 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
14 | 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 |
15 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
16 | EOAWPARENT_THREAD | Number(15,0) | DECIMAL(15) NOT NULL | Parent Thread ID |
17 | ORIGINATORID | Character(30) | VARCHAR2(30) NOT NULL | Originator Identifier |
18 | EOAWDTTM_MODIFIED | DateTime(26) | TIMESTAMP | Datetime modified |
19 | DESCR20 | Character(20) | VARCHAR2(20) NOT NULL | Description 20 |
20 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Business Name Display. BO_NAME.NAME_DISPLAY |