BN_ABBR_TYPE_VW(SQL View) |
Index Back |
---|---|
Alt Benefits Base Rate ViewThis is a view of current active annual base benefit rate code of an employee. |
SELECT A.EMPLID ,A.EMPL_RCD ,A.BN_ANNL_BENBASE_CD FROM PS_BN_ANNL_BASE_RT A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_BN_ANNL_BASE_RT A1 WHERE A1.EMPLID = A.EMPLID AND A1.EMPL_RCD = A.EMPL_RCD AND A1.BN_ANNL_BENBASE_CD = A.BN_ANNL_BENBASE_CD AND A1.EFFDT <= %CurrentDateIn) |
# | 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 |
3 | BN_ANNL_BENBASE_CD | Character(4) | VARCHAR2(4) NOT NULL |
Identifies the type of Annual Benefits Base Rate
Prompt Table: ABBR_TYPE_TBL |