CreateCOBRALetter

Create COBRA Letter

Minor Business Rule

Object Name: N0800094

Parent DLL: CHRM

Location: Client

Language: NER

1.Functional Description


1.1Purpose
Retrieve the information necessary to create a COBRA letter. Call the P980013 application to produce the letter.


1.2Setup Notes and Prerequisites



1.3Special Logic



2.Technical Specifications


2.1Parameters


Data Item Data Structure DescriptionI/OReqNotes

AN8szAddressNumberIyThe address book number of the employee.

DTjdDateTerminatedInThe date that the employee was terminated

EFTEjdDateEndingEfectiveInThe date on which the COBRA coverage ends

OBNMszDocumentNameIyThe COBRA document name.




2.2Related Tables 

Table Table Description F0111Address Book F0116Address By Date

2.3   Related Business Functions

Table Table Description B9800100Get Audit Information N0800064Check COBRA Eligible B0500029Open Data File B0500029Write COBRA 

Letter B0500029Close Data File




Processing:


//Get the Mailing Name

//

Call  F0111 Get Mailing Name

Call  F0116 Get Effective Address


 // *******************************************************************

 // Get the current date

 // ******************************************************************

Call Get Audit Information


 // **********************************************************************

 // If the Effective date of the Major medical plan that makes the employee COBRA

 // eligible is not supplied then get it.

 // **********************************************************************

 If BF jdDateEndingEffective is equal to  Or BF jdDateEndingEffective is equal to 

     Call  Check COBRA Eligible

 End If

 //

Call Open Data File


Call  Write COBRA Letter - Version 2


Call Close Data File

 //

//Form interconnect to the application that generates the merge letter

//

 Call( App:P980013 , Form: W980013C )




Data Structure

D0800094 - Create COBRA Letter

Parameters

Data Item Data Structure DescriptionI/OReqNotes

AN8szAddressNumberIyThe address book number of the employee.

DTjdDateTerminatedInThe date that the employee was terminated

EFTEjdDateEndingEfectiveInThe date on which the COBRA coverage ends

OBNMszDocumentNameIyThe COBRA document name.


Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab Notes
AN8abab  szAddressNumberabab  Iab  yabThe address book number of the employee.

jdDateTerminatedDTJDEDATEOPTINPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab Notes
DTabab  jdDateTerminatedabab  Iab  nabThe date that the employee was terminated


jdDateEndingEffectiveEFTEJDEDATEOPTINPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab Notes
EFTEabab  jdDateEndingEfectiveab  Iab  nabThe date on which the COBRA coverage ends


szDocumentNameOBNMcharREQINPUT

Data Item  ab Data Structure  Descriptionab  I/Oab  Reqab Notes
OBNMabab  szDocumentNameabab  Iab  yabThe COBRA document name.

Related Functions

None

Related Tables

None