BAS_ELT_EMPLVW

(SQL View)
Index Back

BAS Election Ent: Empl Prompt

BAS_ELT_EMPLVW is a view used with Benefits Administration Election data entry and returns only employees within the selected Schedule who have Open events with at least one Plan available for election.

SELECT P.SCHED_ID ,P.EMPLID ,P.BENEFIT_RCD_NBR ,P.EVENT_ID FROM PS_BAS_PARTIC P WHERE P.EVENT_STATUS = 'O' AND P.BAS_PROCESS_STATUS IN ('PR','NT','RE','ET','EE') AND EXISTS ( SELECT 'X' FROM PS_BAS_PARTIC_PLAN X WHERE X.SCHED_ID=P.SCHED_ID AND X.EMPLID=P.EMPLID AND X.BENEFIT_RCD_NBR=P.BENEFIT_RCD_NBR AND X.EVENT_ID=P.EVENT_ID AND X.ELECT_ALLOWED='Y')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SCHED_ID Character(6) VARCHAR2(6) NOT NULL Schedule ID
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 BENEFIT_RCD_NBR Number(3,0) SMALLINT NOT NULL Specifies a sequence number associated with each of multiple concurrent jobs for a one employee. It is used to determine the applicable benefit program for each job. The first job entered for an employee is automatically assigned a Benefit Record Number of zero (0). This field is linked with EMPL_RCD#, the Employment Record Number.
4 EVENT_ID Number(6,0) INTEGER NOT NULL Event Identification