BAS_PAR_PNCSTVW(SQL View) |
Index Back |
---|---|
BAS Partic plan and cost joinJoins the BAS_PARTIC_OPTN to BAS_PARTIC_COST to get costs by benefit plan. Used by the compare plans component. |
SELECT A.SCHED_ID ,A.EMPLID ,A.BENEFIT_RCD_NBR ,A.EVENT_ID ,A.PLAN_TYPE ,A.BENEFIT_PLAN ,A.DISPLAY_PLN_SEQ ,A.DISPLAY_OPT_SEQ ,A.OPTION_TYPE ,A.COVRG_CD ,COST_ID ,COST_TYPE ,ERNCD ,ANNL_AMT_A_TAX ,ANNL_AMT_B_TAX ,ANNL_AMT_NT_TAX ,DEDN_AMT_A_TAX ,DEDN_AMT_B_TAX ,DEDN_AMT_NT_TAX ,PROVINCE ,CNSLSTX_AMT ,CNSLSTX_ANN_AMT FROM PS_BAS_PARTIC_OPTN A , PS_BAS_PARTIC_COST B WHERE A.SCHED_ID = B.SCHED_ID AND A.EMPLID = B.EMPLID AND A.BENEFIT_RCD_NBR = B.BENEFIT_RCD_NBR AND A.EVENT_ID = B.EVENT_ID AND A.PLAN_TYPE = B.PLAN_TYPE AND A.OPTION_ID = B.OPTION_ID |
# | 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 | 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. |
6 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL | Benefit Plan |
7 | DISPLAY_PLN_SEQ | Character(2) | VARCHAR2(2) NOT NULL | Display Plan-type Sequence |
8 | DISPLAY_OPT_SEQ | Number(3,0) | SMALLINT NOT NULL | Display Option Sequence |
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 | COVRG_CD | Character(2) | VARCHAR2(2) NOT NULL | Coverage Code |
11 | COST_ID | Number(4,0) | SMALLINT NOT NULL | Cost Identification |
12 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates how the employee-paid portion of a benefit plan is paid, either as Cost (C) or Price (P). 'Price' indicates that the benefit is paid from an employee payroll deduction. 'Credit' specifies that the system calculates additional earnings which are used as credit to pay for a benefit.
C=Credit P=Price |
13 | ERNCD | Character(3) | VARCHAR2(3) NOT NULL | Earnings Code |
14 | ANNL_AMT_A_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's annual cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
15 | ANNL_AMT_B_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's annual cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
16 | ANNL_AMT_NT_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's annual cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
17 | DEDN_AMT_A_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's per-pay-period cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
18 | DEDN_AMT_B_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's per-pay-period cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
19 | DEDN_AMT_NT_TAX | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | This field holds the tax-class detail for an Option's per-pay-period cost as calculated by Benefits Administration. The "employer" cost represents the sum of any N-Tax and T-Tax cost components. |
20 | PROVINCE | Character(6) | VARCHAR2(6) NOT NULL | Province |
21 | CNSLSTX_AMT | Signed Number(9,2) | DECIMAL(7,2) NOT NULL | Canadian Sales Tax Amount |
22 | CNSLSTX_ANN_AMT | Signed Number(9,2) | DECIMAL(7,2) NOT NULL | Canadian Annual Sales Tax Amt |