DeterminePlanOptionDBAsAndRates

Determine Plan Or Option DBA's and Rates to Use

Minor Business Rule

Object Name: N0800202

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

To provide a common routine to get the applicable plan or option dba's and any overrride rates for 

the dba's, depending on the option rules.


If the enrollment type is of open enrollment, the NER locates a cross reference record in F08515 for 

the original dba.  The cross reference dba is set up to hold the new dba rate for the new enrollment 

year.  If a cross reference dba is found, the cross reference dba is passed back, and the NER does not 

attempt to find any override rates for the cross reference dba.


For enrollment event NOT of open enrollment, or for those dba's which do not have a cross reference 

record for open enrollment event, the NER determines whether the rates should come from F083203 or 

F083202.  This is determined by the option rules and whether the additional/override rate in F083202 is 

zero.  (see special logic below)


If the rate does not come from F083203 and F083202, no rate is passed back, which indicates to the 

calling program that the default rate is from the DBA master (F069116)



Setup Notes and Prerequisites


Special Logic

The table below illustrates the different scenarios, and what rate is being retrieved for the 

different cases:



Plan Rate:
                                                                                                   Overide Plan
Plan DBADate Sensitive Plan Rate  (F083203)      Rate Used 

Yes                            Yes                                                    F083203 Rate

Yes                          No                                                   No Override Rate 


                              

Option Rate:

                                                            DBA Rate          Add'l Rate       Add'l Rate            Override Opt
Scenarios:   Option Rule   Option DBA    (F083203)-A       (F083202) - B      (F083203) - C          Rate Used                                                   

1                   Rule 1Blank              N/A                           Yes        Yes                Rate C

2     Rule 1Blank              N/A            Yes                        No                Rate B

3     Rule 1Blank              N/A                           No          Yes                Rate C

4     Rule 1Blank              N/A                 No                        No                No Rate

5     Rule 2 & 3Required        Yes                          Yes                        Yes                Rate C

6     Rule 2 & 3Required        Yes                         Yes                        No                Rate B

7     Rule 2 & 3Required        Yes                         No                       Yes                Rate A (Note: Rate C is ignored,                                                      

                                                                                                                                                                                                                                                                                

     because Rate B = 0)

8     Rule 2 & 3Required       Yes                         No                       No                Rate A

9     Rule 2 & 3Required       No                         Yes                       Yes                Rate C

10     Rule 2 & 3Required       No                         Yes                       No                Rate B

11     Rule 2 & 3Required       No                         No                      Yes                No Override Rate-(Note: Rate C is                                                   

                                                                                                                                                                                                                                                                                

                                                                                                                                                                           ignored,  because Rate B =0)

12     Rule 2 & 3Required      No                         No                      No                No Override Rate

  

            Option Rule 1: 
            - The applicable DBA is the plan DBA. 

            -  If there is an override plan rate and an option rate, only one override rate, which is the sum of the override plan rate and 

               the override option rate, is passed back for the plan DBA.

             

                
Option Rule 2:  

- The applicable DBA's are the plan DBA and option DBA's.

                - If there are override plan rate and override option rate, the two override rates are passed back separately in the 
                  appropriate output parameters.


                Option Rule 3:   

-The applicable DBA is the option DBA.
- If there is an override option rate, the override option rate is passed back for the option dba.




Technical Specification


If open enrollment, locate the cross reference record in F08515 for each of the plan or option dba's. 

 If there is cross reference record, the cross reference dba is passed back.  The NER does not 

attempt to retrieve override rate from F083203 or F083202 for those cross reference dba's, and no override 

rate is passed back to the calling program for those dba's, which indicates to the calling program that 

rate would default from the DBA master (F069116)


For enrollement event NOT of open enrollment or for those plan or option dba's which do not have 

cross reference dba records for open enrollment, the NER determines whether there is an override rate from 

F083203 or F083202 to use.  See special logic on on how the option rules governs the applicable dba's 

and the override rates to use.


Only applicable dba's are passed back with any override rates.  If there is no override rate, the 

rate passed back is zero, to indicate to the calling program that the default rate would then come from 

the DBA master table, F069116.

  



Data Structure

D0800202 - Determine Plan Or Option DBA's and Rates to Use

Parameter NameData ItemData TypeReq/OptI/O/Both
szPlanIdPLANcharREQINPUT

An abbreviation or number that identifies a specific employee benefit. Examples are:   o  Employee Health Insurance   o  Accidental Death 
and Dismemberment   o  Health Club Expense Reimbursement   o  Employee Stock Appreciation Rights  A benefit plan typically is associated 
with a deduction, benefit, or accrual. For example, a medical plan is a benefit that might also require a deduction to withhold premiums from 
an employee's pay.

szOptionAOPTcharOPTINPUT

A code that identifies any additional options available for a benefit plan that have been defined in the Plan Additional Options table 
(F083202). Note: Additional options must have the same provider, policy number, and enrollment and eligibility rules as the benefit plan to which they 
are associated.

jdDateEffectiveRatesEFTJDEDATEREQINPUT

The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost 
effective date, a currency effective date, a tax rate effective date, or whatever is appropriate.

mnPlanPayrollDedDBAFDBAMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that is used to calculate the dollar amount that the employee 
contributes by enrolling in the plan. In most cases, this DBA is defined to deduct pay from the enrolled employee's check.

mnRateToUseForPlanPayDedRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

mnPlanPaidBenefitDBASDBAMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that the system uses to calculate the dollar amount that the 
employer contributes to the employee enrolled in the plan. In most cases, this DBA is defined as a benefit to add pay to the enrolled employee's 
check.

mnRateToUseForPlanPaidBenefitRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

mnPlanFlexCostDBAPDDPMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants file (F069116) that is used to calculate the points amount that the employee 
contributes by enrolling in the plan in a flexible spending environment. DBAs used for points in a benefit plan or option must meet two requirements: 1. 
  The DBA must have blanks in the specification for Gross Effect and Net Effect (see data items PAYG and PAYN) so that the use of 
(non-dollar) points does not add or subtract dollars from employee pay. 2.   The DBA must have an M in the specification for Journal Entry (Y/N/M) 
(see data item NMTH) so that the use of (non-dollar) points does not affect the G/L system.

mnRateToUseForPlanFlexCostRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

mnPlanFlexCreditDBAPDCPMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that will be used to calculate the points amount that the employer 
contributes to an employee enrolled in a flexible spending environment. DBAs used for points in a benefit plan or option must meet two 
requirements: 1.   The DBA must have blanks in the specification for gross effect and net effect (see data items PAYG and PAYN) so that the use of 
(non-dollar) points does not add or subtract dollars from employee pay. 2.   The DBA must have an M in the specification for Journal Entry 
(Y/N/M) (see data item NMTH) so that the use of (non-dollar) points does not affect the G/L system.

mnRateToUseForPlanFlexCreditRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

cOptRulePayrollDedOPR1charOPTOUTPUT

A code that specifies the rule that the system uses to determine the specific DBA to add to an employee's DBA instructions when the 
employee is enrolled in a plan. This rule also includes the amount or rate to use. Valid values are: 1 Plan DBA - Use the employee share from the 
DBA for the specified plan. You can also include an additional amount or rate that the system adds in the calculation. No DBA is allowed for 
the option. 2 Plan and Option DBAs - The system uses both the DBA for the plan and the DBA for the option. The two DBAs must have different 
code numbers. 3 Option DBA - Use the employee share from the option DBA. Use the additional amount from the option, if any.

mnOptPayrollDedDBAFDBAMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that is used to calculate the dollar amount that the employee 
contributes by enrolling in the plan. In most cases, this DBA is defined to deduct pay from the enrolled employee's check.

mnRateToUseForOptPayDedRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

cOptRulePaidBenefitOPR2charOPTOUTPUT

A rule that indicates the specific DBA to add to the employee's DBA instructions when an employee is enrolled in a plan.  This rule also 
includes the amount or rate to use. The valid rules the system uses are: Rule    1   PLAN DBA -     Use the Employee Share DBA from the 
specified Plan. Add the Additional Amount from the option to the amount/rate from the plan employee share DBA. No DBA is allowed for the option.    
2   BOTH DBAs -  For the Plan DBA --------> Amount to default from DBA definition.        For the OPTION DBA ------> Use Additional Amount from 
option.        Plan/Option DBAs must be different.    3   OPTION DBA - Use the Employee Share DBA from the Option. Use the Additional 
Amount from the option, if any.

mnOptPaidBenefitDBASDBAMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that the system uses to calculate the dollar amount that the 
employer contributes to the employee enrolled in the plan. In most cases, this DBA is defined as a benefit to add pay to the enrolled employee's 
check.

mnRateToUseForOptPaidBenRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

cOptRuleOptFlexCostOPR3charOPTOUTPUT

A rule that indicates the specific DBA to add to the employee's DBA instructions when an employee is enrolled in a plan.  This rule also 
includes the amount or rate to use. The valid rules the system uses are: Rule    1   PLAN DBA -    Use the Employee Share DBA from the 
specified Plan. Add the Additional Amount from the option to the amount/rate from the plan employee share DBA. No DBA is allowed for the option.    
2   BOTH DBAs -  For the Plan DBA --------> Amount to default from DBA definition.        For the OPTION DBA ------> Use Additional Amount from 
option.        Plan/Option DBAs must be different.    3   OPTION DBA - Use the Employee Share DBA from the Option. Use the Additional 
Amount from the option, if any.

mnOptFlexCostDBAPDDPMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants file (F069116) that is used to calculate the points amount that the employee 
contributes by enrolling in the plan in a flexible spending environment. DBAs used for points in a benefit plan or option must meet two requirements: 1. 
  The DBA must have blanks in the specification for Gross Effect and Net Effect (see data items PAYG and PAYN) so that the use of 
(non-dollar) points does not add or subtract dollars from employee pay. 2.   The DBA must have an M in the specification for Journal Entry (Y/N/M) 
(see data item NMTH) so that the use of (non-dollar) points does not affect the G/L system.

mnRateToUseForOptFlexCostRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

cOptRuleFlexCreditOPR4charOPTOUTPUT

A rule that indicates the specific DBA to add to the employee's DBA instructions when an employee is enrolled in a plan.  This rule also 
includes the amount or rate to use. The valid rules the system uses are: Rule    1   PLAN DBA -    Use the Employee Share DBA from the 
specified Plan. Add the Additional Amount from the option to the amount/rate from the plan employee share DBA. No DBA is allowed for the option.    
2   BOTH DBAs -   For the Plan DBA --------> Amount to default from DBA definition.        For the OPTION DBA ------> Use Additional Amount 
from option.        Plan/Option DBAs must be different.    3   OPTION DBA - Use the Employee Share DBA from the Option. Use the Additional 
Amount from the option, if any.

mnOptFlexCreditDBAPDCPMATH_NUMERICOPTOUTPUT

The DBA defined in the Payroll Transactions Constants table (F069116) that will be used to calculate the points amount that the employer 
contributes to an employee enrolled in a flexible spending environment. DBAs used for points in a benefit plan or option must meet two 
requirements: 1.   The DBA must have blanks in the specification for gross effect and net effect (see data items PAYG and PAYN) so that the use of 
(non-dollar) points does not add or subtract dollars from employee pay. 2.   The DBA must have an M in the specification for Journal Entry 
(Y/N/M) (see data item NMTH) so that the use of (non-dollar) points does not affect the G/L system.

mnRateToUseForOptFlexCrdtRTAMMATH_NUMERICOPTOUTPUT

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

mnEnrollmentEventTypeEVETMATH_NUMERICOPTINPUT

A field that indicates the event during which the enrollment occurs. Valid values include:    1   Open Enrollment    2   Enrollment for current plan 
year

cErrorFlagEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cDoNotGetRatesFlagEV01charOPTINPUT

An option that specifies the type of processing for an event.

cPlanTypeCodePLNTcharOPTINPUT

A code which indicates whether the rates are Benefit Plans or COBRA Plans.

Related Functions

None

Related Tables

None