Functional Description
This function is used to retrieve the description for the Benefit Group (DIVC), Benefit Category
(SBGR) or both.
Purpose
Setup Notes and Prerequisites
Special Logic
Technical Specification
ERROR CODES
0 = No Errors
1 = Benefit Group not in F00191
2 = Benefit Group Category not in F00191
3 = Benefit Group and Category not in F00191
Get the length of the data item KEY
If the Benefit Group Description is requested (Description to Fetch is 1 or 3)
Get the Code Length from F0019
Right Pad the szBenefitGroupCode to the Code Length
Left Pad the szBenefitGroupCode to the length of the data item KEY
Assign the Benefit Group System Code, Report Type, and Key (SY=06, RT=BG, KY=BF szBenefitGroupCode)
Use the padded szBenefitGroupCode to fetch the description from F00191.
If the Benefit Category Description is requested (Description to Fetch is 2 or 3)
Get the Code Length from F0019
Right Pad the szBenefitGroupCategory to the Code Length
Left Pad the szBenefitGroupCategory to the length of the data item KEY
Assign the Benefit Category System Code, Report Type, and Key (SY=08, RT=SG, KY=BF
szBenefitGroupCategory)
Use the padded szBenefitGroupCategory to fetch the description from F00191.
DN0800070 - Get Benefit Group/Category Description
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBenefitGroupCode | DIVC | char | OPT | INPUT |
The benefit group to which the employee is assigned. Benefit groups facilitate employee enrollment by categorizing benefit plans and
| ||||
szBenefitGroupCategory | SBGR | char | OPT | INPUT |
The category of a benefit group. The category is used to group benefit plans according to the type and/or rule. For
| ||||
szBenefitGroupDescription | DL01 | char | OPT | OUTPUT |
A user defined name or remark. | ||||
szBenefitCategoryDescription | DL01 | char | OPT | OUTPUT |
A user defined name or remark. | ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
Significant Data Values
| ||||
cDescriptionToFetch | EV01 | char | REQ | INPUT |
Significant Data Values
|
None |
None |