BAS_STMT_BENCNT(SQL View) |
Index Back |
---|---|
BAS Partic Dependent CountCounts dependents/beneficiaries in BAS_PARTIC_DPND |
SELECT BAS_STMT_TYPE , SCHED_ID , EMPLID , BENEFIT_RCD_NBR , EVENT_ID , EFFDT , EFFSEQ , PLAN_TYPE , COUNT(*) FROM PS_BAS_STMT_DEPENR WHERE (PLAN_TYPE LIKE '2%' AND ENROLLE_TYPE = '1') OR PLAN_TYPE LIKE '8%' OR PLAN_TYPE LIKE '4%' GROUP BY BAS_STMT_TYPE, SCHED_ID , EMPLID , BENEFIT_RCD_NBR , EVENT_ID , EFFDT, EFFSEQ, PLAN_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BAS_STMT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Benefits Statement Type
C=Confirmation Statement E=Enrollment Preview S=Submitted Enrollment |
2 | SCHED_ID | Character(6) | VARCHAR2(6) NOT NULL | Schedule ID |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | 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. |
5 | EVENT_ID | Number(6,0) | INTEGER NOT NULL | Event Identification |
6 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
7 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
8 | PLAN_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Identifies a category of benefit plan, such as Medical, Dental, and Life (Insurance). A set of plan type codes, as well as rules for creating new codes, is provided by PeopleSoft. Plan Type codes determine how the system processes and defines eligibility for the various benefit plans. |
9 | DEPENDENT_COUNT | Number(3,0) | SMALLINT NOT NULL | dependent counts |