DetermineNextPreviousCategory

Determine Next/Previous Benefit Category

Minor Business Rule

Object Name: N0800076

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose


This NER determines the next or previous category in the Category Within Benefit Groups file 
(F08350). The order is determined by the sequence numbers for the categories within the same benefit group. If 

no open next or previous benefit category is found, the NER returns an error code of '1' or greater. 

If the record is found, the NER returns an error code of '0'. 



Setup Notes and Prerequisites


Special Logic




Technical Specification


szBenefitGroup - Required input field.

szCurrentBenefitCategory - Required input field.

szEnrollmentEventCode - Required input field.

cActionFlag - Required input field ('N' to retrieve the next category, 'P' to retrieve the previous 

category)


szNextPreviousCategory - Output field.

cCategoryRule - Output field.

cErrorCode - Output field.


cErrorCode values are as follows:

0 = No Errors, next/previous category found.

1 = Error, no next/previous category found.

2 = Error, the benefit group/benefit category entered was not found.

3 = Error, the action flag has an invalid value (not a 'N' or 'P')

Data Structure

D0800076 - Determine Next/Previous Category Data Structure


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szBenefitGroupCodeDIVCcharREQINPUT

The benefit group to which the employee is assigned. Benefit groups facilitate employee enrollment by categorizing benefit plans and 
allowing enrollment rules for those categories. For example, assigning an employee to an executive (EXEC) benefit group automatically links the 
employee to the benefits available to executives in your organization.

szCurrentBenefitCategorySBGRcharREQINPUT

The category of a benefit group. The category is used to group benefit plans according to the type and/or rule. For 
example: MEDICAL Required Medical Selections   DENTAL Optional Dental Selections   LIFE Required Life Ins Selections Valid categories are set up in the Generic 
Rate and Message table (F00191) for system 08/type SG. Associated text for categories is stored in the General Message Detail table 
(F00192). For more information, see program P00191.

cActionFlagEV01charREQINPUT

An option that specifies the type of processing for an event.

szNextPreviousCategorySBGRcharOPTOUTPUT

The category of a benefit group. The category is used to group benefit plans according to the type and/or rule. For 
example: MEDICAL Required Medical Selections   DENTAL Optional Dental Selections   LIFE Required Life Ins Selections Valid categories are set up in the Generic 
Rate and Message table (F00191) for system 08/type SG. Associated text for categories is stored in the General Message Detail table 
(F00192). For more information, see program P00191.

cEverestEventPoint01_2EV01charOPTOUTPUT

An option that specifies the type of processing for an event.

cCategoryRuleSGRUcharOPTOUTPUT

A rule that defines the election criteria for a benefit category. Valid codes are: O Optional. The enrollee may choose one.   R Required. The 
enrollee must choose one. Blank No rule applies. The enrollee may choose any item or items.

szEnrollmentEventCodeEECDcharREQINPUT

The user defined code (08/BE) that you use to denote an enrollment event such as marriage.

Related Functions

None

Related Tables

None