1.Functional Description
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
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 )
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 Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
jdDateTerminated | DT | JDEDATE | OPT | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
jdDateEndingEffective | EFTE | JDEDATE | OPT | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes | ||||
szDocumentName | OBNM | char | REQ | INPUT |
Data Item ab Data Structure Descriptionab I/Oab Reqab Notes |
None |
None |