DeletePlanAndOptionDBARecords
F08330 Transaction Business Function
Master Business Function
Object Name: N0800044
Parent DLL: CHRM
Location: Client/Server
Language: NER
Functional Description
Purpose
The purpose of this NER is to delete all DBA information for a given Address Number, DBA, and Begin
Date.
Setup Notes and Prerequisites
This NER is designed to be called from other NERs in N0800044 and is not designed to be called from
any other application or NER.
Special Logic
Technical Specifications
Fetch the DBAs and Options for the given Plan ID and Plan Additional Option from F083202.
If this fetch is successful then set cOptionFlag = "1"
End If
If cOptionFlag is equal to Or cOptionFlag is equal to "1"And cOption (From F083202) is
not equal to "3" then
If passed in DBA is not equal to then
Delete f06106 with keys Address Number, Passed in DBA ID, and DBA Begin Date
End If
End If
If cOptionFlag is equal to "1" And cOption (From F083202) is not equal
to "1" And DBA ID (From F083202) is not equal to then
Delete f06106 with keys Address Number, DBA ID (From F083202), and DBA Begin Date
End If
This code repeats four times using the Employee Dollar DBA and Option,
Employer Dollar DBA and Option, Employee Points DBA and Option, (Not Supported in B732), and Employer
Points DBA and Option. (Not Supported in B732).
Options are not used in B733.
Data Structure
D0800044H - Delete Plan and Option DBA Record
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
location.
|
szPlanId | PLAN | char | OPT | INPUT |
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.
|
szPlanAdditionalOption | AOPT | char | OPT | INPUT |
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.
|
jdDateDbaBegins | DTDB | JDEDATE | OPT | INPUT |
The beginning date on the employee's DBA instruction record (F06106) for this enrollment. In most cases, this is the same as the beginning
effective date of the enrollment. However, it can be later than the beginning effective date if the enrollment is changed retroactively.
Only
active enrollment records have a value in this field since they are the only enrollment records that result in payroll deductions, benefits, or
accruals. Active records have a beginning status that starts with A. |
jdDateEffectiveRates | EFT | JDEDATE | OPT | INPUT |
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.
|
mnEmployeeDbaId | FDBA | MATH_NUMERIC | OPT | INPUT |
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. |
mnDbaEmployerId | SDBA | MATH_NUMERIC | OPT | INPUT |
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. |
mnPayrollDedPoints | PDDP | MATH_NUMERIC | OPT | INPUT |
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. |
mnPayrollCreditPoints | PDCP | MATH_NUMERIC | OPT | INPUT |
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. |
mnEmployeeDbaIdOption | FDBA | MATH_NUMERIC | OPT | INPUT |
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. |
mnDbaEmployerIdOption | SDBA | MATH_NUMERIC | OPT | INPUT |
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. |
mnPayrollDedPointsOption | PDDP | MATH_NUMERIC | OPT | INPUT |
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. |
mnPayrollCreditPointsOption | PDCP | MATH_NUMERIC | OPT | INPUT |
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. |