CheckForPrintedCOBRALetter

Check for Printed COBRA letter

Minor Business Rule

Object Name: N0800276

Parent DLL: CHRM

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose 

The purpose of this function is to delete all messages from the work center and write the JDEDEBUG file.



1.2Setup Notes and Prerequisites


Source Data Structure


Data Item Data Structure DescriptionI/OReqNotes

PAN8mnParticipantAddressIyThe address number of the COBRA Participant

QE1szQualifyingEvent1IyEvent that qualified a participant for COBRA 

coverage

QD1jdQualifyingEventDate1IyThe date that qualifying event took place

QDM1jdDateMailedQualEv1OnThe date the election notice was mailed to the 

qualified beneficiary for the first qualifying event. 

DS01szReturnValueOnThe flag that indicates if ther is an error

ISTKEYszSERKKeyDataIn

QE2szQualifyingEvent2InThe subsequent Qualifying Event.

QD2jdQualifyingEventDate2InThe Subsequent Qualifying Event Date.



Related Tables 

Table Table Description F08910COBRA Qualified Beneficiary File

Related Business Functions

B0800278         Write to JDEDEBUG log file

B9000090ConvertKeyDataDelimiter

B0800144Get Next Field From String




Special Logic



2.   Technical Specifications


1.0Fetch from F08910, the date the election notice was mailed to qualified beneficiary.
2.0If the fetch from F08910 fails, set an error and write to JDEDEBUG file.
3.0If the fetch from F08910 is success,

3.1Check to see if the date notice mailed is not equal to null date
3.2Call ConvertKeyDataDelimiter function to convert ~ delimiter to | delimiter.
3.3Call Get Next Field From String function.

3.4Delete all messages from the work center. 

3.5Write To JDEDEBUG Log File.


Data Structure

D0800276 - Check for Printed COBRA letter

Data Item Data Structure DescriptionI/OReqNotes
PAN8mnParticipantAddressIyThe address number of the COBRA Participant

QE1szQualifyingEvent1IyEvent that qualified a participant for COBRA 

coverage

QD1jdQualifyingEventDate1IyThe date that qualifying event took place

QDM1jdDateMailedQualEv1OnThe date the election notice was mailed to the 

qualified beneficiary for the first qualifying event. 

DS01szReturnValueOnThe flag that indicates if ther is an error

ISTKEYszSERKKeyDataIn

QE2szQualifyingEvent2InThe subsequent Qualifying Event.

QD2jdQualifyingEventDate2InThe Subsequent Qualifying Event Date.


Parameter NameData ItemData TypeReq/OptI/O/Both
mnParticipantAddressPAN8MATH_NUMERICREQINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
PAN8abab  mnParticipantAddressabab  Iab  yabThe address number of the COBRA Participant


szQualifyingEvent1QE1charREQINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
QE1abab  szQualifyingEvent1abab  Iab  yabEvent that qualified a participant for COBRA coverage

jdQualifyingEventDate1QD1JDEDATEREQINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
QD1abab  jdQualifyingEventDate1abab  Iab  yabThe date that qualifying event took place


jdDateMailedQualEv1QDM1JDEDATEOPTOUTPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
QDM1abab  jdDateMailedQualEv1abab  Oab  nabThe date the election notice was mailed to the qualified 

beneficiary for the first qualifying event. 


szReturnValueDS01charOPTOUTPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
DS01abab  szReturnValueababab  Oab  nabThe flag that indicates if ther is an error

szSERKKeyDataISTKEYcharOPTINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes

szQualifyingEvent2QE2charOPTINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
QE2abab  szQualifyingEvent2abab  Iab  nabThe subsequent Qualifying Event.


jdQualifyingEventDate2QD2JDEDATEOPTINPUT

Data Item  ab Data Structure  Descriptionabab  I/Oab  Reqab Notes
QD2abab  jdQualifyingEventDate2abab  Iab  nabThe Subsequent Qualifying Event Date.


Related Functions

None

Related Tables

None