BNE_OPTN_VW(SQL View) |
Index Back |
---|---|
BAS Partic Inquiry- OptionBNE_OPTN_VW is a view of benefit options. It is used with the Benefits enrollment |
SELECT A.SCHED_ID ,A.EMPLID ,A.BENEFIT_RCD_NBR ,A.EVENT_ID ,A.OPTION_CD ,A.DISPLAY_PLN_SEQ ,A.DISPLAY_OPT_SEQ ,A.OPTION_ID ,A.OPTION_TYPE ,A.BENEFIT_PLAN ,A.COVRG_CD ,A.OPTION_LVL ,A.DEFAULT_IND ,A.PROOF_REQ_IND ,A.HISTORY_ONLY ,A.CALCULATED_BASE ,A.PREMIUM_BASE ,A.DED_CLASS ,A.BAS_TAX_IMPACT ,A.PAY_PERIOD1 ,A.PAY_PERIOD2 ,A.PAY_PERIOD3 ,A.PAY_PERIOD4 ,A.PAY_PERIOD5 ,A.PLAN_TYPE ,A.BENEFIT_PROGRAM ,A.EVENT_DT ,B.CROSS_PLAN_TYPE ,B.CROSS_BENEF_PLAN ,B.CROSS_PLN_DPND_CHK ,B.COVERAGE_LIMIT_PCT FROM PS_BAS_PARTIC_OPTN A ,PS_BEN_DEFN_OPTN B WHERE A.HISTORY_ONLY = 'N' AND B.BENEFIT_PROGRAM = A.BENEFIT_PROGRAM AND B.PLAN_TYPE = A.PLAN_TYPE AND B.OPTION_ID = A.OPTION_ID AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_BEN_DEFN_OPTN C WHERE B.BENEFIT_PROGRAM = C.BENEFIT_PROGRAM AND B.PLAN_TYPE = C.PLAN_TYPE AND B.OPTION_ID = C.OPTION_ID AND C.EFFDT <= A.EVENT_DT) |
# | 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 |
5 | OPTION_CD | Character(3) | VARCHAR2(3) NOT NULL | Option Code |
6 | DISPLAY_PLN_SEQ | Character(2) | VARCHAR2(2) NOT NULL | Display Plan-type Sequence |
7 | DISPLAY_OPT_SEQ | Number(3,0) | SMALLINT NOT NULL | Display Option Sequence |
8 | OPTION_ID | Number(4,0) | SMALLINT NOT NULL | Option ID |
9 | OPTION_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Option Type
D=General Deduction G=General Credit O=Option P=Program W=Waive Option |
10 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL | Benefit Plan |
11 | COVRG_CD | Character(2) | VARCHAR2(2) NOT NULL |
Coverage Code
Prompt Table: COVRG_CD_TBL |
12 | OPTION_LVL | Number(2,0) | SMALLINT NOT NULL | Option Level |
13 | DEFAULT_IND | Character(1) | VARCHAR2(1) NOT NULL |
An internal flag used by Benefits Administration to indicate whether a specific benefit option is the 'default' option - that is, if the employee fails to make a valid election, this option will be enrolled by default.
Y/N Table Edit |
14 | PROOF_REQ_IND | Character(1) | VARCHAR2(1) NOT NULL |
Proof Required
Y/N Table Edit |
15 | HISTORY_ONLY | Character(1) | VARCHAR2(1) NOT NULL |
History Only
Y/N Table Edit |
16 | CALCULATED_BASE | Number(11,2) | DECIMAL(10,2) NOT NULL | Coverage Base |
17 | PREMIUM_BASE | Number(11,2) | DECIMAL(10,2) NOT NULL | Premium Base |
18 | DED_CLASS | Character(1) | VARCHAR2(1) NOT NULL |
Deduction Classification
A=After-Tax B=Before-Tax L=QC Taxable Benefit N=Nontaxable Benefit P=Nontaxable Btax Benefit T=Taxable Benefit |
19 | BAS_TAX_IMPACT | Character(1) | VARCHAR2(1) NOT NULL |
This field is used to indicate whether a calculated deduction includes a possible tax effect, such as imputed income from group term life or dependent life.
Y/N Table Edit |
20 | PAY_PERIOD1 | Character(1) | VARCHAR2(1) NOT NULL |
First Pay Period
Y/N Table Edit |
21 | PAY_PERIOD2 | Character(1) | VARCHAR2(1) NOT NULL |
Second Pay Period
Y/N Table Edit |
22 | PAY_PERIOD3 | Character(1) | VARCHAR2(1) NOT NULL |
Third Pay Period
Y/N Table Edit |
23 | PAY_PERIOD4 | Character(1) | VARCHAR2(1) NOT NULL |
Fourth Pay Period
Y/N Table Edit |
24 | PAY_PERIOD5 | Character(1) | VARCHAR2(1) NOT NULL |
Fifth Pay Period
Y/N Table Edit |
25 | 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. |
26 | BENEFIT_PROGRAM | Character(3) | VARCHAR2(3) NOT NULL | Defines a collection of benefit plans and their associated rate and calculation rules. |
27 | EVENT_DT | Date(10) | DATE NOT NULL | Event Date |
28 | CROSS_PLAN_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Cross Plan Type
Prompt Table: BNE_PLANTYPE_VW |
29 | CROSS_BENEF_PLAN | Character(6) | VARCHAR2(6) NOT NULL | Cross Benefit Plan |
30 | CROSS_PLN_DPND_CHK | Character(1) | VARCHAR2(1) NOT NULL | Cross Plan Dependent Check |
31 | COVERAGE_LIMIT_PCT | Number(6,2) | DECIMAL(5,2) NOT NULL | Cross Coverage Limit Pct |