Functional Description
Check for overlapping dates based upon the input parameters and the existing records in
F08990/F089901(COBRA General Constants/COBRA General Constants Additional Information) and F08990(Qualifying Event
Constants).
Purpose
The purpose of this business function is to check for overlapping dates in the COBRA constant files (F08990, F089901,
F08991). If the P08990 is passed as an input parameter for program id, the records in tables F08990/F089901 will be
compared with the input parameters and checked for an existing record with overlapping dates. If the P08991 is passed as an input
parameter for program id table F08991will be will be compared with the input parameters and checked for an existing
record with overlapping dates.
The comparison between the input parameters and the existing records is done in a hierarchical manner based upon the
primary keys. The input parameters are Company, Qualifying Event, Tax Area Residence, Cost Center, Date Beginning
Effective, Date Ending Effective and Program ID.
If an overlapping date is found the output parameter ErrorStatus is returned as '1'.
Setup Notes and Prerequisites
If P08990 is being used as the program id Company, Tax Area Residence, Cost Center, Date Beginning Effective, Date
Ending Effective and Program Id must all be passed in as input parameters.
If P08991 is being used as the program id Company, Qualifying Event, Tax Area
Residence, Cost Center, Date Beginning Effective, Date Ending Effective and Program
Id must all be passed in as input parameters.
'b7'b7
Special Logic
Parameters:
Data ItemData Structure Description I/O Required Notes
COszCompany IY
QE1szQualifyingEvent1 INQE is only required if P08991 is being passed in as the program id.
TARRSzTaxAreaResidence IY
HMCUszCostCenterHome IY
EFTBjdDateBeginningEffective IY
EFTEjdDateEndingEffective IY
PIDszProgramId IYEither use P08991 or P08990
EV01cErrorStatus_EV01 ONReturns a 1 if an overlapping date is found. Returns a
0 if an overlapping date is not found.
Related Tables
Table Table Description
F08990COBRA General Constants
F089901COBRA General Constants Additional Information
F08991COBRA Qualifying
Event Constants
Technical Specification
1.0If ProgramId = P08990 (Testing Dates for application P08990)
NOT=blank.
D0800290 - Validate COBRA Constant Dates
Data Item Data Structure DescriptionI/ORequiredNotes
COSzCompanyIY
QE1szQualifyingEvent1INQE is only required if P08991 is being passed in
as the program
id.
TARRSzTaxAreaResidenceIY
HMCUszCostCenterHomeIY
EFTBjdDateBeginningEffectiveIY
EFTEJdDateEndingEffectiveIY
PIDSzProgramIdIYEither use "P08991" or "P08990"
EV01CErrorStatus_EV01ONReturns a '1' if an overlapping date is found. Returns a '0' if an overlapping
date is not found.
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCompany | CO | char | OPT | INPUT |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szQualifyingEvent1 | QE1 | char | OPT | INPUT |
A user defined code (08/QE) that indicates the initial event that qualified a participant for COBRA continuation coverage. | ||||
szTaxAreaResidence | TARR | char | OPT | INPUT |
A code that identifies both the geographical location and the tax authorities for the employee's residence. Authorities include employee
| ||||
szCostCenterHome | HMCU | char | OPT | INPUT |
The number of the business unit in which the employee generally resides. | ||||
jdDateBeginningEffective | EFTB | JDEDATE | OPT | INPUT |
The date that an address, item, transaction, or table record becomes active. The meaning of this field differs, depending on the program.
| ||||
jdDateEndingEffective | EFTE | JDEDATE | OPT | INPUT |
The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used
| ||||
szProgramId | PID | char | OPT | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cErrorStatus_EV01 | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. |
None |
None |