HR_SALCHG_AP_V2(SQL View) |
Index Back |
---|---|
Ad Hoc Sal Chg Approval HistAd Hoc Salary Change Approval History for HTML Email Approval |
SELECT DISTINCT S.EOAWSTEP_NBR , X.EMPLID , X.EMPL_RCD , X.ACTION_DT_SS , X.EFFSEQ , 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 , R.ORIGINATORID , U.EOAWDTTM_MODIFIED , %Sql(HR_HT_EMAIL_DATE,%DatePart(U.EOAWDTTM_MODIFIED)) , Z.NAME_DISPLAY FROM PS_HR_SALCHG_XREF2 X , PSXLATITEM XLAT , PS_HRS_STEPINST_I S , PS_HRS_USERINST_I U , PS_HR_SALCHG_DAT R , PS_HRS_PERSON_NM_I Z , PSOPRDEFN ZZ WHERE X.EOAWTHREAD_ID = S.EOAWTHREAD_ID AND X.EOAWPRCS_ID = S.EOAWPRCS_ID AND S.EOAWSTEP_INSTANCE = U.EOAWSTEP_INSTANCE AND X.EMPLID = R.EMPLID AND X.EMPL_RCD = R.EMPL_RCD AND X.ACTION_DT_SS = R.ACTION_DT_SS AND X.EFFSEQ = R.EFFSEQ AND ZZ.OPRID = U.OPRID AND ZZ.EMPLID = Z.EMPLID AND X.EOAWPARENT_THREAD = ( SELECT MAX(Y.EOAWPARENT_THREAD) FROM PS_HR_SALCHG_XREF2 Y WHERE X.EMPLID = Y.EMPLID AND X.EMPL_RCD = Y.EMPL_RCD AND X.ACTION_DT_SS = Y.ACTION_DT_SS AND X.EFFSEQ = Y.EFFSEQ 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 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
4 | ACTION_DT_SS | Date(10) | DATE | Termination Date |
5 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
6 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
7 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
8 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
9 | EOAWPATH_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Path ID |
10 | EOAWSTAGE_NBR | Number(3,0) | SMALLINT NOT NULL | Approval Framework Stage Number |
11 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
12 | 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 |
13 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
14 | EOAWPARENT_THREAD | Number(15,0) | DECIMAL(15) NOT NULL | Parent Thread ID |
15 | ORIGINATORID | Character(30) | VARCHAR2(30) NOT NULL | Originator Identifier |
16 | ORIGINATOR_ID | Character(11) | VARCHAR2(11) NOT NULL | Originator's ID |
17 | EOAWDTTM_MODIFIED | DateTime(26) | TIMESTAMP | Datetime modified |
18 | DESCR20 | Character(20) | VARCHAR2(20) NOT NULL | Description |
19 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |