BEN_ATT_HDR_VW

(SQL View)
Index Back

Benefit Approval Name


SELECT H.EMPLID , H.BEN_EVENT_TYPE , H.BEN_EVENT_SEQ , N.NAME_DISPLAY , ' ' , H.ACTION_DT_SS , ' ' FROM PS_BEN_ATTACH_HDR H , PS_NAMES N WHERE H.EMPLID=N.EMPLID AND N.NAME_TYPE='PRI' AND N.EFFDT=( SELECT MAX (NM1.EFFDT) FROM PS_NAMES NM1 WHERE NM1.EMPLID = N.EMPLID AND NM1.NAME_TYPE = N.NAME_TYPE AND NM1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: W3EB_EMPL_VW

2 BEN_EVENT_TYPE Character(10) VARCHAR2(10) NOT NULL Benefits event types for attachments
D=Dependent
L=Life Event
O=Open Enrollment
3 BEN_EVENT_SEQ Number(3,0) SMALLINT NOT NULL Benefits attachment sequence
4 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
6 ACTION_DT_SS Date(10) DATE Termination Date
7 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50