HRMIL_ACTIONVW(SQL View) |
Index Back |
---|---|
Military Rank Changes ActionMilitary Rank Changes Action View for Fluid Approvals |
SELECT NEW.EMPLID , NEW.EMPL_RCD ,NEW.EFFDT , NEW.EFFSEQ ,NEW.ACTION ,NEW.ACTION_REASON ,CURSXL.ACTION_DESCR ,NEWSXL.DESCR FROM PS_MIL_RANK_DAT NEW , PS_ACTION_TBL CURSXL , PS_ACTN_REASON_TBL NEWSXL WHERE NEW.ACTION= CURSXL.ACTION AND CURSXL.ACTION=NEWSXL.ACTION AND NEWSXL.ACTION_REASON=NEW.ACTION_REASON AND CURSXL.EFFDT=( SELECT MAX(C.EFFDT) FROM PS_ACTION_TBL C WHERE C.ACTION=CURSXL.ACTION AND C.EFFDT<=NEW.EFFDT) AND NEWSXL.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_ACTN_REASON_TBL D WHERE D.ACTION=NEWSXL.ACTION AND NEWSXL.ACTION_REASON=D.ACTION_REASON AND D.EFFDT<=NEW.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL |
Empl Record
Default Value: 0 |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
5 | ACTION | Character(3) | VARCHAR2(3) NOT NULL | Action |
6 | ACTION_REASON | Character(3) | VARCHAR2(3) NOT NULL |
Reason Code
Prompt Table:
ACTN_REASON_TBL
|
7 | ACTION_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Action Description |
8 | DESCR100 | Character(100) | VARCHAR2(100) NOT NULL | Length 100 Description |