OAB FASTFORMULA

REFERENCE GUIDE

Prepared by Authors: Prasad Bodla Vikas Sethi Nagaraj Hunur Trevor Mathers Ty Hayden Creation Date: Last Updated: Status: Version: 21 - Feb - 2002 22 - Aug - 2006 ……… 1.3

Copyright (C) 2005 Oracle Corporation All Rights Reserved

Change History of this Document
Date Section No. Author Remarks/Changes

25NOV 2003 17MAR -05 11MAY -05 29Nov05 10Feb06 10Feb 06 04 May 06 22Aug_ 2006

Chapter 2

Prasad Bodla Prasad Bodla Prasad Bodla Prasad Bodla Nagaraj Hunur Nagaraj Hunur Nagaraj Hunur Nagaraj Hunur

Added entries for 2 new formula types: Person Change Causes Life Event and Rate Value Calculation Added entries for 3 new formula types for FP J: Range of Scheduled Hours, Manager Hierarchy, Rate Periodization Added entries for 2 new formulat types for FP K: Eligibility Access Calculation Rule and Election Value Range Rule New list of product data base items added Corrected the sample code for the Fast Formula: BEN_AGE_CALC Updated the content for the Mandatory Determination Fast Formula Updated the default to assign pending action fast formula. Added the Compensation Item rule formula type.

Chapter 1 : Introduction
• FastFormula is a way to customize the existing functionality in Oracle Standard and Advanced Benefits (OAB). Formulas in OAB are pieces of code which can receive information from calling program (packages), access database information and return values to the calling program. The calling program can use this information to modify the process functionality. Examples: An employee becomes eligible for a Stock Option plan if his or her performance rating is above 4. The normal rate for an Aetna Dental plan is $25 per month. If the person also enrolls in Aetna Medical, he or she receives a 10% discount. There are 100+ seeded formula types in OAB. The FastFormula language is simple and hides the complexity of accessing the tables and column.

• •

Formula Usage in Benefits
Although there are 100+ formula types in OAB, there are certain types appear more frequently. • • • • which

Person selection and Compensation object selection rules filter out persons or compensation objects to be processed in batch processes. Computation rules replace calculated values, these rules include value calculation rules, and partial month proration rules. Eligibility rules. Messaging rules – Popup messages. You select a formula you have written either on the list of values on the Submit Requests window or else on the applicable plan design window.

Return statements for BEN formulas: A formula can return more than one value to a calling package. In Benefits, different packages which call the formula expect outputs to be returned differently. Based on the formula type, the number

• If predefined names are expected to be used and the formula does not use the expected names. Formula output or return values: Formula can return two values. 4. pl_id. opt_id. It will be evaluated in the eligibility determination process. Functional Usage: This rule will be used in setting up the user-defined criteria. ben_pgm_f. Input values available: No Input values are available. Date_Earned (life event occurred date or effective date). but the process will convert returned values based on data types. you can use the “Person Selection” formula type in several concurrent programs. ben_pl_typ_f. Assignment Id. 6. Values are returned in character format. 2. database items. ben_pl_f. Out Variable name CRIT_COL1_VALUE (ANY NAME CAN BE USED) Data Type Varchar2 Value Remarks Mandatory out variable. A formula of a given formula type is expected to return values in a certain format and data type and with a predefined name in certain cases. Constraints using Database items: Database items other than the ones mentioned above cannot be used. 5. See: Using Oracle FastFormula (A73295-04) for more information Chapter 2 : OAB FastFormulas This section provides information on each seeded formula type. A given formula type can be attached at different places in the product. Formula Type: Eligibility Access Calculation Rule 1. 3. Navigation Path: Total Compensation > Eligibility Profiles > Participant Eligibility > User defined criteria : Contexts: Business_Group_Id. in this case the name of output variable does not matter. Some packages expect the predefined names for output variables. For example. the location of a variable in the return statement does not matter. ler_id. Value passed back will be converted based on date type specified in . pl_typ_id Overloaded Contexts: No Database items available: All columns except attribute columns from table’s ben_ler_f.and data types of values to be returned are predefined. seeded contexts for a formula type. 8. First value is mandatory. Some packages expect the return variables to be returned by location. Organization_Id. 7. ben_opt_f and database items based on person’s assignment_id. the process will error out at run time. All the above information is provided below for each formula type. pgm_id. and available input values.

IF RETURNED VALUE IS DATE THE DATA SHOULD BE RETURNED BACK IN CANONICAL FORM (YYYY/MM/DD HH24:MI:SS).CRIT_COL1_DATATYPE. Assignment Id. Sample Formula: 4. Organization_Id. Functional Usage: This rule will be used if the user wants to return the min-max values for the standard rates when the rate is enterable at enrollment.A Formula Type: Election Value Range Rule 1. ben_opt_f and database items based on person’s assignment_id. Formula output or return values: Formula should use pre defined names for return variables 2. CRIT_COL2_VALUE (ANY NAME CAN BE USED) Varchar2 Mandatory only if second criteria is added on generic criteria row. Remarks: None 3. 4. 2. IF RETURNED VALUE IS DATE THE DATA SHOULD BE RETURNED BACK IN CANONICAL FORM (YYYY/MM/DD HH24:MI:SS). 5. Date_Earned. Value passed back will be converted based on date type specified in CRIT_COL2_DATATYPE. Formula functions used in the sample formula: None 13. 1. 3. Jurisdiction_Code. opt_id. Input values available: PERSON_ID Input value is available. ler_id. Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN. 7. pl_id. pl_typ_id Overloaded Contexts: No Database items available: All columns except attribute columns from table’s ben_ler_f. Out Variable name L_MN_ELCN_VAL L_MX_ELCN_VAL Data Type Number Number Value Remarks mandatory out variable mandatory out variable . Constraints using Database items: Database items other than the ones mentioned above cannot be used. ben_pl_typ_f. ben_pgm_f. pgm_id. Unit test script: N. 6. This rule will currently be enabled only for Activity Type as ‘CWB Worksheet Amount’ and ‘CWB Recommended Amount. 8. Navigation Path: Total Compensation > Rate/Coverage Definitions > Standard Rates Contexts: Business_Group_Id. ben_pl_f.

Remarks: None 3. 2. Sample Formula: /********************************************************************** FORMULA NAME: BEN_CWB_MIN_MAX_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Nagaraj Hunur 22-Jan-2004 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.L_INCRMT_VAL L_DFLT_VAL Number Number mandatory out variable mandatory out variable 1.' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if not ASG_JOB was defaulted then ( if l_job = 'Finance Manager' then (L_MN_ELCN_VAL = 100 L_MX_ELCN_VAL = 10000 L_INCRMT_VAL = 100 L_DFLT_VAL = 100) else (L_MN_ELCN_VAL = 150 L_MX_ELCN_VAL = 15000 L_INCRMT_VAL = 10 L_DFLT_VAL = 150) ) . Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_JOB is '.

Unit test script: N. If FREQUENCY is not returned then the following error will be returned 'BEN_92310_FORMULA_RET_PARAM_’. 6. this formula can be used. 4. ben_pgm_f. PL_TYP_ID. ORGANIZATION_ID. Remarks: None 3. 2. Navigation Path: Total Compensation > General Definitions > Eligibility Profiles > Participant > Employment Tab > Range of scheduled hours criterion. JURISDICTION_CODE. Overloaded Contexts: No 5. ASSIGNMENT_ID. If customer wants to use complex logic to decide on the number of scheduled hours. Formula output or return values: Out Variable name Data Type Value Remarks MIN_HOURS (mandatory out Number Either MIN_HOURS or variable. 2.A Formula Type: Range of scheduled Hours 1. Constraints using Database items: Database items other than the ones mentioned above can’t be used. PGM_ID. 3. OPT_ID. Input values available: Name BEN_IV_RT_STRT_DT BEN_IV_CVG_STRT_DT Data Type Char Char Remarks Rate Start Date passed in format YYYY/MM/DD HH24:MI:SS Coverage Start Date passed in format YYYY/MM/DD HH24:MI:SS 1. PL_ID. MAX_HOURS Number FREQUENCY Char Based on lookup FREQUENCY 1. L_INCRMT_VAL. Database items available: All columns except attribute columns from table’s ben_ler_f. Sample Formula: /********************************************************************** FORMULA NAME: BEN_RNG_SCHED_HRS_RL . L_DFLT_VAL /*================ FORMULA SECTION END =======================*/ 4. : If any other output value is passed back then process errors (BEN_91329_FORMULA_RETURN). Contexts: DATE_EARNED (p_effective_date). ben_pl_f. ben_opt_f and database items based on person’s assignment_id. L_MX_ELCN_VAL. Formula functions used in the sample formula: None 13. any name can be used) MAX_HOURS or both needs to be specified.return L_MN_ELCN_VAL. Functional Usage: Range of scheduled hours eligibility criteria can be used created using a rule. BUSINESS_GROUP_ID. Erroring: If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. 2.

Functional Usage: If customer wants to use complex logic to decide on which manager needs to be providing approvals in the organization hierarchy.FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : Range of scheduled hours *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Nagaraj Hunur 22-Dec-2004 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. this formula can be used. Overloaded Contexts: No . 3. LER_ID 4. FREQUENCY /*================ FORMULA SECTION END =======================*/ 4. ASSIGNMENT_ID. Formula functions used in the sample formula: None 5. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if l_job = 'Manager' then (MIN_HOURS = 25 MAX_HOURS = 40 FREQUENCY = ‘H’ ) else (MIN_HOURS = 20 MAX_HOURS = 35 FREQUENCY = ‘H’) return MIN_HOURS. Unit test script: N. GROUP_PL_ID. Contexts: DATE_EARNED (p_effective_date). ORGANIZATION_ID. BUSINESS_GROUP_ID. Navigation Path: Total Compensation > Programs and Plans > Plan Enrollment Requirements. 2. MAX_HOURS.A Formula Type: Manager Hierarchy 1.

Sample Formula: /********************************************************************** FORMULA NAME: BEN_MGR_HRCHY_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Nagaraj Hunur 22-Dec-2004 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Input values available: Name BEN_IV_PERSON_ID BEN_IV_ACCESS_CD BEN_IV_END_DT Data Type Number Char Char Remarks Person ID Plan Access code End Date passed in format YYYY/MM/DD HH24:MI:SS Auto Distribute flag – ‘Y’/’N’ Worksheet update start date passed in format YYYY/MM/DD HH24:MI:SS Worksheet update end date passed in format YYYY/MM/DD HH24:MI:SS Uses budget flag. 2. 3.‘Y’/’N’ BEN_IV_AUTO_DISTR_FLAG Char BEN_IV_WS_UPD_STRT_DT Char BEN_IV_WS_UPD_END_DT BEN_IV_USES_BDGT_FLAG Char Char 1. any name can be used) 1. Erroring: None 2.5. 6.' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ . Database items available: All columns except attribute columns from tables ben_ler_f. Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pl_f and database items based on person’s assignment_id. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_ORG is '. Formula output or return values: Out Variable name Data Type Value Remarks l_manager_id (mandatory out Number variable. Remarks: Sample formula which returns a manager ID based on persons organization. Values .

2. Unit test script: N. If BEN_IV_CONVERT_FROM is ANNUAL rules needs to compute the defined and communicated values using the input value BEN_IV_CONVERT_FROM_VAL. 6. Overloaded Contexts: No 5. Formula functions used in the sample formula: None 13. CMCD and ANNUAL./*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_org = ASG_ORG if not ASG_ORG was defaulted then ( if l_org = 'Finance Department' then ( l_manager_id = 100) else (l_manager_id = 101) ) return l_manager_id /*================ FORMULA SECTION END =======================*/ 4. 3. . Contexts: DATE_EARNED (p_effective_date). Input values available: Name BEN_IV_CONVERT_FROM Data Type Char Remarks Possible values are DEFINED. If BEN_IV_CONVERT_FROM is DEFINED rules needs to compute the annual and communicated values using the input value BEN_IV_CONVERT_FROM_VAL. Database items available: Database items based on person’s assignment_id.A Formula Type: Rate Periodization 1. User can define their one rule using the contexts and input values available to distribute the rates among defined amount. Functional Usage: This formula gives complete control to the users to periodize the rates. ASSIGNMENT_ID. annual amount and communicated amounts. BUSINESS_GROUP_ID 4. Navigation Path: Total Compensation > Rate /Coverage Definitions > Standard Rates.

2. Erroring: If all the three values are not returned by the formula. 2.BEN_IV_CONVERT_FROM_VAL BEN_ABR_IV_ACTY_BASE_RT_ID BEN_EPE_IV_ELIG_PER_ELCTBL_ CHC_ID BEN_ECR_IV_ENRT_RT_ID Number Number Number Number If BEN_IV_CONVERT_FROM is CMCD rules needs to compute the defined and annual values using the input value BEN_IV_CONVERT_FROM_VAL. Formula output or return values: Out Variable name Data Type Value Remarks DFND_VAL Number mandatory out variable ANN_VAL Number mandatory out variable CMCD_VAL Number mandatory out variable 1. 1. Constraints using Database items: Database items other than the ones mentioned above can’t be used. Sample Formula: /********************************************************************** FORMULA NAME: BEN_RT_PERIODIZE_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Nagaraj Hunur 22-Dec-2004 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. the process throws an appropriate error message. Remarks: 3. Value passed in to the formula Activity base rate ID Electable choice ID This input value is NOT available as part of Participation process. . But this will be available in the enrollment process. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ INPUTS ARE BEN_IV_CONVERT_FROM (text).

BEN_ABR_IV_ACTY_BASE_RT_ID.A Formula Type: Person change causes Life event Functional Usage: Life events are triggered based on person changes attached to the life event. DATE_EARNED (p_effective_date). If customers need to write code to decide whether data change happened or not even if column change occurs. Output of rule and column change must be satisfied to trigger life event.BEN_IV_CONVERT_FROM_VAL. Assignment Id . Formula functions used in the sample formula: None 13. BEN_ECR_IV_ENRT_RT_ID /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ IF BEN_IV_CONVERT_FROM = 'DEFINED' THEN ( DFND_VAL = BEN_IV_CONVERT_FROM_VAL ANN_VAL = DFND_VAL * 12 CMCD_VAL = ANN_VAL / 24 ) ELSE ( IF BEN_IV_CONVERT_FROM = 'ANNUAL' THEN ( ANN_VAL = BEN_IV_CONVERT_FROM_VAL DFND_VAL = ANN_VAL / 12 CMCD_VAL = ANN_VAL / 24 ) ELSE /* COMMUNICATED AMOUNT */ ( CMCD_VAL = BEN_IV_CONVERT_FROM_VAL DFND_VAL = CMCD_VAL * 24 /12 ANN_VAL = CMCD_VAL * 24 ) ) Return DFND_VAL. CMCD_VAL /*================ FORMULA SECTION END =======================*/ 4. BEN_EPE_IV_ELIG_PER_ELCTBL_CHC_ID. Navigation Path: Person Changes > Define Person Change > "Person Changes Window" (Rule field) Person Changes > Define Related Person Change > "Related Person Changes Window" (Rule field) Contexts: Business_Group_Id. Unit test script: N. ANN_VAL. a rule can be attached.

BEN_ABA_IO_DATE_START. Input values available: Based on the table on which Person changes are defined. BEN_ABA_IO_DATE_NOTIFICATION. it's value is M. BEN_ABA_IO_SICKNESS_START_DATE. BEN_ABA_IO_ABSENCE_DAYS. BEN_ABA_IN_ABSENCE_DAYS.) Following table describes the input values available for each table. if p_effective_date is indicated then this context is same as DATE_EARNED Overloaded Contexts: No Database items available: Data base items based on person’s assignment_id. it's value is S. PK_VAL input value is set with person_id (Primary key of the row being modified. BEN_ABA_IN_SICKNESS_START_DATE. Table on which person changes are defined Available input values PER_ABSENCE_ATTENDANCES PK_VAL contains ABSENCE_ATTENDANCE_ID BEN_ABA_IN_PERSON_ID. BEN_ABA_IN_DATE_NOTIFICATION.e.. BEN_ABA_IO_ABSENCE_HOURS. BEN_ABA_IN_DATE_PROJECTED_END. BEN_ABA_IN_TIME_END. BEN_ABA_IO_DATE_PROJECTED_START. BEN_ABA_IO_PERSON_ID. OLD_VAL. different set of input values are available for use in a formula. BEN_ABA_IN_TIME_PROJECTED_END. BEN_ABA_IN_ABSENCE_HOURS. PK_ID are available irrespective of table on which data changes are defined. BEN_ABA_IO_TIME_END. COLUMN.Note: For any formula types. BEN_ABA_IO_ABS_ATTENDANCE_REASON_ID. BEN_ABA_IO_ABSENCE_ATTENDANCE_TYPE_ID. BEN_ABA_IO_DATE_END. Below given example explains what values these input variables contain. BEN_ABA_IN_ABSENCE_ATTENDANCE_TYPE_ID. Input values NEW_VAL. under contexts selection. BEN_ABA_IN_PERSON_ID. BEN_ABA_IO_DATE_PROJECTED_END. BEN_ABA_IN_SICKNESS_END_DATE. MARITAL_SATUS. BEN_ABA_IN_DATE_PROJECTED_START. BEN_ABA_IN_DATE_START. NEW_VAL input value is set with new value for column marital_status for the current person record. BEN_ABA_IN_DATE_END. OLD_VAL input value is set with old value for column marital_status for the current person record. . Assume data changes are defined on table PER_ALL_PEOPLE_F and Column MARITAL_STAUS A person's marital status is changed from S (single) to M (Married) COLUMN input value is set with column name i. BEN_ABA_IN_ABS_ATTENDANCE_REASON_ID.. Ex. BEN_ABA_IO_SICKNESS_END_DATE.

BEN_ABA_IN_ATTRIBUTE14. BEN_ABA_IN_ABS_INFORMATION20. BEN_ABA_IN_ABS_INFORMATION3. BEN_ABA_IN_ABS_INFORMATION24. BEN_ABA_IN_ABS_INFORMATION28. BEN_ABA_IN_ATTRIBUTE3. BEN_ABV_IN_EFFECTIVE_END_DATE. BEN_ABA_IN_ATTRIBUTE10. BEN_ABA_IN_ABS_INFORMATION16. BEN_ABA_IN_ABS_INFORMATION21. BEN_ABA_IN_ABS_INFORMATION7. BEN_ABA_IN_TIME_PROJECTED_START. BEN_ABA_IN_ABS_INFORMATION_CATEGORY. BEN_ABA_IN_ABS_INFORMATION14. BEN_ABA_IN_ATTRIBUTE6. BEN_ABA_IN_ABS_INFORMATION18. BEN_ABV_IO_EFFECTIVE_END_DATE PK_VAL contains address_id BEN_ADR_IN_DATE_FROM. BEN_ABA_IN_ABS_INFORMATION29. BEN_ABA_IO_TIME_PROJECTED_START. BEN_ABA_IN_ATTRIBUTE13. BEN_ABA_IN_ABS_INFORMATION11. BEN_ABA_IN_ABS_INFORMATION5. BEN_ABA_IN_ATTRIBUTE2. BEN_ABA_IN_ATTRIBUTE11. BEN_ABA_IN_ABS_INFORMATION10. BEN_ABA_IN_ABS_INFORMATION6. BEN_ABA_IN_ABS_INFORMATION17. BEN_ABA_IN_ABS_INFORMATION1. BEN_ABA_IN_ABS_INFORMATION27. BEN_ABA_IN_ATTRIBUTE15 PK_VAL contains ASSIGNMENT_BUDGET_VALUES_ID BEN_ABV_IN_EFFECTIVE_START_DATE. BEN_ABA_IN_ABS_INFORMATION8. BEN_ADR_IN_POSTAL_CODE. BEN_ABA_IN_ABS_INFORMATION23. BEN_ABA_IN_ATTRIBUTE5. BEN_ABA_IN_ABS_INFORMATION15. BEN_ABA_IN_ABS_INFORMATION13. BEN_ABA_IN_ABS_INFORMATION9. BEN_ABA_IN_ABS_INFORMATION4. BEN_ABA_IN_ABS_INFORMATION12. BEN_ABA_IN_ABS_INFORMATION25. BEN_ADR_IN_PRIMARY_FLAG. BEN_ABA_IN_ATTRIBUTE1. BEN_ABA_IN_ATTRIBUTE9. BEN_ABA_IN_ABS_INFORMATION22. BEN_ABV_IO_EFFECTIVE_START_DATE. BEN_ABA_IN_ABS_INFORMATION2. BEN_ABA_IN_ATTRIBUTE4.PER_ASSIGNMENT_BUDGET_VALUES_F PER_ADDRESSES BEN_ABA_IO_TIME_PROJECTED_END. BEN_LER_ID. BEN_ABA_IN_ABS_INFORMATION30. BEN_ABA_IN_ATTRIBUTE12. . BEN_ABA_IN_ATTRIBUTE_CATEGORY. BEN_ADR_IN_DATE_TO. BEN_ABA_IN_ABS_INFORMATION19. BEN_ABA_IN_ATTRIBUTE8. BEN_ABA_IN_ABS_INFORMATION26. BEN_ABA_IN_ATTRIBUTE7.

BEN_CEL_IN_ATTRIBUTE5. BEN_ASG_IO_HOURLY_SALARIED_CODE. BEN_ASG_IN_LOCATION_ID. BEN_CEL_IN_ATTRIBUTE10. BEN_CEL_IN_ATTRIBUTE3. BEN_CEL_IO_EFFECTIVE_DATE_TO. BEN_CEL_IN_ATTRIBUTE6. BEN_CEL_IO_ATTRIBUTE3. BEN_CEL_IO_ATTRIBUTE9. BEN_CEL_IN_EFFECTIVE_DATE_TO. BEN_ASG_IN_JOB_ID. BEN_ASG_IN_EMPLOYMENT_CATEGORY. BEN_CEL_IN_ATTRIBUTE7. BEN_CEL_IO_COMPETENCE_ID. BEN_ASG_IN_EFFECTIVE_END_DATE. BEN_CEL_IN_ATTRIBUTE2. BEN_CEL_IN_ATTRIBUTE1. BEN_ASG_IN_PAYROLL_ID.PER_ALL_ASSIGNMENTS_F PER_COMPETENCE_ELEMENTS BEN_ADR_IN_REGION_2. BEN_ASG_IO_ASSIGNMENT_STATUS_TYPE_ID. BEN_ADR_IO_PERSON_ID PK_VAL contains ASSIGNMENT_ID BEN_ASG_IN_EFFECTIVE_START_DATE. BEN_CEL_IN_PROFICIENCY_LEVEL_ID. BEN_CEL_IN_COMPETENCE_ID. BEN_CEL_IN_ATTRIBUTE8. BEN_ASG_IN_BARGAINING_UNIT_CODE. BEN_ASG_IO_JOB_ID. BEN_ASG_IO_GRADE_ID. BEN_ADR_IO_POSTAL_CODE. BEN_ASG_IN_HOURLY_SALARIED_CODE. BEN_CEL_IO_ATTRIBUTE5. BEN_ASG_IN_NORMAl_HOURS. BEN_ASG_IN_ORGANIZATION_ID. BEN_CEL_IO_ATTRIBUTE4. BEN_CEL_IO_ATTRIBUTE1. BEN_ADR_IN_ADDRESS_TYPE. BEN_ASG_IO_BARGAINING_UNIT_CODE. BEN_ASG_IO_EFFECTIVE_START_DATE. BEN_ASG_IO_ORGANIZATION_ID. BEN_ADR_IO_DATE_TO. BEN_ADR_IO_PRIMARY_FLAG. BEN_ASG_IN_PRIMARY_FLAG. BEN_CEL_IN_ATTRIBUTE9. BEN_ASG_IN_ASSIGNMENT_TYPE. BEN_ASG_IO_LOCATION_ID. . BEN_ADR_IO_REGION_2. BEN_ASG_IN_GRADE_ID. BEN_ASG_IO_EFFECTIVE_END_DATE. BEN_ADR_IO_ADDRESS_TYPE. BEN_CEL_IO_ATTRIBUTE8. BEN_ASG_IO_ASSIGNMENT_TYPE. BEN_CEL_IN_ATTRIBUTE4. BEN_ASG_IO_PRIMARY_FLAG. BEN_ASG_IO_NORMAl_HOURS PK_VAL contains COMPETENCE_ELEMENT_ID BEN_CEL_IN_EFFECTIVE_DATE_FROM. BEN_CEL_IO_ATTRIBUTE7. BEN_CEL_IO_ATTRIBUTE6. BEN_ADR_IN_PERSON_ID. BEN_ASG_IN_ASSIGNMENT_STATUS_TYPE_ID. BEN_CEL_IO_PROFICIENCY_LEVEL_ID. BEN_CEL_IO_ATTRIBUTE2. BEN_ADR_IO_DATE_FROM. BEN_CEL_IO_ATTRIBUTE10. BEN_CEL_IO_EFFECTIVE_DATE_FROM. BEN_ASG_IO_EMPLOYMENT_CATEGORY.

BEN_EGD_IO_ELIG_STRT_DT. BEN_EGD_IN_DPNT_INELIG_FLAG. BEN_CEL_IO_ATTRIBUTE11 PK_VAL contains CONTACT_RELATIONSHIP_ID BEN_CON_IN_PERSON_ID. BEN_EGD_IO_INELG_RSN_CD. BEN_PDP_IO_EFFECTIVE_END_DATE. BEN_CRT_IN_PL_ID. BEN_PDP_IO_OVRDN_FLAG. BEN_CON_IO_DATE_END. BEN_CON_IN_END_LIFE_REASON_ID. BEN_CRT_IO_APLS_PERD_STRTG_DT. BEN_CRT_IN_RCVD_DT. BEN_CRT_IN_PERSON_ID. BEN_EGD_IO_DPNT_PERSON_ID. BEN_CRT_IN_PL_TYP_ID. BEN_CON_IN_CONTACT_PERSON_ID. BEN_CRT_IO_APLS_PERD_ENDG_DT. BEN_PDP_IN_EFFECTIVE_START_DATE. BEN_CON_IN_DATE_END. BEN_PDP_IN_EFFECTIVE_END_DATE. BEN_PDP_IN_CVG_THRU_DT. BEN_PDP_IN_CVG_STRT_DT. BEN_CON_IN_CONTACT_TYPE. BEN_EGD_IN_ELIG_STRT_DT. BEN_PDP_IO_EFFECTIVE_START_DATE. BEN_EGD_IN_ELIG_THRU_DT. BEN_PDP_IO_PRTT_ENRT_RSLT_ID. BEN_CON_IO_START_LIFE_REASON_ID. BEN_EGD_IN_INELG_RSN_CD. BEN_EGD_IO_DPNT_INELIG_FLAG. BEN_CON_IO_PERSONAL_FLAG. BEN_CON_IN_PERSONAL_FLAG. BEN_CON_IO_DATE_START. BEN_CRT_IO_PERSON_ID PK_VAL contains ELIG_CVRD_DPNT_ID BEN_PDP_IN_PRTT_ENRT_RSLT_ID. BEN_CON_IO_CONTACT_TYPE. BEN_CON_IO_END_LIFE_REASON_ID. BEN_CON_IN_START_LIFE_REASON_ID. BEN_PDP_IN_OVRDN_THRU_DT. BEN_CON_IO_PERSON_ID. BEN_PDP_IO_CVG_STRT_DT. BEN_CON_IO_CONTACT_PERSON_ID. BEN_CON_IN_RLTD_PER_RSDS_W_DSGNTR_FLAG. BEN_EGD_IN_ELIG_PER_ELCTBL_CHC_ID. BEN_PDP_IN_OVRDN_FLAG. BEN_CRT_IO_CRT_ORDR_TYP_CD. BEN_PDP_IO_CVG_THRU_DT. BEN_CRT_IO_PL_TYP_ID. BEN_PDP_IO_OVRDN_THRU_DT None PK_VAL contains ELIG_DPNT_ID BEN_EGD_IN_DPNT_PERSON_ID.PER_CONTACT_RELATIONSHIPS BEN_CRT_ORDR BEN_ELIG_CVRD_DPNT_F PAY_ELEMENT_ENTRY_VALUES_F BEN_ELIG_DPNT BEN_CEL_IN_ATTRIBUTE11. BEN_CRT_IO_RCVD_DT. BEN_CON_IN_DATE_START. BEN_CRT_IN_APLS_PERD_ENDG_DT. . BEN_CRT_IO_PL_ID. BEN_CRT_IN_CRT_ORDR_TYP_CD. BEN_CON_IO_RLTD_PER_RSDS_W_DSGNTR_FLAG PK_VAL contains CRT_ORDR_ID BEN_CRT_IN_APLS_PERD_STRTG_DT. BEN_EGD_IO_ELIG_THRU_DT.

BEN_PPF_IN_MARITAL_STATUS. BEN_PPR_IO_PERFORMANCE_RATING. BEN_PPF_IO_MARITAL_STATUS. BEN_EGD_IO_PER_IN_LER_ID. BEN_PBB_IO_PERSON_ID. BEN_PEN_IN_EFFECTIVE_START_DATE. BEN_PBB_IO_EFFECTIVE_START_DATE. . BEN_PPR_IN_EVENT_ID. BEN_PPR_IN_REVIEW_DATE. BEN_EGD_IO_ELIG_PER_ID. BEN_PEN_IO_ENRT_CVG_THRU_DT. BEN_PPF_IO_DATE_OF_BIRTH. BEN_PBB_IO_VAL. BEN_PPF_IN_DATE_OF_BIRTH. BEN_PPF_IO_EFFECTIVE_END_DATE. BEN_PPR_IN_ATTRIBUTE3. BEN_PPF_IO_ORIGINAL_DATE_OF_HIRE PK_VAL contains PERFORMANCE_REVIEW_ID BEN_PPR_IN_PERFORMANCE_RATING. BEN_EGD_IN_ELIG_PER_OPT_ID. BEN_PPR_IN_ATTRIBUTE1. BEN_PPF_IN_DATE_OF_DEATH. BEN_PPF_IO_DATE_OF_DEATH. BEN_PPF_IO_STUDENT_STATUS. BEN_PPF_IN_STUDENT_STATUS. BEN_PPF_IN_BENEFIT_GROUP_ID. BEN_PBB_IO_EFFECTIVE_END_DATE. BEN_PEN_IO_EFFECTIVE_END_DATE PK_VAL contains PERSON_ID BEN_PPF_IN_EFFECTIVE_START_DATE. BEN_EGD_IN_PER_IN_LER_ID. BEN_PPR_IO_ATTRIBUTE2. BEN_PBB_IO_BNFTS_BAL_ID PK_VAL contains PRTT_ENRT_RSLT_ID BEN_PEN_IN_ENRT_CVG_STRT_DT. BEN_EGD_IN_ELIG_CVRD_DPNT_ID. BEN_PPF_IN_EFFECTIVE_END_DATE. BEN_PEN_IO_ENRT_CVG_STRT_DT. BEN_EGD_IO_ELIG_PER_OPT_ID. BEN_PBB_IN_VAL. BEN_PBB_IN_BNFTS_BAL_ID. BEN_PEN_IN_EFFECTIVE_END_DATE. BEN_PPR_IO_EVENT_ID. BEN_PPF_IN_ORIGINAL_DATE_OF_HIRE. BEN_PBB_IN_EFFECTIVE_START_DATE. BEN_PPF_IO_BENEFIT_GROUP_ID. BEN_PPR_IO_REVIEW_DATE. BEN_PEN_IO_EFFECTIVE_START_DATE. BEN_EGD_IN_ELIG_PER_ID. BEN_PPR_IN_ATTRIBUTE2. BEN_PEN_IN_ENRT_CVG_THRU_DT. BEN_PPR_IO_ATTRIBUTE1. BEN_PPF_IO_EFFECTIVE_START_DATE.BEN_PER_BNFTS_BAL_F BEN_PRTT_ENRT_RSLT_F PER_ALL_PEOPLE_F PER_PERFORMANCE_REVIEWS BEN_EGD_IO_ELIG_PER_ELCTBL_CHC_ID. BEN_PBB_IN_EFFECTIVE_END_DATE. BEN_EGD_IO_ELIG_CVRD_DPNT_ID PK_VAL contains PER_BNFTS_BAL_ID BEN_PBB_IN_PERSON_ID.

BEN_PRO_IN_MULTIPLE_COMPONENTS. BEN_PRO_IO_NEXT_SAL_REVIEW_DATE. BEN_PRO_IN_PROPOSAL_REASON. BEN_PPR_IN_ATTRIBUTE12. BEN_PPR_IO_ATTRIBUTE9. BEN_PRO_IN_NEXT_PERF_REVIEW_DATE. BEN_PPR_IO_ATTRIBUTE12 PK_VAL contains PAY_PROPOSAL_ID BEN_PRO_IN_CHANGE_DATE. BEN_PRO_IN_PROPOSED_SALARY_N. BEN_PRO_IN_PERFORMANCE_REVIEW_ID. BEN_PPR_IN_ATTRIBUTE4. . BEN_PPR_IN_ATTRIBUTE11. BEN_PRO_IO_CHANGE_DATE. BEN_PRV_IN_RT_STRT_DT. BEN_PRV_IO_RT_END_DT. BEN_PRO_IO_LAST_CHANGE_DATE. BEN_PPR_IO_ATTRIBUTE5. BEN_PRO_IO_PERFORMANCE_RATING. BEN_PPR_IN_ATTRIBUTE8. BEN_PPR_IO_ATTRIBUTE4. BEN_PPR_IO_ATTRIBUTE11. BEN_PRO_IO_PROPOSED_SALARY_N. BEN_PRO_IO_PROPOSED_SALARY. BEN_PRO_IO_APPROVED. BEN_PPR_IN_ATTRIBUTE9. BEN_PRO_IO_PROPOSAL_REASON. BEN_PRO_IN_PERFORMANCE_RATING.PER_PAY_PROPOSALS BEN_PRTT_RT_VAL BEN_PPR_IO_ATTRIBUTE3. BEN_PRO_IN_APPROVED. BEN_PRV_IN_RT_END_DT. BEN_PRO_IN_LAST_CHANGE_DATE. BEN_PPR_IN_ATTRIBUTE10. BEN_PRO_IN_FORCED_RANKING. BEN_PPR_IO_ATTRIBUTE7. BEN_PPR_IN_ATTRIBUTE6. BEN_PRO_IO_REVIEW_DATE. BEN_PRO_IN_PROPOSED_SALARY. BEN_PPR_IO_ATTRIBUTE8. BEN_PRO_IN_NEXT_SAL_REVIEW_DATE. BEN_PRO_IO_PERFORMANCE_REVIEW_ID. BEN_PPR_IO_ATTRIBUTE10. BEN_PRO_IN_EVENT_ID. BEN_PRO_IN_ATTRIBUTE1. BEN_PRV_IO_RT_STRT_DT. BEN_PPR_IN_ATTRIBUTE7. BEN_PRV_IN_RT_VAL. BEN_PRO_IO_ATTRIBUTE1 PK_VAL contains PRTT_RT_VAL_ID BEN_PRV_IN_PRTT_ENRT_RSLT_ID. BEN_PRO_IO_MULTIPLE_COMPONENTS. BEN_PPR_IN_ATTRIBUTE5. BEN_PRO_IO_FORCED_RANKING. BEN_PRO_IN_REVIEW_DATE. BEN_PRO_IO_EVENT_ID. BEN_PPR_IO_ATTRIBUTE6. BEN_PRO_IO_NEXT_PERF_REVIEW_DATE. BEN_PRV_IO_PRTT_ENRT_RSLT_ID.

BEN_QUA_IN_ATTRIBUTE10. BEN_QUA_IO_ATTRIBUTE6. BEN_QUA_IN_ATTRIBUTE5. BEN_PTU_IO_PERSON_TYPE_USAGE_ID. BEN_QUA_IO_ATTRIBUTE11 PK_VAL contains PERSON_ANALYSIS_ID BEN_PAC_IN_SEGMENT1 BEN_PAC_IO_SEGMENT1 BEN_PAC_IN_SEGMENT2 BEN_PAC_IO_SEGMENT2 BEN_PAC_IN_SEGMENT3 BEN_PAC_IO_SEGMENT3 . BEN_QUA_IN_ATTRIBUTE2. BEN_QUA_IO_ATTRIBUTE7. BEN_QUA_IO_ATTRIBUTE8. BEN_QUA_IN_START_DATE. BEN_QUA_IO_ATTRIBUTE9. BEN_PRV_IN_ACTY_BASE_RT_ID. BEN_QUA_IN_TITLE. BEN_PRV_IO_PRTT_RT_VAL_STAT_CD None PK_VAL contains PERSON_TYPE_USAGE_ID BEN_PTU_IN_PERSON_TYPE_USAGE_ID. BEN_QUA_IN_ATTRIBUTE11. BEN_PTU_IN_EFFECTIVE_END_DATE. BEN_QUA_IO_END_DATE. BEN_PTU_IN_EFFECTIVE_START_DATE. BEN_PTU_IO_EFFECTIVE_END_DATE. BEN_QUA_IO_ATTRIBUTE5. BEN_PRV_IO_ACTY_TYP_CD. BEN_PRV_IN_ACTY_TYP_CD. BEN_PRV_IN_TX_TYP_CD. BEN_QUA_IN_ATTRIBUTE9. BEN_QUA_IN_ATTRIBUTE8. BEN_QUA_IO_ATTRIBUTE4. BEN_QUA_IN_ATTRIBUTE1. BEN_QUA_IO_QUALIFICATION_TYPE_ID. BEN_QUA_IO_ATTRIBUTE10. BEN_QUA_IN_ATTRIBUTE7. BEN_PRV_IO_PER_IN_LER_ID. BEN_QUA_IO_TITLE. BEN_QUA_IO_ATTRIBUTE3. BEN_QUA_IN_ATTRIBUTE4. BEN_QUA_IN_ATTRIBUTE3. BEN_QUA_IO_START_DATE. BEN_PTU_IO_PERSON_ID PK_VAL contains QUALIFICATION_ID BEN_QUA_IN_QUALIFICATION_TYPE_ID. BEN_PRV_IN_PER_IN_LER_ID. BEN_QUA_IO_ATTRIBUTE1. BEN_PRV_IO_TX_TYP_CD. BEN_QUA_IO_ATTRIBUTE2.PER_PERIODS_OF_SERVICE PER_PERSON_TYPE_USAGES_F PER_QUALIFICATIONS PER_PERSON_ANALYSES BEN_PRV_IO_RT_VAL. BEN_PRV_IO_ACTY_BASE_RT_ID. BEN_PTU_IN_PERSON_ID. BEN_PTU_IO_EFFECTIVE_START_DATE. BEN_QUA_IN_END_DATE. BEN_PRV_IN_PRTT_RT_VAL_STAT_CD. BEN_QUA_IN_ATTRIBUTE6.

BEN_PAC_IN_SEGMENT4 BEN_PAC_IO_SEGMENT4 BEN_PAC_IN_SEGMENT5 BEN_PAC_IO_SEGMENT5 BEN_PAC_IN_SEGMENT6 BEN_PAC_IO_SEGMENT6 BEN_PAC_IN_SEGMENT7 BEN_PAC_IO_SEGMENT7 BEN_PAC_IN_SEGMENT8 BEN_PAC_IO_SEGMENT8 BEN_PAC_IN_SEGMENT9 BEN_PAC_IO_SEGMENT9 'BEN_PAC_IN_SEGMENT10 BEN_PAC_IO_SEGMENT10 BEN_PAC_IN_SEGMENT11 BEN_PAC_IO_SEGMENT11 BEN_PAC_IN_SEGMENT12 BEN_IV_LER_ID BEN_PAC_IN_DATE_FROM BEN_PAC_IO_DATE_FROM BEN_PAC_IN_DATE_TO BEN_PAC_IO_DATE_TO BEN_PAC_IN_ANALYSIS_CRITERIA_ID BEN_PAC_IO_ANALYSIS_CRITERIA_ID Naming convention for input values : Ex., BEN_PPF_IN_MARITAL_STATUS - First 3 letter stands for benefits, next 3 letters(PPF) stands for the table short name. I - stands for Input value N - Stands for New value; O – Stands for Old value. Remaining portion of the name stands for the column name. If this input value is used in the formula it will contain new value of marital status column of the person row which being currently updated. Constraints using Database items: Database items other than the ones mentioned above cannot be used. Formula output or return values: No need to use predefined names for return variables. Data Type Varchar2 Value N Y Remarks Do not create the potential If data changes are satisfied create the potential life event

Out Variable name L_RETURN (Any name can be used)

Erroring: If wrong values are passed back from the formula value is assumed as Y. Remarks : In case the person changes causes is based on “PER_PERSON_ANALYSES” , the formula has to return 2 output variables as indicated below. Data Type Out Variable name RETURN_FLAG Varchar2 N Y Do not create the potential If data changes are satisfied create the potential life event. Value Remarks

LE_OCCURED_DATE

Varchar2

Life event occurred date, in canonical form. This variable is not mandatory.

Sample Formula : /***************************************************************** FORMULA NAME : FORMULA TYPE : Person Changes Causes DESCRIPTION : Formula to determine whether to trigger potential life event. ***************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 29-Aug-2003 Initial Version ****************************************************************** FORMULA TEXT: *****************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ inputs are NEW_VAL(text), OLD_VAL(text), COLUMN(text), PK_ID(text), BEN_PPF_IN_MARITAL_STATUS(text), BEN_PPF_IO_MARITAL_STATUS(text) default for BEN_PPF_IN_MARITAL_STATUS is 'AA' default for BEN_PPF_IO_MARITAL_STATUS is 'AA' /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_new_marital_status = BEN_PPF_IN_MARITAL_STATUS l_old_marital_status = BEN_PPF_IO_MARITAL_STATUS /* Create potential life event if person marital status is chaged from Single to married */ if l_new_marital_status = 'S' and l_old_marital_status = 'M' then l_create_ptnl = 'Y' else l_create_ptnl = 'N' return l_create_ptnl /*================ FORMULA SECTION END =======================*/ Formula functions used in the sample formula : None Unit test script :

Formula Type: Rate Value Calculation (When calculation method on standard rates form is – post enrollment calculation rule)

Functional Usage: When a rate needs to be computed based on several other rates at the time of participation process run and during the enrollments. Navigation Path: Total Compensation > Rate/Coverage Definitions:Standard Rates > Calculation Method : Post Enrollment Calculation Rule Total Compensation > Rate/Coverage Definitions: Coverages > Calculation Method : Post Enrollment Calculation Rule Contexts: Business_Group_Id, DATE_EARNED (p_effective_date), Assignment Id Note: For any formula types, under contexts selection, if p_effective_date is indicated then this context is same as DATE_EARNED Overloaded Contexts: No Database items available: Data base items based on person’s assignment_id. Input values available: Constraints using Database items: Database items other than the ones mentioned above cannot be used. Formula output or return values: No need to use predefined names for return variables. Data Type Out Variable name L_RETURN (Any name can be used) Erroring: Number N Y Value of rate Value Remarks

If the value passed back is not a number, error is raised..
Remarks : Formula can’t use values of rates attached to same compensation object. If two rates are defined with post enrollment calculation rule, they can’t be referenced in each other. Sample Formula : /***************************************************************** FORMULA NAME : VALUE_RULE FORMULA TYPE : Rate Value Calculation DESCRIPTION : Formula to return a value for rate. ***************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 29-Aug-2003 Initial Version ****************************************************************** FORMULA TEXT: *****************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_val = ilo_enrt_rt() return l_val /*================ FORMULA SECTION END =======================*/ Formula functions used in the sample formula :

ACTY_BASE_RT_ID and epe.per_in_ler_id = epe. cursor c_epe is select epe.assignment_id = p_assignment_id and pil.business_group_id = p_business_group_id and epe. per_all_assignments_f asg. -cursor c_enrt_rt(cv_abr_name varchar2) is select ecr.elig_per_elctbl_chc_id from ben_per_in_ler pil.name = cv_abr_name and abr.effective_end_date and pil.val from ben_enrt_rt ecr.Also need to filter out the non ben life events.per_in_ler_stat_cd = 'STRTD' -. -l_elig_per_elctbl_chc_id number.business_group_id = p_business_group_id.person_id and pil. p_business_group_id in number.per_in_ler_id = epe.lf_evt_ocrd_dt between asg.per_in_ler_id and asg.effective_start_date and asg. and pil. ben_acty_base_rt_f abr.business_group_id = p_business_group_id and abr.oipl_id = 24 and asg.pl_id = 22 and epe.per_in_ler_id and asg.person_id = pil. ben_per_in_ler pil. and pil.person_id and pil.effective_start_date and asg.person_id = pil.lf_evt_ocrd_dt between asg.effective_end_date.elig_per_elctbl_chc_id and epe. --- .lf_evt_ocrd_dt between abr.effective_start_date and abr. ben_elig_per_elctbl_chc epe where epe.elig_per_elctbl_chc_id = ecr.Ilo_enrt_rt : create or replace function get_enrt_rt_val( p_assignment_id in number.assignment_id = p_assignment_id and pil.ACTY_BASE_RT_ID = ecr. cursor c_abr(cv_abr_name varchar2) is select ACTY_BASE_RT_ID from ben_acty_base_rt_f abr where name = cv_abr_name and abr.effective_end_date. p_effective_date in date ) return number is -l_ACTY_BASE_RT_ID number.oipl_id = 24 and asg.Also need to filter out the non ben life events.per_in_ler_stat_cd = 'STRTD' -. per_all_assignments_f asg.pl_id = 22 and epe. ben_elig_per_elctbl_chc epe where abr.

>> Total Compensation > General Definitions > Life Event Reasons : Evaluation Rule Contexts : DATE_EARNED (p_effective_date). BUSINESS_GROUP_ID Overloaded Contexts : No Database items available : All columns from ben_ler_f and data base items based on person’s assignment_id. Navigation Path : <<Forms/batch process where this fast formula is used. close c_enrt_rt. LER_ID. l_val1 number := 0. Customer wants a logic to be executed when this potential life event is evaluated and based on that logic potential life events occured date have to be modified or this potential life event have to be voided.5. / Unit test script : Formula Type : Evaluate Life Event 1. -begin --. fetch c_enrt_rt into l_val2. -end get_enrt_rt_val. ORGANIZATION_ID.l_val number := 0. Input values available: Name BEN_PPL_IV_PTNL_LER_FOR_PER_ID BEN_PPL_IV_LF_EVT_OCRD_DT BEN_PPL_IV_PTNL_LER_FOR_PER_STAT_CD BEN_PPL_IV_NTFN_DT BEN_PPL_IV_DTCTD_DT Data Type Char Char Char Char Char Remarks Primary key Potential Life Event. Functional Usage : A company may want to customize how a potential life event is to be evaluated. 5. .EE Only ER Contrib'). -. 4. For example “Return to Work Life event” is created by the customer and if the employee returns to the work. 6. Life event Occured Date passed in format YYYY/MM/DD HH24:MI:SS Potential Life event Status Code Notified Date in format YYYY/MM/DD HH24:MI:SS Detected Date in format 2. return l_val. -l_val := (l_val1 + l_val2)* 0. fetch c_enrt_rt into l_val1. l_val2 number := 0. -open c_enrt_rt('OAB Stay Health HMO . this life event is automatically created. close c_enrt_rt. -open c_enrt_rt('OAB Stay Health Detal – EE Only ERContrib'). ASSIGNMENT_ID.Please note that this is sample code and it contains hard coded values. 3.Some of the cursors defined are also used. -.If benefit amounts are defined for a comp objects then above cursors may not work.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ default for BEN_PPL_IV_LF_EVT_OCRD_DT is ' ' . Constraints using Database items : Data base items other than the ones mentioned can’t be used. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT : Logic in simple terms.YYYY/MM/DD HH24:MI:SS 6. If a life event is notified after 30 days ignore this potential life event. 7. Remarks : 10. : If any other output variables are used then process errors(BEN_92310_FORMULA_RET_PARAM). 9. Formula output or return values : Formula should use pre defined names for return variables. Sample Formula : /********************************************************************** FORMULA NAME: BEN_TEST_LE_EVAL_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : Formula evaluates the potential life event. Erroring : If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. Out Variable name LIFE_EVENT_OCCURRED_DATE LIFE_EVENT_HAPPENED (manadatory out variable) LIFE_EVENT_REASON_ID LIFE_EVENT_NOTIFICATION_DA TE LIFE_EVENT_DETECTED_DATE LIFE_EVENT_VOIDED_DATE LIFE_EVENT_MANUAL_DATE LIFE_EVENT_STATUS_CODE Data Type Char Char Value Y/N Remarks Replaces the original life event occured date. Format of return value : YYYY/MM/DD HH24:MI:SS If any other value is assigned to this variable process raises an error BEN_92143_LIFE_EVENT_HAPPENED 8.

ben_pl_typ_f. Sometimes employees have to wait for 6 months to get eligibility to a compensation object. 6. and data base items based on person’s assignment_id. Functional Usage : Participant have to wait for certain time before getting the eligibility to a compensation object. 30) if (l_ntfd_dt >l_lf_evt_dt_30) then life_event_happened = 'N' return life_event_happened 11. Formula functions used in the sample formula : None 12. A waiting period value rule have to be used if the waiting period varies from employee to employee based on their organization or varies for rehired employees. ben_pl_f. Out Variable name WAIT_PERD_VAL(manadatory out variable) WAIT_PERD_UOM (manadatory out Data Type Number Char Value One of the Remarks If this return value is not one of the . ben_opt_f. >> Total Compensation > Programs and Plans > Plans : Plan Eligibility : Waiting Period Rule 1. Formula output or return values : Formula should use pre defined names for return variables. BUSINESS_GROUP_ID. 2. 4. Overloaded Contexts: No 3. 'YYYY/MM/DD HH24:MI:SS') l_lf_evt_dt_30 = add_days(l_lf_evt_dt. Constraints using Database items : Data base items other than the ones mentioned above can’t be used. Input values available : No Input values are available. LER_ID. 14. Unit test script : Formula Type : Waiting Period Value and UOM 13. ASSIGNMENT_ID. ORGANIZATION_ID. Database items available : All columns except attribute columns from tables ben_ler_f. Navigation Path : <<Forms/batch process where this fast formula is used. BEN_PPL_IV_PTNL_LER_FOR_STAT_CD (TEXT). 5. BEN_PPL_IV_NTFN_DT (TEXT) /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_lf_evt_dt = to_date(BEN_PPL_IV_LF_EVT_OCRD_DT. Contexts: DATE_EARNED (p_effective_date). PL_ID. PGM_ID. 'YYYY/MM/DD HH24:MI:SS') l_ntfd_dt = to_date(BEN_PPL_IV_NTFN_DT.default for BEN_PPL_IV_PTNL_LER_FOR_STAT_CD is ' ' default for BEN_PPL_IV_NTFN_DT is ' ' /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ Inputs are BEN_PPL_IV_LF_EVT_OCRD_DT (TEXT). PL_TYP_ID.

variable)

codes : DY, WK, MO, QTR, YR

codes then WAIT_PERD_VAL will be used as it is.

1. 2. 3.

Erroring : If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. : If any other output variables are used then process errors(BEN_92310_FORMULA_RETURN). Remarks : This rule will only get executed, if Waiting Period Value and Waiting Period UOM fields are null. Sample Formula :

4. /********************************************************************** FORMULA NAME: BEN_TEST_WAIT_PERD_VAL_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : Formula returns the waiting period value. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT : Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ WAIT_PERD_VAL = 1 WAIT_PERD_UOM = ‘YR’ return WAIT_PERD_VAL, WAIT_PERD_UOM 5. 6. Formula functions used in the sample formula : None Unit test script :

Formula Type : Life Event Reason Timeliness (Timeliness Period Rule) 1. 2. 3. Functional Usage: Life events sometimes reported after certain number of days. In such scenarios if customer wants to use complex logic to decide whether the potential life event happened or not, this formula can be used. Navigation Path: <<Forms/batch process where this fast formula is used. >> Total Compensation > General Definitions > Additional Setup > Life Event Reasons > Timeliness Period Rule Contexts: DATE_EARNED (p_effective_date), LER_ID, ASSIGNMENT_ID, ORGANIZATION_ID, BUSINESS_GROUP_ID.

4. 5. 6. 7. 1.

Overloaded Contexts: No Database items available: All columns except attribute columns from tables ben_ler_f and database items based on person’s assignment_id. Input values available: No Input values are available. Constraints using Database items: Database items other than the ones mentioned above can’t be used. Formula output or return values: No need to use predefined names for return variables.

Out Variable name L_LIFEEVENT_VOIDED (manadatory out variable, any name can be used) 1.

Data Type Varchar2

Value Y/N

Remarks Y means the potential life event will be voided. N means potential life event will be evaluated further.

Erroring: If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. : If any other output value is passed back then process errors(BEN_91329_FORMULA_RETURN). 2. Remarks : None 3. Sample Formula : /********************************************************************** FORMULA NAME: BEN_TIMELINESS_PERD_RL FORMULA TYPE : Oracle Advanced Benefits DESCRIPTION : *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT : Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_life_event_voided = 'Y' return l_life_event_voided 4. 5. Formula functions used in the sample formula : None Unit test script :

Formula Type: Family Member Determination 8 Functional Usage: A company may want to customize how the family member determination rule works. For example a company might want that any employee having more than two children, should not be eligible for a certain plan. Customer may want this logic to be executed when eligibility profile is determined and based on the logic eligibility to the plan can be determined. Navigation Path: Total Compensation -> Programs and Plans-> Plans: Family Member Rule: Option-> Family Member Rule Contexts: BUSINESS_GROUP_ID, ASSIGNMENT_ID, DATE_EARNED, ORGANIZATION_ID, JURISDICTION_CODE, PGM_ID, PL_ID, PL_TYP_ID, OPT_ID, LER_ID Overloaded Contexts: No Data base items available: All columns except attribute columns from ben_ler_f, ben_pgm_f, ben_pl_f, ben_pl_typ_f, ben_opt_f and data base items based on person’s assignment_id. Input values available: No Input values are available. Constraints using Data Base items: Database items other than the ones mentioned can’t be used. Formula output or return values: Formula should use pre-defined names for return variables.

9 10 11 12 13 14 15

Out Variable Name L_FMLY_MMBR (Not a mandatory out variable) 8 9 Erroring: None Sample Formula

Data Type Char

Value Y/N

Remarks If ‘N’ is passed exception BEN_92321_FMM_INELIG is raised

/********************************************************************** FORMULA NAME: BEN_TEST_FMLY_MMBR FORMULA TYPE: Family member Determination DESCRIPTION: *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikas Sethi 22-apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/

assignment_id = p_asg_id and asg. . p_date_earned IN varchar2) RETURN varchar2 as -l_rel_count number(2):= 0.person_id and hlk. If l_rel_count < 2 then RETURN ‘Y’ . -cursor c_relationship is select count(*) from per_all_assignments_f asg.lookup_type = 'CONTACT' and hlk.Own Child begin open c_relationship.effective_end_date and con. per_contact_relationships con.contact_type and hlk.lookup_code = con. Else RETURN ‘N’. hr_lookups hlk where asg. p_date_earned) and hlk. -. fetch c_relationship into l_rel_count. p_date_earned) and nvl(end_date_active. -.enabled_flag = 'Y' and p_date_earned between nvl(start_date_active.effective_start_date and asg. p_business_group_id IN number.Adopted Child ‘C’./*================ FORMULA SECTION BEGIN =======================*/ l_fmly_mmbr = FN_FMLY_MMBR_DETERMINATION() return l_fmly_mmbr /*================ FORMULA SECTION ENDS =======================*/ 10 Formula Functions used in the sample formula: Yes /********************************************************************** FUNCTION NAME: BEN_TEST_FMLY_MMBR DATA TYPE : Text CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : fn_fmly_mmbr_determination CONTEXT : ASSIGNMENT_ID BUSINESS_GROUP_ID DATE_EARNED PARAMTERS : **********************************************************************/ CREATE OR REPLACE FUNCTION FN_FMLY_MMBR_DETERMINATION (p_asg_id IN number.person_id = asg.business_group_id = p_business_group_id and p_date_earned between asg.lookup_code in ( ‘A’. -. close c_relationship.Child ‘OC’ ).

ASSIGNMENT_ID. PL_TYP_ID. 11 Unit test script: ============================================================================ Formula Type: Maximum Waiting Period Date to Use Functional Usage: The Maximum Waiting Period Date to Use formula can be used to determine the date from which maximum waiting period for a person is to be calculated. ben_pgm_f. DATE_EARNED. 18 Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ACP_SERVICE_START_DATE is '01-JAN-0001' (date) Default for ASG_JOB is ' ' . PGM_ID. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_MX_PER_TO_USE FORMULA TYPE : Maximum Waiting Period Date to Use DESCRIPTION : Formula evaluates the date from which the waiting period begins. any name can be used) 8 Data Type Date Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN.End if. LER_ID 14 Overloaded Contexts: No 15 Database items available: All columns except attribute columns from tables ben_ler_f. For managers the waiting period start date is the date of joining for Others it is one year after the date of joining. 17 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pl_f. ORGANIZATION_ID. Out Variable Name L_RET_DT (Not a mandatory out variable. 16 Input values available: No Input values are available. OPT_ID. ben_opt_f and database items based on person’s assignment_id. ben_pl_typ_f. 12 Navigation Path: Total Compensation -> Programs and Plans-> Option-> Family Member Rule 13 Contexts: BUSINESS_GROUP_ID. End . JURISDICTION_CODE. PL_ID.

DATE_EARNED. any name can be used) 8 Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN. ben_opt_f and database items based on person’s assignment_id. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan: Plan Eligibility: Participation Start Date -> Option Eligibility. ben_pl_typ_f. ASSIGNMENT_ID.12) ) return l_ret_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: ============================================================================ Formula Type: Participation Eligibility Start Date 13 Functional Usage: The Participation Eligibility Start Date formula can be used to determine the date from which a person becomes eligible to participate in particular option in a plan. 9 Remarks: None . LER_ID 18 Overloaded Contexts: No 19 Database items available: All columns except attribute columns from tables ben_ler_f. Out Variable Name Data Type Date Value Remarks L_PRTN_START_DT (Not a mandatory out variable. ben_pgm_f. PGM_ID. ORGANIZATION_ID. PL_ID./*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ser_start_dt = ACP_SERVICE_START_DATE l_job = ASG_JOB if l_job = 'Manager' then ( l_ret_dt = l_ser_start_dt ) else ( l_ret_dt = add_months(l_ser_start_dt. 22 Formula output or return values: No need to use predefined names for return variables. 20 Input values available: No Input values are available. JURISDICTION_CODE. Life Eligibility: Participation Start Date 15 Total Compensation -> Programs and Plan->Program-> Plan and Plan Types: Plans: Participation 16 Eligibility: Participation Start Date: Rule 17 Contexts: BUSINESS_GROUP_ID. ben_pl_f. OPT_ID. 21 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PL_TYP_ID.

ORGANIZATION_ID. OPT_ID. DATE_EARNED. PL_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. ben_opt_f and database items based on person’s assignment_id.10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_PRTN_ELIG_START_DT FORMULA TYPE : Participation Eligibility Start Date DESCRIPTION : Formula to determine person’s eligibility start date in a particular plan option. 20 Formula output or return values: No need to use predefined names for return variables. . It returns the effective date as the eligibility start date *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PGM_ID. 18 Input values available: No Input values are available. ben_pl_typ_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ASSIGNMENT_ID. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan: Plan Eligibility: Participation End Date -> Option Eligibility. Life Eligibility: Participation End Date Total Compensation -> Programs and Plan->Program-> Plan and Plan Types: Plans: Participation Eligibility: Participation End Date: Rule 15 Contexts: BUSINESS_GROUP_ID. ben_pl_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_prtn_start_dt = fn_effective_date() return l_prtn_start_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Participation Eligibility End Date 13 Functional Usage: The Participation Eligibility End Date formula can be used to determine the date on which a person loses eligibility to participate in particular option in a plan. PL_TYP_ID. JURISDICTION_CODE. ben_pgm_f.

******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_date_earned = fn_effective_date() l_prtn_end_dt = add_months(l_date_earned.Out Variable Name L_PRTN_END_DT (Not a mandatory out variable. It returns eligibility end date as two years from the effective date. any name can be used) 8 Data Type Date Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN.24) return l_prtn_end_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit Test Script: ============================================================================ . 9 Remarks : None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PRTN_ELIG_END_DT FORMULA TYPE : Participation Eligibility End Date DESCRIPTION : Formula to determine the participation eligibility end date for person in a particular compensation object .

PL_ID. LER_ID. OPT_ID. JURISDICTION_CODE. Input values available: No Input values are available. ASSIGNMENT_ID. PGM_ID. Out Variable Name Data Type Value Remarks L_CERT_REQD Char Y/N (Not a mandatory variable. DATE_EARNED. ben_pl_f. ben_pgm_f. Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = fn_date_of_birth() l_effective_date = fn_effective_Date() l_age = trunc(months_between(l_effective_date. ben_opt_f and database items based on person’s assignment_id. l_dob)/12) if l_age > 35 then . PL_TYP_ID. Navigation Path: Total Compensation -> Programs and Plans-> Plan: Waiving: Waive Certificate: Certification Required When Rule Contexts: BUSINESS_GROUP_ID. Constraints using Database items: Database items other than the ones mentioned above can’t be used.Formula Type: Waive Certification Required Functional Usage: The Waive Certification Required formula can be used to define a custom logic to evaluate if a certificate is to be produced if a person decides to waive a particular compensation object. SOURCE_TEXT Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID Database items available: All columns except attribute columns from tables ben_ler_f. any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_WAIV_CERT_REQD FORMULA TYPE : Waive Certification Required DESCRIPTION : Formula to evaluate if a certificate is to be produced when a person decides to waive a plan enrollment. In case the person is aged above 35 then certificate is not required ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ORGANIZATION_ID. ben_pl_typ_f.

ASSIGNMENT_ID. ben_pgm_f. .(l_cert_reqd = 'N') else (l_cert_reqd = 'Y') return l_cert_reqd /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE. 16 Input values available: No Input values are available. LER_ID 14 Overloaded Contexts: No 15 Database items available: All columns except attribute columns from tables ben_ler_f. ben_opt_f and database items based on person’s assignment_id. 18 Formula output or return values: Formula should use pre defined names for return variables Data Type Char Value Y/N Remarks Out Variable Name ELIGIBLE (Not a mandatory out variable) 8 Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN. OPT_ID. FN_DATE_OF_BIRTH 12 Unit test script: ============================================================================ Formula Type: Participation and Rate Eligibility Functional Usage: The Participation And Rate Eligibility formula can be used to determine whether a person is eligible for an associated compensation object. This rule makes only females eligible to a compensation object ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PL_ID. ben_pl_f. DATE_EARNED. Navigation Path: Total Compensation -> Programs and Plans-> Plan: Plan Eligibility: Eligibility: Rule: Eligibility Profile Rule Total Compensation -> Programs and Plan->Program-> Plan and Plan Types: Participation Eligibility: Eligibility: Rule: Eligibility Profile Rule 13 Contexts: BUSINESS_GROUP_ID. 9 Remarks : None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PRTN_AND_RT_ELIG FORMULA TYPE : Participation and Rate Eligibility DESCRIPTION : The formula checks the gender to evaluate the eligibility of a person to a particular compensation object. 17 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pl_typ_f. PGM_ID.

PGM_ID. JURISDICTION_CODE. Formulas output or return values: No need to use predefined names for return variables. Out Variable Name Data Type Date Value Remarks L_POE_DET_DT (Not a mandatory out variable. DATE_EARNED. ORGANIZATION_ID. ASSIGNMENT_ID. PER_PAY_METHOD_ID Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with REGN_ID Database items available: All columns except attribute columns from tables ben_ler_f. Input values available: No Input values are available. Constraints using Database items: Database items other than the ones mentioned above can’t be used. LER_ID. any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_MX_POE_DET_DT FORMULA TYPE : Maximum Period of Enrollment Determination Date DESCRIPTION : The formula returns the effective date *********************************************************************** . ben_pgm_f and database items based on person’s assignment_id.**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_gender = fn_gender() if l_gender = 'M' then ( ELIGIBLE = 'N' ) else ( ELIGIBLE = 'Y') return ELIGIBLE /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_GENDER 12 Unit test script: ============================================================================ Formula Type: Maximum Period of Enrollment Determination Date Functional Usage: The Maximum Period of Enrollment Determination Date formula can be used to determine the low date to be used when determining whether the person has been enrolled in a plan or option in plan for the maximum period of time. Navigation Path: Total Compensation -> Programs and Plans-> Plan: Plan Eligibility: Maximum Enrollment: Date Determination Rule Total Compensation -> Programs and Plan->Program-> Plan and Plan Types: Plans: Participation Eligibility: Maximum Enrollment: Date Determination Rule Contexts: BUSINESS_GROUP_ID.

14 Navigation Path: Total Compensation -> Programs and Plans-> Plan: Plan Eligibility: Maximum Enrollment: Rule Total Compensation -> Programs and Plan->Program-> Plan and Plan Types: Plans: Participation Eligibility: Maximum Enrollment: Rule 15 Contexts: BUSINESS_GROUP_ID.Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ben_pgm_f and database items based on person’s assignment_id. ben_pl_f. 20 Formula output or return values: No need to use predefined names for return variables. LER_ID. any name can be used) Data Type Date Value Remarks . 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 18 Input values available: No Input values are available. JURISDICTION_CODE. DATE_EARNED. PGM_ID. ORGANIZATION_ID. ASSIGNMENT_ID. Out Variable Name L_MX_POE (Not a mandatory out variable. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_poe_det_dt = fn_effective_date() return l_poe_det_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: =========================================================================== = Formula Type: Maximum Period of Enrollment 13 Functional Usage: The Maximum Period of Enrollment formula is used to determine the maximum length of time for a person to be enrolled in a plan or in a option in plan. PER_PAY_METHOD_ID 16 Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with REGN_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. PL_TYP_ID.

Erroring: If any other output value is passed back then process errors out by raising BEN_91329_FORMULA_RETURN. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_MX_POE FORMULA TYPE : Maximum Period of Enrollment DESCRIPTION : Formula to determine the maximum period of enrollment for person. It returns eligibility end date as two years from the effective date. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_date_earned = fn_effective_date() l_mx_poe = add_months(l_date_earned,24) return l_mx_poe /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script:

8

Formula Type: Enrollment Coverage Start Date 13 Functional Usage: The Enrollment Coverage Start Date formula can be used to determine the date from which the enrollment coverage starts for a compensation object. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Enrollment Coverage Start Date Rule 15 Contexts: BUSINESS_GROUP_ID, ASSIGNMENT_ID, DATE_EARNED, ORGANIZATION_ID, JURISDICTION_CODE, PGM_ID, PL_ID, PL_TYP_ID, OPT_ID, LER_ID, PAYROLL_ACTION_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID, ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f, ben_pgm_f, ben_pl_f, ben_pl_typ_f, ben_opt_f and database items based on person’s assignment_id. 18 Input values available: No Input values are available. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 20 Formula output or return values: No need to use predefined names for return variables.

Out Variable Name L _START_DT (Not a mandatory out variable, any name can be used)

Data Type Date

Value

Remarks

8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_ENRT_COV_START_DT FORMULA TYPE : Enrollment Coverage Start Date DESCRIPTION : Formula to determine person’s enrollment coverage start date. The coverage start date is calculated as the day on which the person turns 21. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*21 l_start_dt = add_months(l_dob,l_min_age) ) else ( l_start_dt = '01-jan-3000' (date) ) return l_start_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script:

Formula Type: Enrollment End 13 Functional Usage: The Enrollment End formula can be used to determine the date on which a person loses coverage for a particular compensation object. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Enrollment Coverage Start Date Rule 15 Contexts: BUSINESS_GROUP_ID, ASSIGNMENT_ID, DATE_EARNED, ORGANIZATION_ID, JURISDICTION_CODE, PGM_ID, PL_ID, PL_TYP_ID, OPT_ID, LER_ID, PAYROLL_ACTION_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID, ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f, ben_pgm_f, ben_pl_f, ben_pl_typ_f, ben_opt_f and database items based on person’s assignment_id. 18 Input values available: No Input values are available. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 20 Formula output or return values: No need to use predefined names for return variables.

Out Variable Name L_END_DT (Not a mandatory out variable, any name can be used)

Data Type Date

Value

Remarks

8 Erroring: None. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ENRT_END FORMULA TYPE : Enrollment End DESCRIPTION : Formula to determine the enrollment coverage end date for person in a Compensation object. It returns end date as the date on which the person turns 25. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/

any name can be used) Data Type Date Value Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_RT_START_DT . JURISDICTION_CODE. PAYROLL_ACTION_ID. ORGANIZATION_ID. ASSIGNMENT_ID. DATE_EARNED./*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if not PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*25 l_end_dt = add_months(l_dob. ben_pgm_f. ben_pl_f. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Rate: Rate Start Date Rule 15 Contexts: BUSINESS_GROUP_ID. ben_pl_typ_f. PGM_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID. Out Variable Name L _START_DT (Not a mandatory out variable. -1) ) else ( l_end_dt = l_dob ) return l_end_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: None Formula Type: Rate Start Date 13 Functional Usage: The Rate Start Date formula can be used to determine the date on which the rate for enrollment result starts for a participant. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. OPT_ID. PL_ID. PL_TYP_ID. ben_opt_f and database items based on person’s assignment_id.l_min_age) l_end_dt = add_days(l_end_dt. 18 Input values available: No Input values are available. 20 Formula output or return values: No need to use predefined names for return variables.

PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID . ORGANIZATION_ID. PAYROLL_ACTION_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if not PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*21 /* age in months */ l_start_dt = add_months(l_dob.FORMULA TYPE : Rate Start Date DESCRIPTION : Formula to determine participants rate start date for an enrollment result. The rate start date is calculated as the day on which the person turns 21. PL_TYP_ID. PGM_ID. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Rate: Rate Start Date Rule 15 Contexts: BUSINESS_GROUP_ID. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ASSIGNMENT_ID. JURISDICTION_CODE.l_min_age) ) else ( l_start_dt = '31-Dec-4712' (date) /* end of time */ ) return l_start_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Rate End Date 13 Functional Usage: The Rate End Date formula can be used to determine the date on which the rate for enrollment result ends for a participant. PL_ID. DATE_EARNED. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID. OPT_ID.

any name can be used) 8 Erroring: None. ben_opt_f and database items based on person’s assignment_id. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if not PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*25 l_end_dt = add_months(l_dob.17 Database items available: All columns except attribute columns from tables ben_ler_f. ben_pl_f. activity_base_rate_id. 9 Remarks: 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RT_END_DT FORMULA TYPE : Rate End Date DESCRIPTION : Formula to determine the enrollment coverage end date for person in a Compensation object. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 20 Formula output or return values: No need to use predefined names for return variables. It returns end date as the date on which the person turns 25. ben_pl_typ_f. Data Type Date Value Remarks Out Variable Name L_END_DT (Not a mandatory out variable. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_min_age) l_end_dt = add_days(l_end_dt. ben_pgm_f. -1) ) else ( l_end_dt = l_dob ) . 18 Input values available: No Input values are available.

ORGANIZATION_ID. ASSIGNMENT_ID. DATE_EARNED. PGM_ID.: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_PRD_START_DT FORMULA TYPE : Period Start Date DESCRIPTION : Formula to determine enrollment period start date. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ . JURISDICTION_CODE. PL_TYP_ID. PL_ID. 20 Formula output or return values: No need to use predefined names for return variables. Out Variable Name L _START_DT (Not a mandatory out variable. any name can be used) 8 Data Type Date Value Remarks Erroring: If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. OPT_ID. ben_pl_f. 18 Input values available: No Input values are available. ben_pl_typ_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.return l_end_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Enrollment Period Start Date 13 Functional Usage: The Enrollment Period Start Date formula can be used to determine the date from which the enrollment period starts. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Timing: Schedule: Coverage: Periods: Enrollment Period Start Date 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ben_opt_f and database items based on person’s assignment_id. The enrollment period start date is calculated as the day on which the participant turns 21. ben_pgm_f.

: None./*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if not PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*21 l_start_dt = add_months(l_dob. Out Variable Name L_END_DT (Not mandatory out variable. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. ORGANIZATION_ID. ASSIGNMENT_ID. any name can be used) 8 Data Type Date Value Remarks Erroring: If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. ben_pl_typ_f. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Timing: Schedule: Coverage: Periods: Enrollment Period End Date 15 Contexts: BUSINESS_GROUP_ID. PL_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. OPT_ID.l_min_age) ) else ( l_start_dt = '01-Dec-4712' (date) ) return l_start_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Enrollment Period End Date 13 Functional Usage: The Enrollment Period End Date formula can be used to determine the date from which the enrollment period ends. 18 Input values available: No Input values are available. PGM_ID. ben_pl_f. PL_TYP_ID. 20 Formula output or return values: No need to use predefined names for return variables. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ENRT_PRD_END_DT . ben_opt_f and database items based on person’s assignment_id. JURISDICTION_CODE. DATE_EARNED. ben_pgm_f.

It returns the end date as the date on which the person turns 25. PGM_ID. JURISDICTION_CODE. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id. OPT_ID.FORMULA TYPE : Enrollment Period End Date DESCRIPTION : Formula to determine the enrollment period end date. ben_pl_typ_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if not PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*25 l_end_dt = add_months(l_dob. -1) ) else ( l_end_dt = l_dob ) Return l_end_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Dependent Coverage Start Date 13 Functional Usage: The Dependant Coverage Start Date formula can be used to determine when the coverage for a dependent should start.l_min_age) l_end_dt = add_days(l_end_dt. . ben_pgm_f. ben_pl_f. PL_ID. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Designation: Dependant Coverage Start Date: Rule 15 Contexts: BUSINESS_GROUP_ID. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ASSIGNMENT_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. PL_TYP_ID. ORGANIZATION_ID.

coverage start date is the date of notification *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for CON_DATE_OF_BIRTH is '01-jan-0001' (date) Default for CON_START_DATE is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_con_dob = CON_DATE_OF_BIRTH (date) l_con_start_date = CON_START_DATE (date) l_age_in_days = days_between(l_con_dob. coverage starts Date is Date of birth. 20 Formula output or return values: No need to use predefined names for return variables. If the birth is notified within 30 days of event. Otherwise.l_con_start_date) If l_age_in_days > 0 and l_age_in_days < 31 then ( l_start_dt = l_con_dob ) else ( l_start_dt = fn_effective_date() ) .18 Input values available: No Input values are available. Out Variable Name L _START_DT (Not a mandatory out variable. any name can be used) Data Type Date Value Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_DPNT_COV _START_DT FORMULA TYPE : Dependant Coverage Start Date DESCRIPTION : Formula to determine a dependants enrollment coverage start date. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.

return l_start_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Dependant Coverage End Date 13 Functional Usage: The Dependant Coverage End Date formula can be used to determine when the coverage for a dependant should end. any name can be used) Data Type Date Value Remarks 8 Erroring: None. PL_TYP_ID. ORGANIZATION_ID. Out Variable Name L_END_DT (Not a mandatory out variable. ASSIGNMENT_ID. ben_pgm_f. ben_pl_f. ben_opt_f and database items based on person’s assignment_id. 18 Input values available: No Input values are available. **********************************************************************/ . 14 Navigation Path:: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Designation: Dependant Coverage Start Date: Rule 15 Contexts: BUSINESS_GROUP_ID. DATE_EARNED. 20 Formula output or return values: No need to use predefined names for return variables. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_DPNT_COV_END_DT FORMULA TYPE : Dependant Coverage End Date DESCRIPTION : Formula to determine the date on which coverage ends for a dependant. JURISDICTION_CODE. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PL_ID. PGM_ID. OPT_ID. ben_pl_typ_f. The coverage end date is the day on which the dependant turns 18 ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f.

ben_pgm_f. ben_pl_typ_f. LER_ID 16 Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with ELIG_PER_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. PER_PAY_METHOD_ID. ASSIGNMENT_ID. ORGANIZATION_ID. PGM_ID.l_max_age) l_end_dt = add_days(l_end_dt./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for CON_DATE_OF_BIRTH coverage is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = CON_DATE_OF_BIRTH (date) if not CON_DATE_OF_BIRTH was defaulted then ( l_max_age = 12*18 /* no of months in 18 years */ l_end_dt = add_months(l_dob. DATE_EARNED. 18 Input values available: Name Data Remarks Type ELIG_DPNT_ID1 Number 1st Eligible Dependant’s id ELIG_DPNT_ID2 Number 2nd Eligible Dependant’s id ELIG_DPNT_ID3 Number 3rd Eligible Dependant’s id ELIG_DPNT_ID4 Number 4th Eligible Dependant’s id ELIG_DPNT_ID5 Number 5th Eligible Dependant’s id ELIG_DPNT_ID6 Number 6th Eligible Dependant’s id ELIG_DPNT_ID7 Number 7th Eligible Dependant’s id ELIG_DPNT_ID8 Number 8th Eligible Dependant’s id ELIG_DPNT_ID9 Number 9th Eligible Dependant’s id . -1) ) else ( l_end_dt = l_dob ) return l_end_dt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Enrollment Opportunity 13 Functional Usage: The Enrollment Opportunity formula can be used to determine whether a compensation object should be an electable choice for the person. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Life Event: Plan: Enrollment: Enrollment Rule Name 15 Contexts: BUSINESS_GROUP_ID. JURISDICTION_CODE. OPT_ID. ben_opt_f and database items based on person’s assignment_id and elig_per_id. ben_pl_f. PL_TYP_ID. PL_ID.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ .ELIG_DPNT_ID10 ELIG_DPNT_ID11 ELIG_DPNT_ID12 ELIG_DPNT_ID13 ELIG_DPNT_ID14 ELIG_DPNT_ID15 ELIG_DPNT_ID16 ELIG_DPNT_ID17 ELIG_DPNT_ID18 ELIG_DPNT_ID19 ELIG_DPNT_ID20 NUM_ELIG_DPNT 8 9 Number Number Number Number Number Number Number Number Number Number Number Number 10th Eligible Dependant’s id 11th Eligible Dependant’s id 12th Eligible Dependant’s id 13th Eligible Dependant’s id 14th Eligible Dependant’s id 15th Eligible Dependant’s id 16th Eligible Dependant’s id 17th Eligible Dependant’s id 18th Eligible Dependant’s id 19th Eligible Dependant’s id 20th Eligible Dependant’s id No. Out Variable Name L_ENRT_OPP (Not a mandatory out variable.L. if enrolled. any name can be used) Data Type Char Value Y.Leave as choice and use elctbl_flag L – Loose only condition. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ENRT_OPTY FORMULA TYPE : Enrollment Opportunity DESCRIPTION : Formula to determine whether a compensation object should be an electable choice for the person ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Formula output or return values: No need to use predefined names for return variables. of Eligible dependant’s Constraints using Database items: Database items other than the ones mentioned above can’t be used.N.A Remarks Y – Yes A . will be de-enrolled N – No 8 Erroring: None.

18 Input values available: Name Data Remarks Type ELIG_DPNT_ID1 Number 1st Eligible Dependant’s id ELIG_DPNT_ID2 Number 2nd Eligible Dependant’s id ELIG_DPNT_ID3 Number 3rd Eligible Dependant’s id ELIG_DPNT_ID4 Number 4th Eligible Dependant’s id ELIG_DPNT_ID5 Number 5th Eligible Dependant’s id ELIG_DPNT_ID6 Number 6th Eligible Dependant’s id ELIG_DPNT_ID7 Number 7th Eligible Dependant’s id ELIG_DPNT_ID8 Number 8th Eligible Dependant’s id ELIG_DPNT_ID9 Number 9th Eligible Dependant’s id ELIG_DPNT_ID10 Number 10th Eligible Dependant’s id ELIG_DPNT_ID11 Number 11th Eligible Dependant’s id ELIG_DPNT_ID12 Number 12th Eligible Dependant’s id ELIG_DPNT_ID13 Number 13th Eligible Dependant’s id ELIG_DPNT_ID14 Number 14th Eligible Dependant’s id . PGM_ID. ben_pl_typ_f. ben_pgm_f. ORGANIZATION_ID. PL_ID. OPT_ID. ben_opt_f and database items based on person’s assignment_id and elig_per_id. DATE_EARNED. PER_PAY_METHOD_ID. PL_TYP_ID. JURISDICTION_CODE. ASSIGNMENT_ID. LER_ID 16 Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with ELIG_PER_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f./*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if l_job = 'Board Member' or l_job = 'Director' then ( l_result_flag = 'Y' ) else if l_job = 'Manager' then ( l_result_flag = 'A' ) else if l_job = 'Sales Manager' or l_job = 'Accountant' then ( l_result_flag = 'L' ) else ( l_result_flag = 'N' ) return l_result_flag /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Default Enrollment 13 Functional Usage: The Default Enrollment formula can be used to determine whether an option in plan should be assigned to a person as part of the default enrollment process. 14 Navigation Path:: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Life Event: Plan: Enrollment: Enrollment Rule Name 15 Contexts: BUSINESS_GROUP_ID. ben_pl_f.

ELIG_DPNT_ID15 ELIG_DPNT_ID16 ELIG_DPNT_ID17 ELIG_DPNT_ID18 ELIG_DPNT_ID19 ELIG_DPNT_ID20 NUM_ELIG_DPNT 8 9 Number Number Number Number Number Number Number 15th Eligible Dependant’s id 16th Eligible Dependant’s id 17th Eligible Dependant’s id 18th Eligible Dependant’s id 19th Eligible Dependant’s id 20th Eligible Dependant’s id No. Formula output or return values: Mandatory values listed below have to be use.Carry Forward Within Program Number 8 Erroring: None. Out Variable Name AUTO_DFLT_VAL CARRY_FORWARD_ELIG_D PNT PREV_ENROLLMENT_RESU LT_ID Data Type Char Char Value Y/N CFRRWP. of Eligible dependant’s Constraints using Database items: Database items other than the ones mentioned above can’t be used. CFWP Previous Enrollment result ID Remarks CFRRWP . 9 Remarks: None Sample Formula: /****************************************************************************** FORMULA NAME: BEN_DFLT_ENRT FORMULA TYPE : Default Enrollment DESCRIPTION the person : Formula to determine whether a compensation object should be an defaulted for ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** .Carry Forward or Reinstate Within Program CFWP .

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for BEN_OPT_NAME is ' ' Default for BEN_PLN_NAME is ' ' Default for NUM_ELIG_DPNT is –1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ INPUTS are NUM_ELIG_DPNT /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_pln_name = BEN_PLN_NAME l_opt_name = BEN_OPT_NAME l_num_elig_dpnt = NUM_ELIG_DPNT IF l_pln_name = 'Stay Healthy HMO' then ( if l_opt_name = 'Employee Only' and l_num_elig_dpnt = 0 then ( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else if l_opt_name = 'Employee Plus One' and l_num_elig_dpnt = 1 then .FORMULA TEXT: Logic in simple terms.

.( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else if l_opt_name = 'Employee Plus Family' and l_num_elig_dpnt > 1 then ( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else ( AUTO_DFLT_VAL = 'N' ) ) else ( AUTO_DFLT_VAL = 'N' ) return AUTO_DFLT_VAL. CARRY_FORWARD_ELIG_DPNT /*================ FORMULA SECTION END =======================*/ /***************************************************************************** FORMULA NAME: BEN_DFLT_ENRT FORMULA TYPE : Default Enrollment DESCRIPTION : Formula to determine whether a compensation object should be an electable choice for the person ****************************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Nagaraj Hunur 9-May-2006 To describe use of PREV_PRTT_ENRT_RSLT_ID *********************************************************************** FORMULA TEXT: Logic in simple terms.

PER_PAY_METHOD_ID. carry_forward_elig_dpnt. ORGANIZATION_ID. PL_ID. LER_ID 15 Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with ELIG_PER_ID . OPT_ID. ASSIGNMENT_ID. carry_forward_elig_dpnt ) /*================ FORMULA SECTION END =======================*/ 10 Formula functions used in the sample formula: 11 Unit test script: Formula Type: Automatic Enrollment Method 12 Functional Usage: The Default Enrollment Method formula can be used to determine the condition under which a person should automatically get enrolled in a compensation object 13 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Life Event: Plan: Enrollment: Enrollment Automatic Rule 14 Contexts: BUSINESS_GROUP_ID. JURISDICTION_CODE. DATE_EARNED. PGM_ID. PL_TYP_ID.**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for BEN_PLN_PL_ID is 0 Default for BEN_OPT_OPT_ID is 0 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ IF BEN_PLN_PL_ID = 61 then ( if BEN_OPT_OPT_ID = 11 then ( auto_dflt_val = 'Y' carry_forward_elig_dpnt = 'CFRRWP' PREV_PRTT_ENRT_RSLT_ID = 34005 ) else ( auto_dflt_val = 'N' carry_forward_elig_dpnt = 'CFWP' PREV_PRTT_ENRT_RSLT_ID = 4500 ) return auto_dflt_val. PREV_PRTT_ENRT_RSLT_ID ) else ( auto_dflt_val = 'N' carry_forward_elig_dpnt = 'CFWP' return auto_dflt_val.

17 Input values available: Name Data Remarks Type ELIG_DPNT_ID1 Number 1st Eligible Dependant’s id ELIG_DPNT_ID2 Number 2nd Eligible Dependant’s id ELIG_DPNT_ID3 Number 3rd Eligible Dependant’s id ELIG_DPNT_ID4 Number 4th Eligible Dependant’s id ELIG_DPNT_ID5 Number 5th Eligible Dependant’s id ELIG_DPNT_ID6 Number 6th Eligible Dependant’s id ELIG_DPNT_ID7 Number 7th Eligible Dependant’s id ELIG_DPNT_ID8 Number 8th Eligible Dependant’s id ELIG_DPNT_ID9 Number 9th Eligible Dependant’s id ELIG_DPNT_ID10 Number 10th Eligible Dependant’s id ELIG_DPNT_ID11 Number 11th Eligible Dependant’s id ELIG_DPNT_ID12 Number 12th Eligible Dependant’s id ELIG_DPNT_ID13 Number 13th Eligible Dependant’s id ELIG_DPNT_ID14 Number 14th Eligible Dependant’s id ELIG_DPNT_ID15 Number 15th Eligible Dependant’s id ELIG_DPNT_ID16 Number 16th Eligible Dependant’s id ELIG_DPNT_ID17 Number 17th Eligible Dependant’s id ELIG_DPNT_ID18 Number 18th Eligible Dependant’s id ELIG_DPNT_ID19 Number 19th Eligible Dependant’s id ELIG_DPNT_ID20 Number 20th Eligible Dependant’s id NUM_ELIG_DPNT Number No. ben_opt_f and database items based on person’s assignment_id and elig_per_id.Carry Forward or Reinstate Within Program CFWP . ben_pgm_f. ben_pl_typ_f. ben_pl_f. Out Variable Name AUTO_DFLT_VAL CARRY_FORWARD_ELIG_D PNT Data Type Char Char Value Y/N CFRRWP. CFWP Remarks CFRRWP . of Eligible dependant’s 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used.16 Database items available: All columns except attribute columns from tables ben_ler_f. ******************************************************************************* Change History: . Formula output or return values: Mandatory values listed below have to be use.Carry Forward Within Program 8 Erroring: None. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_AUTO_ENRT_MTHD FORMULA TYPE : Auto Enrollment Method DESCRIPTION : Person get automatically enrolled in a plan and option based on the number of dependants.

Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. CARRY_FORWARD_ELIG_DPNT /*================ FORMULA SECTION END =======================*/ . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for BEN_OPT_NAME is ' ' Default for BEN_PLN_NAME is ' ' Default for NUM_ELIG_DPNT is –1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ INPUTS are NUM_ELIG_DPNT /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_pln_name = BEN_PLN_NAME l_opt_name = BEN_OPT_NAME l_num_elig_dpnt = NUM_ELIG_DPNT IF l_pln_name = 'Stay Healthy HMO' then ( if l_opt_name = 'Employee Only' and l_num_elig_dpnt = 0 then ( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else if l_opt_name = 'Employee Plus One' and l_num_elig_dpnt = 1 then ( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else if l_opt_name = 'Employee Plus Family' and l_num_elig_dpnt > 1 then ( AUTO_DFLT_VAL = 'Y' CARRY_FORWARD_ELIG_DPNT = 'CFWP' ) else ( AUTO_DFLT_VAL = 'N' ) ) else ( AUTO_DFLT_VAL = 'N' ) return AUTO_DFLT_VAL.

any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ENRT_CERT_REQD FORMULA TYPE : Enrollment Certification Required DESCRIPTION : Formula to evaluate if a certificate is to be produced when a person decides to elect a option or option in plan or benefit. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ . 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Certification Required When: Rule 15 Contexts: BUSINESS_GROUP_ID. ben_enrt_ctfn and database items based on person’s assignment_id 18 Input values available: No Input values are available. OPT_ID. PL_TYP_ID. PL_ID. 20 Formula output or return values: No need to use predefined names for return variables. In case the person is aged above 35 then certificate is not required ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Enrollment Certification Required 13 Functional Usage: The Enrollment Certification Required formula can be used to determine the condition under which a person must provide certification to enroll or elect a particular plan or option in plan. Out Variable Name Data Type Value Remarks L_CERT_REQD Char Y/N (Not a mandatory variable. ORGANIZATION_ID. or benefit. ASSIGNMENT_ID. PGM_ID. SOURCE_TEXT 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. DATE_EARNED. JURISDICTION_CODE. LER_ID.

ben_pgm_f./*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = fn_date_of_birth() l_effective_date = fn_effective_Date() l_age = trunc(months_between(l_effective_date. ben_opt_f and database items based on person’s assignment_id 18 Input values available: No Input values are available. DATE_EARNED. Out Variable Name Data Type Value Remarks L_MIN_COV_AMT Number (Not a mandatory variable. ORGANIZATION_ID. PGM_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. ben_pl_typ_f. l_dob)/12) if l_age > 35 then (l_cert_reqd = 'N') else (l_cert_reqd = 'Y') return l_cert_reqd /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE. PL_ID. OPT_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. FN_DATE_OF_BIRTH 12 Unit test script: ============================================================================ Formula Type: Minimum Coverage Amount Calculation 13 Functional Usage: The Minimum Coverage Amount Calculation formula determines the minimum coverage or benefit amount for a person. ASSIGNMENT_ID. any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_MIN_COV_AMT_CALC . ben_pl_f. 20 Formula output or return values: No need to use predefined names for return variables. PL_TYP_ID. JURISDICTION_CODE. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Values: Min Rule 15 Contexts: BUSINESS_GROUP_ID.

whereas for all others it is $500.FORMULA TYPE : Minimum Coverage Amount Calculation DESCRIPTION : Formula to evaluate the minimum coverage amount. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) /* get the benefit group name*/ if l_benefit_group = 'Director Business Group' then ( l_min_cov_amt = 1000 ) else ( l_min_cov_amt = 500 ) ) else ( l_min_cov_amt = 500 ) return l_min_cov_amt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: ============================================================================ Formula Type: Maximum Coverage Amount Calculation 13 Functional Usage: The Maximum Coverage Amount Calculation formula can be used to determine the maximum coverage or benefit amount for a person. The minimum coverage rate for a Director is $1000. .

Out Variable Name Data Type Value Remarks L_MAX_COV_AMT Number (Not a mandatory variable. 20 Formula output or return values: No need to use predefined names for return variables. ASSIGNMENT_ID. ORGANIZATION_ID. PL_ID. ben_opt_f and database items based on person’s assignment_id 18 Input values available: No Input values are available. any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_MAX_COV_AMT_CALC FORMULA TYPE : Maximum Coverage Amount Calculation DESCRIPTION : Formula to evaluate the maximum coverage amount. ben_pgm_f. The maximum coverage rate for a Director is $2000. whereas for all others it is $1000. ben_pl_f. DATE_EARNED. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PGM_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. JURISDICTION_CODE. PL_TYP_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) /* get the benefit group name*/ .14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Values: Max Rule 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. OPT_ID. ben_pl_typ_f.

PERSON_ID BEN_PIL_IV_PER_IN_LER_ID Number Person Life Event BEN_PER_IN_LER.PRTT_ENRT_RSLT_I D BEN_PER_IV_PERSON_ID Number PER_ALL_PEOPLE_F.PER_IN_LER_ID 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. an electable choice ID. PL_TYP_ID. The formula can return a code. OPT_ID. or an electable choice ID and amount. Formula should return one of the three following options in the table below. JURISDICTION_CODE. ORGANIZATION_ID. PL_ID. ben_pl_typ_f. ASSIGNMENT_ID. . ben_pgm_f. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. Formula output or return values: No need to use predefined names for return variables. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id 18 Input values available: Input Value Name Data Remarks Type BEN_PEN_IV_PRTT_ENRT_RSLT_ID Number Suspended Enrollment Result BEN_PRTT_ENRT_RSLT_F. PGM_ID.if l_benefit_group = 'Director Business Group' then ( l_min_cov_amt = 2000 ) else ( l_min_cov_amt = 1000 ) ) else ( l_min_cov_amt = 1000 ) return l_min_cov_amt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: ============================================================================ Formula Type: Default to Assign Pending Action 13 Functional Usage: The Default to Assign Pending Action formula can be used to determine the applicable default option or benefit to assign to the person when his or her choice is suspended. ben_pl_f. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Coverage: Interim Assign Rule 15 Contexts: BUSINESS_GROUP_ID.

Number ELIG_PER_ELCT BL_CHC_ID . New. Min. 2. Min. Next Lower. Min CSEMNNNL: Current Same Elected. Next Lower CASNLNNL: Current Always Same. Next Lower CSEDFNNT: Current Same Elected. New. Next Lower. Default. New. Nothing CASMNNMN: Current Always Same. Next Lower CSEDFNNL: Current Same Elected. Default. New. Default. New. Nothing. Min. Min CASMNNNL: Current Always Same. Nothing CASNTNNT: Current Always Same. Nothing All the codes listed above means that the person should be enrolled in the same plan type All the codes listed above means that the person should be enrolled in the same plan CSEDFNDF: Current Same Elected. Nothing Return an electable choice Id of the expected interim enrollment. New. Next Lower CSEMNNNT: Current Same Elected. New. New. New. New. Nothing CASDFNNL: Current Always Same. Option 2 L_ELIG_PER_ELCTBL_ CHC_ID (Not a mandatory variable. Next Lower. New. Min. Min. New. New. New. Default. Nothing. New. Nothing CSENLNMN: Current Same Elected. Default. Next Lower. Min CASNLNNT: Current Always Same. Next Lower CASNLNMN: Current Always Same. Min. Nothing CSENTNNT: Current Same Elected. Next Lower. Min CSENLNNT: Current Same Elected. Option 1 L_MAX_COV_AMT (Not a mandatory variable. Default CASDFNNT: Current Always Same. New. New. Next Lower. Nothing CSEMNNMN: Current Same Elected.Data Type Out Variable Name 1. Default CSENLNNL: Current Same Elected. New. New. Next Lower CASMNNNT: Current Always Same. any name can be used) Varchar2 Value CASDFNDF CASDFNNT CASMNNMN CASMNNNL CASMNNNT CASDFNNL CASNLNNL CASNLNMN CASNLNNT CASNTNNT RL CSEDFNDF CSENLNNL CSEDFNNL CSEDFNNT CSEMNNMN CSEMNNNL CSEMNNNT CSENLNMN CSENLNNT CSENTNNT Remarks CASDFNDF: Current Always Same. Default. New.

New. New. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if l_job = 'Board Member' or l_job = 'Director' then ( l_pndg_actn = 'CSEDFNDF' /*Current Same Elected. Next Lower. Next Lower */ ) return l_pndg_actn . any name can be used) Number. This option is used when there are more than one benefit amount associated with the proposed interim electable choice id. which his or her choice is suspended.L_AMT (Not a mandatory variable. Default*/ ) else if l_job = 'Manager' then ( l_pndg_actn = 'CSENLNNL' /*Current Same Elected. Next Lower. Option 2 L_ELIG_PER_ELCTBL_ CHC_ID. New.any name can be used) 3. BNFT_AMOUNT Return an electable choice Id and also benefit amount. Number ELIG_PER_ELCT BL_CHC_ID. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Default. 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_DFLT_TO_ASGN_PNDG_ACTN FORMULA TYPE : Default to Assign Pending Action DESCRIPTION : Formula to determine the applicable default option or benefit for a person. Next Lower */ ) else ( l_pndg_actn = 'CASNLNNL' /*Current Always Same.

Formula returns an electable choice ID and amount. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ . Formula returns an electable choice ID ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 28-Apr-2006 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. which his or her choice is suspended./*================ FORMULA SECTION END =======================*/ /****************************************************************************** FORMULA NAME: BEN_DFLT_TO_ASGN_PNDG_ACTN FORMULA TYPE : Default to Assign Pending Action DESCRIPTION : Formula to determine the applicable default option or benefit for a person. *********s********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 28-Apr-2006 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ default for elctbl_chc_id is 0 default for ben_amt is 0 /*========Electable choice ID can be calculated through a formula function also ===*/ default for elctbl_chc_id is '0' elctbl_chc_id='360603' return elctbl_chc_id /*================ FORMULA SECTION END =======================*/ /****************************************************************************** FORMULA NAME: BEN_DFLT_TO_ASGN_PNDG_ACTN FORMULA TYPE : Default to Assign Pending Action DESCRIPTION : Formula to determine the applicable default option or benefit for a person. which his or her choice is suspended.

ORGANIZATION_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions -> Standard Rates -> General -> Element Determination Rule 15 Contexts: DATE_EARNED. 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f./*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ default for elctbl_chc_id is 0 default for ben_amt is 0 /*========Electable choice ID can be calculated through a formula function also ===*/ elctbl_chc_id=358704 ben_amt=1001 return elctbl_chc_id.ben_amt /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: =============================================================== Formula Type: Element Determination 13 Functional Usage: The Element Determination formula can be used to determine the currency and/or element type and input value for a standard rate. ASSIGNMENT_ID. ben_acty_base_rt_f and database items based on person’s assignment_id 18 Input values available: No input values are available. PL_ID and LER_ID. ben_pl_f. BUSINESS_GROUP_ID. ACTY_BASE_RT_ID. 20 Formula output or return values: Formula should return one of the three following options in the table below. Data Type Out Variable Name ELEMENT_TYPE_ID INPUT_VALUE_ID CURRENCY_CODE Number Number Varchar2 Value Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RATE_CURR FORMULA TYPE : Element Determination Rule . JURISDICTION_CODE. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.

DATE_EARNED. PL_ID. ASSIGNMENT_ID. 18 Input values available: No Input values are available. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Limitation: Required Period of Enrolment Rule 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Siok Tee 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PGM_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_LOCATION is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_loc = ASG_LOCATION if l_loc = 'UK' then currency_code = 'GBP' else currency_code = 'USD' return currency_code /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Required Period of Enrollment 13 Functional Usage: The Required Period of Enrollment formula can be used to determine the earliest de-enrollment date for a person’s electable choice for compensation object. PL_TYP_ID. ben_pl_f. ben_opt_f and database items based on person’s assignment_id. OPT_ID. ben_pl_typ_f. JURISDICTION_CODE. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ORGANIZATION_ID. 20 Formula output or return values: No need to use predefined names for return variables.DESCRIPTION : Formula to determine currency for a standard rate. ben_pgm_f. .

any name can be used) Data Type Date Value Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_REQD_PERD_OF_ENRT FORMULA TYPE : Required Period of Enrollment DESCRIPTION : Formula to determine the earliest de. It is Calculated as the day on which the person turns 25.enrollment date for a person.Out Variable Name L _DATE (Not a mandatory out variable. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH (date) if PER_DATE_OF_BIRTH was defaulted then ( l_min_age = 12*25 /* no of months in 25 years */ l_date = add_months(l_dob.l_min_age) ) else ( l_date = '01-jan-3000' (date) ) return l_date /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: .

ben_pl_typ_f. ben_pl_f. 19 Input values available: Name ELIG_DPNT_ID1 ELIG_DPNT_ID2 ELIG_DPNT_ID3 ELIG_DPNT_ID4 ELIG_DPNT_ID5 ELIG_DPNT_ID6 ELIG_DPNT_ID7 ELIG_DPNT_ID8 ELIG_DPNT_ID9 ELIG_DPNT_ID10 ELIG_DPNT_ID11 ELIG_DPNT_ID12 ELIG_DPNT_ID13 ELIG_DPNT_ID14 ELIG_DPNT_ID15 ELIG_DPNT_ID16 ELIG_DPNT_ID17 ELIG_DPNT_ID18 ELIG_DPNT_ID19 ELIG_DPNT_ID20 NUM_ELIG_DPNT 8 9 Data Type Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Number Remarks 1st Eligible Dependant’s id 2nd Eligible Dependant’s id 3rd Eligible Dependant’s id 4th Eligible Dependant’s id 5th Eligible Dependant’s id 6th Eligible Dependant’s id 7th Eligible Dependant’s id 8th Eligible Dependant’s id 9th Eligible Dependant’s id 10th Eligible Dependant’s id 11th Eligible Dependant’s id 12th Eligible Dependant’s id 13th Eligible Dependant’s id 14th Eligible Dependant’s id 15th Eligible Dependant’s id 16th Eligible Dependant’s id 17th Eligible Dependant’s id 18th Eligible Dependant’s id 19th Eligible Dependant’s id 20th Eligible Dependant’s id No. LER_ID. Use this along with the required period of enrollment to ensure that a participant stays enrolled for a particular period of time. OPT_ID. of Eligible dependant’s Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pgm_f. ASSIGNMENT_ID. PL_ID.Formula Type: Mandatory Determination 13 Functional Usage: The Mandatory Determination formula is used to determine which option in plan should be compulsorily assigned to a person. use the automatic or default enrollment option along with the mandatory determination formula. Data Type Char Value Y/N Remarks . PL_TYP_ID. Formula output or return values: No need to use predefined names for return variables. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id . PGM_ID. To ensure that the participant is assigned an option. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Option: Limitation: Option is required 15 Contexts: BUSINESS_GROUP_ID. JURISDICTION_CODE. ORGANIZATION_ID. Out Variable Name L_MNDTRY_FLAG (Not a mandatory out variable. PER_PAY_METHOD_ID 16 Overloaded Contexts: PER_PAY_METHOD_ID is overloaded with 17 ELIG_PER_ID 18 Database items available: All columns except attribute columns from tables ben_ler_f.

******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Anybody having Manager Salary Basis should compulsorily be enrolled. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_DFLT_ENRT FORMULA TYPE : Mandatory Determination DESCRIPTION : Formula to determine whether a person should compulsorily be enrolled in an option in plan. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for ASG_SALARY_BASIS_NAME is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_sal_basis = ASG_SALARY_BASIS_NAME if l_sal_basis = 'Manager Salary Basis' then ( l_mndtry_flag = 'Y' ) else ( l_mndtry_flag = 'N' ) return l_mndtry_flag /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Action Type Due Date 13 Functional Usage: The Action Type Due Date formula can be used to determine the date on which the Action Type must be completed. .any name can be used) 8 Erroring: None.

ben_pl_typ_f. ben_opt_f and database items based on person’s assignment_id. PL_ID. any name can be used) 8 Erroring: None. 18 Input values available: No Input values are available. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_effective_date = fn_effective_date() l_due_dt = add_days(l_effective_date. ben_pgm_f.30) return l_due_dt /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE . ben_pl_f. ASSIGNMENT_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. DATE_EARNED. 20 Formula output or return values: No need to use predefined names for return variables. Out Variable Name Data Type Value Remarks L_Due_DT Date (Not a mandatory out variable. OPT_ID. PL_TYP_ID.14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: General: Plan: Actions: Action Type Due Date 15 Contexts: BUSINESS_GROUP_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ACTN_TYP_DUE_END FORMULA TYPE : Action Type Due Date DESCRIPTION : Formula to determine the date by which the action should be completed. JURISDICTION_CODE. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PGM_ID. ORGANIZATION_ID. The due date is set as 30 days from the effective date.

Out Variable Name L_LER_CHG_DPNT_CVG_CD (Not a mandatory out variable. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_opt_f and database items based on person’s assignment_id. ben_pl_f. 18 Input values available: No Input values are available.12 Unit test script: Formula Type: Change Dependent Coverage 13 Functional Usage: The Change Dependent Coverage formula can be used to determine whether a dependant can be ‘Added Only. PL_TYP_ID. OPT_ID. ‘Removed Only’. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from tables ben_ler_f. any name can be used) Data Type Char Value MAD MEAORD MNANRD MRD Remarks MAD May Add Dependents MEAORD May Either Add or Remove Dependents MNANRD May Neither Add Nor Remove Dependents MRD May Remove Dependents 8 Erroring: None. ‘Added and Removed’ or ‘Neither’. ASSIGNMENT_ID. 20 Formula output or return values: No need to use predefined names for return variables. PGM_ID. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 14 Navigation Path: Total Compensation -> Programs and Plans-> Program Enrollment Requirements: Dependant Coverage: Plan type: Dependant Change of Life Event: Change Dependant Coverage Rule 15 Contexts: BUSINESS_GROUP_ID. ORGANIZATION_ID. JURISDICTION_CODE. PL_ID. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_CHNG_DPNT_COV FORMULA TYPE : Change Dependant Coverage DESCRIPTION : A person can change dependant Coverage only after two years from the date of joining. ben_pl_typ_f. ben_pgm_f. DATE_EARNED. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_START_DATE is '31-Dec-4712' (date) .

PGM_ID. 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. OPT_ID.l_start_date) if l_period_of_service >= 24 then ( l_ler_chg_dpnt_cvg_cd = ‘MEAORD’ ) else ( l_ler_chg_dpnt_cvg_cd = ‘MNANRD’ ) return l_ler_chg_dpnt_cvg_cd /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Dependent Certification Required 13 Functional Usage: The Dependent Certification Required formula can be used to determine the conditions under which a person must provide certification for his or her designated dependants./*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = ASG_START_DATE l_effective_date = fn_effective_date() l_period_of_service = months_between(l_effective_date. ben_pl_f. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id. PL_ID. LER_ID. 14 Navigation Path: Total Compensation -> Programs and Plans-> Program Enrollment Requirements: Dependent Coverage: Plan Type: Certification: Certification Required by 15 Contexts: BUSINESS_GROUP_ID. ben_pl_typ_f. 20 Formula output or return values Out Variable Name L_OUTPUT Data Type TEXT Value Y/N Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_DPNT_CERT_REQD . ben_pgm_f. ORGANIZATION_ID. 18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ASSIGNMENT_ID. JURISDICTION_CODE. PL_TYP_ID.

*********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 14 Navigation Path: Total Compensation -> Programs and Plans-> Plan Enrollment Requirements: Designations: Beneficiary: Certification: Certification Required by Rule 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from tables ben_ler_f. PL_ID. ORGANIZATION_ID. DATE_EARNED. PL_TYP_ID. ben_opt_f and database items based on person’s assignment_id. ben_pl_f. OPT_ID. ASSIGNMENT_ID. . ben_pgm_f.FORMULA TYPE : Dependent Certification Required DESCRIPTION : A person belonging to Manager Benefit Group need not provide certificates for dependents. ben_pl_typ_f. JURISDICTION_CODE. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is –1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 'Y' if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Beneficiary Certification Required 13 Functional Usage: The Beneficiary Certification Required formula can be used to determine the conditions under which a person must provide certification for his or her designated Beneficiaries. PGM_ID.

20 Formula output or return values Out Variable Name L_OUTPUT Data Type TEXT Value Y/N Remarks 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_BNFCR_CERT_REQD FORMULA TYPE : Beneficiary Certification Required DESCRIPTION : A person belonging to Manager Benefit Group need not provide certificates for beneficiary.18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is –1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 'Y' if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: .

Out Variable Name Data Type Value Remarks L_OUTPUT Number 8 Erroring: None. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Calculation Method: Rule: Rounding Rule 15 Contexts: None 16 Overloaded Contexts: None 17 Database items available: None 18 Input values available: No Input values are available.Formula Type: Rounding 13 Functional Usage: The Rounding formula can be used to round a number to a specified place or decimal. Name VALUE 8 9 Data Type Number Remarks Constraints using Database items: None Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT FOR VALUE IS 0 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ INPUTS are VALUE /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_input_val = VALUE l_output = ROUNDUP(l_input_val. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_ROUNDING FORMULA TYPE : Rounding DESCRIPTION : ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.2) .

OPT_ID. DATE_EARNED. PAYROLL_ACTION_ID. any name can be used) 8 Erroring: None. LER_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID and ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ASSIGNMENT_ID. PL_ID. It can be used to calculate a base or variable rate 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Calculation Method: Rule: Value Calculation Rule Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Calculation Method: Value: Value Rule 15 Contexts: BUSINESS_GROUP_ID.return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Rate Value Calculations 13 Functional Usage: The Rate Value Calculations formula can be used to calculate a rate amount for a person. PGM_ID. ben_pgm_f. 20 Formula output or return values: No need to use predefined names for return variables. 18 Input values available: No Input values are available. ben_opt_f and database items based on person’s assignment_id. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RT_VAL_CALC FORMULA TYPE : Rate Value Calculations DESCRIPTION : For an person with period of service more than two years the rate is 100 for others it is 200 ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ORGANIZATION_ID. PL_TYP_ID. JURISDICTION_CODE. ben_pl_f. **********************************************************************/ . Data Type Out Variable Name Value Remarks L_RATE NUMBER (Not a mandatory out variable. ben_pl_typ_f.

20 Formula output or return values: No need to use predefined names for return variables. OPT_ID. ben_pl_f. Data Type Out Variable Name L_RATE NUMBER (Any name can be used) 8 Erroring: None.l_start_date) if l_period_of_service >= 24 then ( l_rate = 100 ) else ( l_rate = 200 ) return l_rate /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Coverage Amount Calculations 13 Functional Usage: The Coverage Amount Calculations formula can be used to calculate a maximum coverage or benefit for a person./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_START_DATE is '31-Dec-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = ASG_START_DATE l_effective_date = fn_effective_date() l_period_of_service = months_between(l_effective_date. ben_pl_typ_f. ORGANIZATION_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Calculation Method: Rule: Value Calculation Rule 15 Contexts: BUSINESS_GROUP_ID. PL_ID. 18 Input values available: No Input values are available. PL_TYP_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. ASSIGNMENT_ID. PGM_ID. 9 Remarks: None 10 Sample Formula: /****************************************************************************** Value Remarks . 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id. ben_pgm_f. JURISDICTION_CODE.

DATE_EARNED. ORGANIZATION_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Calculation Method: Rule: Value Calculation Rule 15 Contexts: BUSINESS_GROUP_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_START_DATE is '31-Dec-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = ASG_START_DATE l_effective_date = fn_effective_date() l_period_of_service = months_between(l_effective_date. PL_TYP_ID. JURISDICTION_CODE. OPT_ID. PL_ID.l_start_date) if l_period_of_service >= 24 then ( l_rate = 1000 ) else ( l_rate = 500 ) return l_rate /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Premium Value Calculations 13 Functional Usage: The Premium Value Calculations formula can be used to calculate the premium amount for a person. ASSIGNMENT_ID. PGM_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID .FORMULA NAME: BEN_CVG_AMT_CALC FORMULA TYPE : Coverage Amount Calculations DESCRIPTION : For an person with period of service more than two years the coverage amount is 1000 for others it is 500 ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.

17 Database items available: All columns except attribute columns from table ben_ler_f. l_dob)/12)) l_rate = l_age * 25 ) else ( l_rate = 0 ) return l_rate /*================ FORMULA SECTION END =======================* . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH if not PER_DATE_OF_BIRTH was defaulted then ( l_effective_date = fn_effective_date() l_age = trunc(ROUNDUP(months_between(l_effective_date . ben_pl_f. ben_opt_f and database items based on person’s assignment_id. Data Type Out Variable Name Value Remarks L_RATE NUMBER (Any name can be used) 8 Erroring: None. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pgm_f. 20 Formula output or return values: No need to use predefined names for return variables. ben_pl_typ_f. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PREM_VAL_CALC FORMULA TYPE : Premium Value Calculations DESCRIPTION : The premium amount is calculated as 25 multiplied by the age of the person ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 18 Input values available: No Input values are available.

ben_pl_f. Data Type Out Variable Name Value Remarks L_LOW_LIMIT NUMBER (Any name can be used) 8 Erroring: None. PGM_ID. ASSIGNMENT_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. OPT_ID. JURISDICTION_CODE. ben_opt_f and database items based on person’s assignment_id. 18 Input values available: No Input values are available. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: Low Limit Value Rule Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Calculation Method: Low Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. ben_pl_typ_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is 0 .11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Rate Lower Limit 13 Functional Usage: The Rate Lower Limit formula can be used to calculate the amount to be used to determine the lower limit value to which an activity rate or variable value is compared. PAYROLL_ACTION_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 20 Formula output or return values: No need to use predefined names for return variables. PL_ID. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RT_LW_LMT FORMULA TYPE : Rate Lower Limit DESCRIPTION : The rate lower limit is calculated based on the Benefit group a person is assigned ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PL_TYP_ID. DATE_EARNED. LER_ID. ben_pgm_f. ORGANIZATION_ID.

ben_pl_f. PGM_ID. PL_ID. ASSIGNMENT_ID. ben_opt_f and database items based on person’s assignment_id. LER_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: High Limit Value Rule Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Calculation Method: High Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. PL_TYP_ID. ben_pgm_f. JURISDICTION_CODE./*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_low_limit = 1000 ) else if l_benefit_group = 'Sales Business Group' then ( l_low_limit = 500 ) else ( l_low_limit = 250 ) ) else ( l_low_limit= 250 ) return l_low_limit /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Rate Upper Limit 13 Functional Usage: The Rate Upper Limit formula can be used to calculate the amount to be used to determine the upper limit value to which an activity rate or variable value is compared. ben_pl_typ_f. . PAYROLL_ACTION_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. OPT_ID. DATE_EARNED. ORGANIZATION_ID. 18 Input values available: No Input values are available.

Data Type Out Variable Name Value Remarks L_HIGH_LIMIT NUMBER (Any name can be used) 8 Erroring: None. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RT_UPR_LMT FORMULA TYPE : Rate Upper Limit DESCRIPTION : The rate higher limit is calculated based on the Benefit group a person is assigned ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.20 Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is 0 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID If not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_high_limit = 2000 ) Else if l_benefit_group = 'Sales Business Group' then ( l_high_limit = 1500 ) Else ( l_high_limit = 1000 ) ) Else .

ASSIGNMENT_ID. DATE_EARNED. ORGANIZATION_ID. 18 Input values available: No Input values are available.( l_high_limit= 1000 ) Return l_high_limit /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Premium Lower Limit 13 Functional Usage: The Premium Lower Limit formula can be used to calculate the amount used to determine the lower limit for an activity or variable premium 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: Low Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. ben_pl_typ_f. PL_ID. Data Type Out Variable Name Value Remarks L_RATE NUMBER (Any name can be used) 8 Erroring: None. JURISDICTION_CODE. 20 Formula output or return values: No need to use predefined names for return variables. ben_opt_f and database items based on person’s assignment_id. ben_pl_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. LER_ID. PL_TYP_ID. OPT_ID. PAYROLL_ACTION_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PREM_LWR_LMT FORMULA TYPE : Premium Lower Limit DESCRIPTION : The premium lower limit is calculated as 20 multiplied by the age of the person ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ . PGM_ID. ben_pgm_f.

20 Formula output or return values: No need to use predefined names for return variables. l_dob)/12)) l_rate = l_age * 20 ) else ( l_rate = 0 ) return l_rate /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Premium Upper Limit 13 Functional Usage: The Premium Upper Limit formula can be used to calculate the amount used to determine the upper limit for an activity or variable premium 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: High Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. PL_TYP_ID. LER_ID. ORGANIZATION_ID. ASSIGNMENT_ID.Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH if not PER_DATE_OF_BIRTH was defaulted then ( l_effective_date = fn_effective_date() l_age = trunc(ROUNDUP(months_between(l_effective_date . OPT_ID. DATE_EARNED. PL_ID. Data Type Out Variable Name L_RATE (Any name can be used) 8 Erroring: None. PAYROLL_ACTION_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pgm_f. JURISDICTION_CODE. NUMBER Value Remarks . 18 Input values available: No Input values are available. ben_opt_f and database items based on person’s assignment_id. ben_pl_typ_f. ben_pl_f. PGM_ID.

LER_ID. l_dob)/12)) l_rate = l_age * 30 ) else ( l_rate = 0 ) return l_rate /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Coverage Lower Limit 13 Functional Usage: The Coverage Lower Limit formula can be used to calculate the amount to be used to determine the lower limit for an activity or variable coverage or benefit.9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PREM_UPR_LMT FORMULA TYPE : Premium Upper Limit DESCRIPTION : The premium Upper limit is calculated as 30 multiplied by the age of the person ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ASSIGNMENT_ID. ORGANIZATION_ID. OPT_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ Default for PER_DATE_OF_BIRTH is '01-jan-0001' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH if not PER_DATE_OF_BIRTH was defaulted then ( l_effective_date = fn_effective_date() l_age = trunc(ROUNDUP(months_between(l_effective_date . 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: Low Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. DATE_EARNED. PL_ID. JURISDICTION_CODE. PL_TYP_ID. PGM_ID. PAYROLL_ACTION_ID .

ben_pl_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_opt_f and database items based on person’s assignment_id. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_CVG_LW_LMT FORMULA TYPE : Coverage Lower Limit DESCRIPTION : The coverage lower limit is calculated based on the Benefit group a person is assigned ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. Data Type Out Variable Name Value Remarks L_LOW_LIMIT NUMBER (Any name can be used) 8 Erroring: None. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is 0 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_low_limit = 10000 ) else if l_benefit_group = 'Sales Business Group' then ( . ben_pl_typ_f. 18 Input values available: No Input values are available. 20 Formula output or return values: No need to use predefined names for return variables. ben_pgm_f.

ASSIGNMENT_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: High Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. OPT_ID. PL_TYP_ID. 18 Input values available: No Input values are available. ben_pl_typ_f. ben_pgm_f. LER_ID. PAYROLL_ACTION_ID 16 Overloaded Contexts: ORGANIZATION_ID is over loaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. ORGANIZATION_ID. ben_pl_f. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_COV_UPR_LMT FORMULA TYPE : Coverage Upper Limit DESCRIPTION : The coverage higher limit is calculated based on the Benefit group a person is assigned to ******************************************************************************* Change History: . PL_ID. JURISDICTION_CODE. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PGM_ID. Data Type Out Variable Name Value Remarks L_HIGH_LIMIT NUMBER (Any name can be used) 8 Erroring: None. 20 Formula output or return values: No need to use predefined names for return variables.l_low_limit = 7500 ) else ( l_low_limit = 5000 ) ) else ( l_low_limit= 5000 ) return l_low_limit /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Coverage Upper Limit 13 Functional Usage: The Coverage Upper Limit formula can be used to calculate the amount to be used to determine the upper limit for an activity or variable coverage or benefit. DATE_EARNED. ben_opt_f and database items based on person’s assignment_id.

and when the element entry should start.Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. which date to use when determining how many pay periods remain. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Partial Month Determination: Partial Month Determination Rule . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is 0 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID If not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_high_limit = 30000 ) Else if l_benefit_group = 'Sales Business Group' then ( l_high_limit = 25000 ) Else ( l_high_limit = 150000 ) ) Else ( l_high_limit= 15000 ) Return l_high_limit /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Partial Month Pro-ration Method 13 Functional Usage: The Partial Month Pro-ration Method formula can be used to determine.

******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. LER_ID. Out Variable Name L_output (Any name can be used) Data Type CHAR Value ALL NONE PRTVAL WASHRULE Remarks ALL NONE PRTVAL WASHRULE : All : None : Prorate Value : Wash Rule 8 Erroring: None. ben_pl_f. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PRL_MON_PRT_MTHD FORMULA TYPE : Partial month Pro-ration Method DESCRIPTION : The amount is pro-rated based on number of weeks in a month. OPT_ID. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. DATE_EARNED. JURISDICTION_CODE. ASSIGNMENT_ID. ben_opt_f and database items based on person’s assignment_id. PL_TYP_ID. ORGANIZATION_ID. PAYROLL_ACTION_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 18 Input values available: No Input values are available. ben_pl_typ_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_EPE_ENRT_CVG_STRT_DT is '01-JAN-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = BEN_EPE_ENRT_CVG_STRT_DT l_days = to_number(to_char(l_start_date. PL_ID. PGM_ID.15 Contexts: BUSINESS_GROUP_ID. ben_pgm_f. 20 Formula output or return values: No need to use predefined names for return variables.'DD')) if l_days < 7 then ( l_output = 'ALL' ) .

PL_ID. PL_TYP_ID. OPT_ID. PGM_ID. and when the element entry should start. ben_opt_f and database items based on person’s assignment_id. PAYROLL_ACTION_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. **********************************************************************/ . ASSIGNMENT_ID. ben_pl_typ_f. ORGANIZATION_ID. DATE_EARNED. Out Variable Name L_output (Any name can be used) Data Type CHAR Value DTERND DTPD PPED Remarks DTERND DTPD PPED Date Earned Date Paid Pay Period End Date 8 Erroring: None. LER_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Partial Month Determination: Effective Date Rule 15 Contexts: BUSINESS_GROUP_ID. 20 Formula output or return values: No need to use predefined names for return variables. ben_pgm_f. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PRTL_MON_EFF_DT_DET FORMULA TYPE : Partial Month Effective Date Determination DESCRIPTION : The amount is pro-rated based on number of day on which the enrollment starts ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ben_pl_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. which date to use when determining how many pay periods remain. JURISDICTION_CODE. 18 Input values available: No Input values are available.else ( l_output = 'PRTVAL' ) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Partial Month Effective Date Determination 13 Functional Usage: The Partial Month Effective Date Determination formula can be used to determine.

PL_TYP_ID. PAYROLL_ACTION_ID. ORGANIZATION_ID. LER_ID. PL_ID. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Variable Rates Profiles: Limit: High Limit Value Rule Total Compensation -> Rates/Coverage Definitions-> Standard Rates: Calculation Method: High Limit Value Rule 15 Contexts: BUSINESS_GROUP_ID. ben_opt_f and database items based on person’s assignment_id. ben_pl_typ_f. Data Type Out Variable Name L_OUTPUT (Any name can be used) NUMBER Value Remarks . 17 Database items available: All columns except attribute columns from table ben_ler_f. JURISDICTION_CODE. OPT_ID. 20 Formula output or return values: No need to use predefined names for return variables. PGM_ID. 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RT_ID and ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID. ben_pl_f. ben_pgm_f. ASSIGNMENT_ID.'DD')) if l_days < 7 then ( l_output = 'DTERND' ) else ( l_output = 'DTPD' ) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Prorate Annual Election Value 13 Functional Usage: The Prorate Annual Election Value formula can be used to determine how a minimum or maximum election value is prorated./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_EPE_ENRT_CVG_STRT_DT is '01-JAN-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = BEN_EPE_ENRT_CVG_STRT_DT l_days = to_number(to_char(l_start_date. 18 Input values available: No Input values are available. DATE_EARNED. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.

75 ) else if l_month > 6 and l_month < 10 then ( l_multiplier = .5 ) else if l_month > 9 then ( l_multiplier = .25 ) l_output = 1500*l_multiplier ) else ( l_output = 0 ) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: .8 Erroring: None.'MM')) if l_month < 4 then ( l_multiplier = 1 ) else if l_month > 3 and l_month < 7 then ( l_multiplier = . 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PRO_ANN_ELEC_VAL FORMULA TYPE : Prorate Annual Election Rule DESCRIPTION : The prorated value is derived from the enrollment coverage start date ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_EPE_ENRT_CVG_STRT_DT is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_enrollment_st_dt = BEN_EPE_ENRT_CVG_STRT_DT IF not BEN_EPE_ENRT_CVG_STRT_DT was defaulted then ( l_month = to_number(to_char(l_enrollment_st_dt.

Data Type Out Variable Name Value Remarks L_OUTPUT NUMBER The formula should return a percentage (Any name can be used) amount 8 Erroring: None. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_EPE_ENRT_CVG_STRT_DT is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_enrollment_st_dt = BEN_EPE_ENRT_CVG_STRT_DT IF not BEN_EPE_ENRT_CVG_STRT_DT was defaulted then ( . ben_pl_f. ASSIGNMENT_ID.Formula Type: Partial Month Proration Rule 13 Functional Usage: The Partial Month Proration Rule formula can be used to determine the value for a partial month enrollment 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions-> Actual premium: Partial Month: Proration: Partial Month Proration Rule 15 Contexts: BUSINESS_GROUP_ID. OPT_ID. PL_TYP_ID. ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pgm_f. PAYROLL_ACTION_ID 16 Overloaded Contexts: PAYROLL_ACTION_ID is overloaded with activity_base_rt_id 17 Database items available: All columns except attribute columns from table ben_ler_f. LER_ID. 18 Input values available: No Input values are available. PL_ID. PGM_ID. ORGANIZATION_ID. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_PART_MON_PRO_RL FORMULA TYPE : Partial Month Proration Rule DESCRIPTION : The percentage prorated value is calculated based on enrollment coverage start date. 20 Formula output or return values: No need to use predefined names for return variables. ben_pl_typ_f. ben_opt_f and database items based on person’s assignment_id. DATE_EARNED. JURISDICTION_CODE.

then Forfeit RLOVR_FRFT: Rollover Max. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pgm_f. Out Variable Name L_OUTPUT (Any name can be used) Data Type CHAR Value DSTRBT_ALL DSTRBT_FRFT DSTRBT_RLOVR_FRF T FRFT_ALL RLOVR_DSTRBT_FRF T RLOVR_FRFT Remarks DSTRBT_ALL: Distribute All DSTRBT_FRFT: Distribute Maximum. 18 Input values available: No Input values are available. PL_ID. ORGANIZATION_ID. 20 Formula output or return values: No need to use predefined names for return variables. then Forfeit 8 9 Erroring: None. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with elig_per_elctbl_chc_id. then Forfeit DSTRBT_RLOVR_FRFT: Distribute Max. Remarks: None .'DD')) if l_month < 11 then ( l_output = 100 ) else if l_month > 10 and l_month < 21 then ( l_output = 66 ) else if l_month > 20 then ( l_output = 33 ) ) else ( l_output = 0 ) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Default Excess Treatment 13 Functional Usage: The Default Excess Treatment formula can be used to determine how any excess credits are to be allocated 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions->Benefit Pools: General: Rule 15 Contexts: BUSINESS_GROUP_ID. ben_opt_f and database items based on person’s assignment_id. Rollover Max. PGM_ID. Distribute Max. DATE_EARNED. ben_pl_f. then Forfeit FRFT_ALL: Forfeit All RLOVR_DSTRBT_FRFT: Rollover Max.l_month = to_number(to_char(l_enrollment_st_dt. PL_TYP_ID. 17 Database items available: All columns except attribute columns from table ben_ler_f. JURISDICTION_CODE. OPT_ID. ASSIGNMENT_ID. ben_pl_typ_f.

17 Database items available: All columns except attribute columns from table ben_ler_f. OPT_ID. PGM_ID. DATE_EARNED. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS STARTS ======================*/ Default for ASG_JOB is '.' /*=========== DATABASE ITEM DEFAULTS ENDS ======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if l_job = 'Manager' then ( l_output = ‘FRFT_ALL’) else ( l_output = ‘DSTRBT_ALL’) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Rollover Value 13 Functional Usage: The Rollover Value formula can be used to determine the maximum amount a person may rollover to another plan o option in plan. ben_opt_f and database items based on person’s assignment_id. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 20 Formula output or return values: No need to use predefined names for return variables. JURISDICTION_CODE. PL_TYP_ID. ben_pl_typ_f. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions->Benefit Pools: Rollover: Rule 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with elig_per_elctbl_chc_id. PL_ID. ASSIGNMENT_ID.10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_DFLT_EXCS_TRTMT FORMULA TYPE : Default Excess Treatment DESCRIPTION : The excess treatment is determined based on persons job ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ben_pgm_f. ORGANIZATION_ID. 18 Input values available: No Input values are available. 21 . ben_pl_f.

PAYROLL_ACTION_ID . ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PL_TYP_ID. ASSIGNMENT_ID. OPT_ID. JURISDICTION_CODE. ORGANIZATION_ID.Data Type Out Variable Name L_OUTPUT (Any name can be used) NUMBER Value Remarks 8 Erroring: None. 14 Navigation Path: Total Compensation -> Rates/Coverage Definitions->Benefit Pools: Rollover: Rule 15 Contexts: BUSINESS_GROUP_ID. DATE_EARNED. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS STARTS ======================*/ Default for ASG_JOB is ' ' /*=========== DATABASE ITEM DEFAULTS ENDS ======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_job = ASG_JOB if l_job = 'Manager' then ( l_output = 10000) else ( l_output = 5000) return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Participant Eligible to Rollover 13 Functional Usage: The Participant Eligible to Rollover formula can be used to determine whether a person may roll over flex credits into a particular compensation object. PGM_ID. LER_ID. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RLVR_VAL FORMULA TYPE : Rollover Value DESCRIPTION : The maximum amount a person might rollover depends on his job. PL_ID.

20 Formula output or return values: No need to use predefined names for return variables. 18 Input values available: No Input values are available. ben_pgm_f. 17 Database items available: All columns except attribute columns from table ben_ler_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 9 Remarks: None 10 Sample Formula: /****************************************************************************** FORMULA NAME: BEN_RLVR_VAL FORMULA TYPE : Rollover Value DESCRIPTION : A person is eligible to rollover only if he is part of Director Benefit Group ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 25-Apr-2002 Initial Version *********************************************************************** /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) /* get the benefit group name*/ if l_benefit_group = 'Director Benefit Group' then ( l_output = 'Y' ) else ( l_output = 'N' ) ) else ( l_output = 'N' ) . ben_pl_typ_f. Data Type Out Variable Name L_OUTPUT (Any name can be used) CHAR Value Y/N Remarks 8 Erroring: None. ben_pl_f. ben_opt_f and database items based on person’s assignment_id.16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID and PAYROLL_ACTION_ID is overloaded with ACTIVITY_BASE_RATE_ID.

9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_COMP_CALC FORMULA TYPE : Compensation Calculation DESCRIPTION : The compensation amount is a fixed amount based on person’s benefit group. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors -> Compensation: Calculation Rule 15 Contexts: BUSINESS_GROUP_ID.return l_output /*================ FORMULA SECTION END =======================* 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Compensation Calculation 13 Functional Usage: The Compensation Calculation formula can be used to determine a total compensation amount to be used for Eligibility. ben_pl_typ_f. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** . ASSIGNMENT_ID. JURISDICTION_CODE. any name can be used) 8 Data Type NUMBER Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from table ben_ler_f. ben_pl_f. OPT_ID. Out Variable Name L_OUTPUT (Not a mandatory out variable. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is available for evaluating compensation for person other than participants 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_opt_f and database items based on person’s assignment_id. ben_pgm_f. PGM_ID. Formula output or return values: No need to use predefined names for return variables. Premium and Rate calculations. ORGANIZATION_ID. Coverage or Benefit. PL_ID. DATE_EARNED. PL_TYP_ID.

PAYROLL_ID 16 Overloaded Contexts: PAYROLL_ID is overloaded with P_BNFTS_BAL_ID 17 Database items available: All columns except attribute columns from table ben_ler_f.FORMULA TEXT: Logic in simple terms. ASSIGNMENT_ID. Remarks: None Data Type Date Value Remarks . ben_pl_typ_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. OPT_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 5000 if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) /* get the benefit group name*/ if l_benefit_group = 'Manager Business Group' then ( l_output = 10000 ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Compensation Determination Date 13 Functional Usage: The Compensation Determination Date formula can be used to determine the high date from which. ben_pgm_f. ORGANIZATION_ID. ben_pl_f. hours compensation will be calculated. PGM_ID. DATE_EARNED. PL_TYP_ID. 18 Input values available: No Input values are available. ben_opt_f and database items based on person’s assignment_id. PL_ID. LER_ID. 20 Formula output or return values: No need to use predefined names for return variables. Out Variable Name L_START_DATE (Any name can be used) 8 9 Erroring: None. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors -> Compensation: Determination Rule 15 Contexts: BUSINESS_GROUP_ID. JURISDICTION_CODE.

Premium and Rate calculations. PL_TYP_ID.. ORGANIZATION_ID. ben_pl_f. PGM_ID.10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_COMP_DET_DT FORMULA TYPE : Compensation Determination Date DESCRIPTION : Compensation determination date is the enrollment start date. ben_opt_f and database items based on person’s assignment_id. ben_pl_typ_f. LER_ID. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Hours Worked: Calculation Rule 15 Contexts: BUSINESS_GROUP_ID. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. JURISDICTION_CODE. PL_ID. PAYROLL_ID 16 Overloaded Contexts: PAYROLL_ID is overloaded with P_BNFTS_BAL_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_EPE_ENRT_CVG_STRT_DT is '01-JAN-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = BEN_EPE_ENRT_CVG_STRT_DT return l_start_date /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Hours Worked Calculation 13 Functional Usage: The Hours Worked Calculation formula can be used to determine an hour worked amount to be used for Eligibility. ben_pgm_f. Coverage or Benefit. ASSIGNMENT_ID. OPT_ID. DATE_EARNED. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is available for evaluating compensation for person other than participants .

l_start_date) l_output = l_months_from_start * 22 * l_asg_hours ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: . a person has worked from the date of joining. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_HRS_WRKD_CALC FORMULA TYPE : Hours Worked Calculation DESCRIPTION : The formula returns the total hours. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_HOURS is 0 DEFAULT for ACP_SERVICE_START_DATE is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_output = 0 if not ( ASG_HOURS was defaulted and ACP_SERVICE_START_DATE was defaulted) then ( l_asg_hours = ASG_HOURS l_start_date = ACP_SERVICE_START_DATE l_effective_date = fn_effective_date() l_months_from_start = months_between(l_effective_date.8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. Formula output or return values: No need to use predefined names for return variables. Out Variable Name L_OUTPUT (Any name can be used) 8 Data Type NUMBER Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.

9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_HRS_WRKD_DT FORMULA TYPE : Hours Worked Determination Date DESCRIPTION : The hours worked determination date for a person is 6 months from the date he joined. LER_ID. ben_pl_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ACP_SERVICE_START_DATE is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_start_date = ACP_SERVICE_START_DATE . PAYROLL_ID 16 Overloaded Contexts: PAYROLL_ID is overloaded with P_BNFTS_BAL_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PL_TYP_ID. ben_pgm_f. hours worked will be calculated. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PGM_ID. ben_pl_typ_f. PL_ID. ORGANIZATION_ID. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Hours Worked: Determination Rule 15 Contexts: BUSINESS_GROUP_ID.Formula Type: Hours Worked Determination Date 13 Functional Usage: The Hours Worked Determination Date formula can be used to determine the date from which. DATE_EARNED. 20 Formula output or return values: No need to use predefined names for return variables. ASSIGNMENT_ID. JURISDICTION_CODE. ben_opt_f and database items based on person’s assignment_id. Out Variable Name L_START_DATE (Any name can be used) Data Type Date Value Remarks 8 Erroring: None. 18 Input values available: No Input values are available. OPT_ID.

*********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. JURISDICTION_CODE. ASSIGNMENT_ID. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from table ben_ler_f.l_start_date = add_months(l_start_date.. Coverage or Benefit. Out Variable Name L_OUTPUT (Any name can be used) 8 Data Type NUMBER Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. ORGANIZATION_ID. . PL_ID. ben_pl_f. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_LEN_OF_SERV_CALC FORMULA TYPE : Length of Service Calculation DESCRIPTION : The formula return the number of years the person has been working. ben_pgm_f. OPT_ID. Premium and Rate calculations. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors -> Length Of Service: Calculation Rule 15 Contexts: BUSINESS_GROUP_ID. ben_opt_f and database items based on person’s assignment_id. PGM_ID. Formula output or return values: No need to use predefined names for return variables. PL_TYP_ID. DATE_EARNED. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is available for evaluating compensation for person other than participants 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ben_pl_typ_f.6) return l_start_date /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Length of Service Calculation 13 Functional Usage: The Length of Service Calculation formula can be used to determine a service to be used for Eligibility.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ACP_SERVICE_START_DATE is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_output = 0 if not ACP_SERVICE_START_DATE was defaulted then ( l_start_date = ACP_SERVICE_START_DATE l_effective_date = fn_effective_date() l_months_from_start = months_between(l_effective_date. ben_pl_f. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Length Of Service: Determination Rule 15 Contexts: BUSINESS_GROUP_ID. ASSIGNMENT_ID. ben_opt_f and database items based on person’s assignment_id. OPT_ID. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is available for evaluating compensation for person other than participants 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. l_start_date) l_output = l_months_from_start/12 ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Length of Service Date to Use 13 Functional Usage: The Length of Service date to use formula can be used to determine the low date from which length of service will be calculated. DATE_EARNED. PGM_ID. JURISDICTION_CODE. ORGANIZATION_ID. Out Variable Name L_OUTPUT Data Type DATE Value Remarks . ben_pl_typ_f. ben_pgm_f. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from table ben_ler_f. PL_ID. PL_TYP_ID. Formula output or return values: No need to use predefined names for return variables.

DATE_EARNED. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_LEN_OF_SERV_DT FORMULA TYPE : Length of Service Date to Use DESCRIPTION : The formula return the service start date of the person. PL_ID. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Length Of Service: Determination Rule 15 Contexts: BUSINESS_GROUP_ID. LER_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from table ben_ler_f. ben_pl_f. ASSIGNMENT_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ACP_SERVICE_START_DATE is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_output = ACP_SERVICE_START_DATE return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: None 12 Unit test script: Formula Type: Length of Service Determination Date 13 Functional Usage: The Length of Service Determination Date formula can be used to determine the high date for which LOS will be calculated. PGM_ID. ben_pgm_f. ORGANIZATION_ID.(Any name can be used) 8 Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. . PL_TYP_ID. JURISDICTION_CODE. ben_opt_f and database items based on person’s assignment_id. ben_pl_typ_f. 18 Input values available: No Input values are available. OPT_ID.

DATE_EARNED.1) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Age Determination Date 13 Functional Usage: The Age Determination Date formula can be used to determine the date for which age will be calculated. 20 Formula output or return values: No need to use predefined names for return variables. PL_ID.19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_LOS_DET_DT FORMULA TYPE : Length of Service Determination Date DESCRIPTION : The LOS determination date is the start date of next month. JURISDICTION_CODE. 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Age: Determination Rule 15 Contexts: BUSINESS_GROUP_ID. OPT_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_effective_date = fn_effective_date() l_last_day = last_day(l_effective_date) l_output = add_days(l_last_day. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PL_TYP_ID. LER_ID 16 Overloaded Contexts: None . ASSIGNMENT_ID. Out Variable Name L_OUTPUT (Any name can be used) Data Type Date Value Remarks 8 Erroring: None. ORGANIZATION_ID. PGM_ID.

*********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.1) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Age Calculation 13 Functional Usage: The Age Calculation formula can be used to determine age to be used for Eligibility. Coverage or Benefit. 18 Input values available: No Input values are available. ben_pl_f. ben_opt_f and database items based on person’s assignment_id. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_AGE_DET_DT FORMULA TYPE : Age Determination Date DESCRIPTION : The Age determination date is the start date of next month. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. . ben_pl_typ_f.17 Database items available: All columns except attribute columns from table ben_ler_f. ben_pgm_f. Premium and Rate calculations. Out Variable Name L_OUTPUT (Any name can be used) Data Type Date Value Remarks 8 Erroring: None. 20 Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_effective_date = fn_effective_date() l_last_day = last_day(l_effective_date) l_output = add_days(l_last_day.

ben_pl_f. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_AGE_CALC FORMULA TYPE : Age Calculation DESCRIPTION : The formula return the current age of the person. PL_TYP_ID. OPT_ID. DATE_EARNED. ASSIGNMENT_ID. JURISDICTION_CODE. /*================ FORMULA SECTION BEGIN =======================*/ l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then . ben_pl_typ_f. **********************************************************************/ / /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-JAN-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ . 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is available for evaluating compensation for person other than participants 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used.14 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors -> Age: Calculation Rule 15 Contexts: BUSINESS_GROUP_ID. ORGANIZATION_ID. PGM_ID. PL_ID. ben_pgm_f. ben_opt_f and database items based on person’s assignment_id. Out Variable Name L_OUTPUT (Any name can be used) 8 Data Type NUMBER Value Remarks Erroring: If any other output value is passed back then process errors out by raising BEN_92311_FORMULA_VAL_PARAM. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from table ben_ler_f. Formula output or return values: No need to use predefined names for return variables. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.

ben_pgm_f. JURISDICTION_CODE. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_AGE_DET_DT FORMULA TYPE : Age Determination Date DESCRIPTION : The Age determination date is the start date of next month. PL_TYP_ID. ben_pl_f. ASSIGNMENT_ID. ORGANIZATION_ID. 17 Constraints using Database items: Database items other than the ones mentioned above can’t be used. l_start_date) l_output = l_age/12 l_output = floor(l_output) ) return l_output Formula functions used in the sample formula: None Unit test Formula Type: Age Determination Date 11 Functional Usage: The Age Determination Date formula can be used to determine the date from which age will be calculated. DATE_EARNED. PGM_ID. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. LER_ID 14 Overloaded Contexts: None 15 Database items available: All columns except attribute columns from table ben_ler_f. OPT_ID. ben_pl_typ_f. 16 Input values available: No Input values are available. PL_ID. **********************************************************************/ . 12 Navigation Path: Total Compensation -> General Definitions-> Eligibility/Rate Factors-> Derived Factors ->Age: Determination Rule 13 Contexts: BUSINESS_GROUP_ID.( l_start_date = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_age = months_between(l_effective_date. ben_opt_f and database items based on person’s assignment_id. 18 Formula output or return values: No need to use predefined names for return variables. Out Variable Name L_OUTPUT (Any name can be used) Data Type Date Value Remarks 8 Erroring: None.

14 Navigation Path: Total Compensation -> General Definition -> Message Definition -> Formula: Name 15 Contexts: BUSINESS_GROUP_ID. 18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. 20 Formula output or return values: No need to use predefined names for return variables. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_POP_UP FORMULA TYPE : Pop-Up Message DESCRIPTION : Display a message if a person belongs to Manager Benefit Group *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version . ben_pl_typ_f. LER_ID 16 Overloaded Contexts: No 17 Database items available: All columns except attribute columns from table ben_ler_f. PGM_ID. ORGANIZATION_ID. ben_pgm_f. ben_opt_f and database items based on person’s assignment_id. OPT_ID. DATE_EARNED./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_effective_date = fn_effective_date() l_last_day = last_day(l_effective_date) l_output = add_days(l_last_day. PL_ID. JURISDICTION_CODE. ASSIGNMENT_ID.1) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Pop-Up Message 13 Functional Usage: The Pop-Up Message formulas can be used to determine whether a pop-up message needs to be displayed and in what form. Out Variable Name L_OUTPUT (Any name can be used) Data Type CHAR Value Y/N Remarks 8 Erroring: None. ben_pl_f. PL_TYP_ID.

ben_opt_f and database items based on person’s assignment_id. 18 Input values available: No Input values are available. ben_pgm_f. PL_TYP_ID. ASSIGNMENT_ID. JURISDICTION_CODE.*********************************************************************** FORMULA TEXT: Logic in simple terms. Out Variable Name L_OUTPUT (Any name can be used) Data Type Date Value Remarks . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 'N' if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) if l_benefit_group = 'Manager Business Group' then ( l_output = 'Y' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: To Be Sent Date 13 Functional Usage: The To Be Sent Date formula can be used to determine the date on which the communication should be sent to the person 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Communication Types: To Be Sent Rule 15 Contexts: BUSINESS_GROUP_ID. OPT_ID. ben_pl_f. 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PGM_ID. DATE_EARNED. PL_ID. ORGANIZATION_ID. LER_ID. COMM_TYP_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from table ben_ler_f. ben_pl_typ_f. 20 Formula output or return values: No need to use predefined names for return variables.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for ASG_ORG is '. If so the “Inspection Required” is set to ‘Yes’ for this person. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_org = ASG_ORG l_effective_date = FN_EFFECTIVE_DATE() l_output = add_days(l_effective_date.7) if not ASG_ORG was defaulted then ( if l_org = 'Remote Location' then ( l_output = add_days(l_effective_date.8 Erroring: None.14) ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Inspection Required 13 Functional Usage: The Inspection Required formulas can be used to determine whether inspection of communication is required. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Communication Types: Inspection Required Rule . 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_TO_BE_SENT_DT FORMULA TYPE : To Be Sent Date DESCRIPTION : The to be sent date is determined based on the organization a person is assigned to.

ORG_PAY_METHIOD_ID 16 Overloaded Contexts: ORG_PAY_METHIOD_ID is overloaded with P_PER_CM_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. ASSIGNMENT_ID. COMM_TYP_ID. LER_ID.15 Contexts: BUSINESS_GROUP_ID. PL_TYP_ID. OPT_ID. PL_ID. ben_pgm_f. Formula output or return values: No need to use predefined names for return variables. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is for people without assignment 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. ORGANIZATION_ID. DATE_EARNED. ben_pl_f. ben_opt_f and database items based on person’s assignment_id. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_INSPCTN_REQD FORMULA TYPE : Inspection required DESCRIPTION : Inspection is not required if a person belongs to Manager Benefit Group *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. JURISDICTION_CODE. ben_pl_typ_f. Out Variable Name L_OUTPUT (Any name can be used) Data Type CHAR Value Y/N Remarks 8 Erroring: None. PGM_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 'Y' if not PER_BENEFIT_GROUP_ID was defaulted then ( l_benefit_group = fn_benefit_group(l_ben_group_id) .

18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is for people without assignment 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used.if l_benefit_group = 'Manager Business Group' then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Communication Type 13 Functional Usage: The Communication Type formulas can be used to determine whether the communication should be sent. ben_pl_typ_f. OPT_ID. ORGANIZATION_ID. COMM_TYP_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from table ben_ler_f. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_COM_TYP FORMULA TYPE : Communication Type DESCRIPTION : A communication is not required if a person is more 21 years of age *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Communication Types: Inspection Required Rule 15 Contexts: BUSINESS_GROUP_ID. ben_opt_f and database items based on person’s assignment_id. . PGM_ID. ASSIGNMENT_ID. PL_ID. PL_TYP_ID. LER_ID. Data Type CHAR Value Y/N Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None. ben_pl_f. DATE_EARNED. Formula output or return values: No need to use predefined names for return variables. ben_pgm_f. JURISDICTION_CODE.

PL_ID. LER_ID. ben_opt_f and database items based on person’s assignment_id. ORGANIZATION_ID. 18 Input values available: Name PERSON_ID Data Type NUMBER Remarks person_id is for people without assignment 8 9 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PGM_ID. OPT_ID. ben_pl_f. ben_pgm_f. JURISDICTION_CODE.l_dob)/12) if l_age > 21 then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Communication Appropriate 13 Functional Usage: The Communication Appropriate formulas can be used to determine whether. ben_pl_typ_f. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Communication Types: Trigger: Rule 15 Contexts: BUSINESS_GROUP_ID. PL_TYP_ID. for this communication and trigger the communication should be sent. DATE_EARNED. ASSIGNMENT_ID. Formula output or return values: No need to use predefined names for return variables.**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 'Y' if not PER_DATE_OF_BIRTH was defaulted then ( l_age = trunc(months_between(l_effective_date. . COMM_TYP_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from table ben_ler_f.

then a communication should be triggered for this usage. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Communication Types: Usages: Usage Rule . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 'Y' if not PER_DATE_OF_BIRTH was defaulted then ( l_age = trunc(months_between(l_effective_date. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_COM_APR FORMULA TYPE : Communication Appropriate DESCRIPTION : A communication is not required if a person is more 21 years of age *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. if so.Out Variable Name L_OUTPUT (Any name can be used) Data Type CHAR Value Y/N Remarks 8 Erroring: None.l_dob)/12) if l_age > 21 then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Communication Usage 13 Functional Usage: The Communication Usage formulas can be used to determine whether communication usage requirements have been satisfied.

OPT_ID. DATE_EARNED. ben_pl_typ_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-1951' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 'N' if not PER_DATE_OF_BIRTH was defaulted then ( l_age = floor(months_between(l_effective_date. LER_ID.15 Contexts: BUSINESS_GROUP_ID. ORGANIZATION_ID. Out Variable Name L_OUTPUT (Any name can be used) Data Type CHAR Value Y/N Remarks 8 Erroring: None. PL_TYP_ID. ORG_PAY_METHOD_ID 16 Overloaded Contexts: ORG_PAY_METHOD_ID is overloaded with PER_CM_ID 17 Database items available: All columns except attribute columns from table ben_ler_f. COMM_TYP_ID.l_dob)/12) if l_age > 21 then ( l_output = 'Y' ) ) return l_output /*================ FORMULA SECTION END =======================*/ . JURISDICTION_CODE. ASSIGNMENT_ID. 18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. PGM_ID. PL_ID. 20 Formula output or return values: No need to use predefined names for return variables. 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_COM_USAGE FORMULA TYPE : Communication Usage DESCRIPTION : A communication should be triggered when a person turns 21. ben_pgm_f. ben_pl_f. ben_opt_f and database items based on person’s assignment_id. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. COMM_TYP_ID.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for BEN_LER_NAME is '. ASSIGNMENT_ID. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Collapse Life Events: Collapsing Logic: Rule 15 Contexts: BUSINESS_GROUP_ID. DATE_EARNED. are voided rest all are deleted.' /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_event_name = BEN_LER_NAME . 18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used.11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Collapse Life Event Evaluation 13 Functional Usage: The Collapse Life Event Evaluation formula can be used to determine whether the life event should be collapsed and deleted. error BEN_91329_FORMULA_RETURN is raised 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_CLPS_LE_EVAL FORMULA TYPE : Collapse Life Event Evaluation DESCRIPTION : Life events. Out Variable Name L_OUTPUT (Any name can be used) 8 Data Type CHAR Value V/D Remarks V: Voided D: Deleted Erroring: When the incorrect output value is passed. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. collapsed and voided or neither. LER_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from tables ben_ler_f and database items based on person’s assignment_id. 20 Formula output or return values: No need to use predefined names for return variables. Marriage and Address Change.

LER_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from tables ben_ler_f and database items based on person’s assignment_id. ASSIGNMENT_ID. 20 Formula output or return values: Out Variable Name LIFE_EVENT_OCCURRED_DATE 8 Data Type DATE Value Remarks Erroring: When the incorrect output value is passed. 18 Input values available: None 19 Constraints using Database items: Database items other than the ones mentioned above can’t be used. **********************************************************************/ .l_output = 'D' if not BEN_LER_NAME was defaulted then ( if l_event_name = 'Marriage' or l_event_name = 'Address Changed' then ( l_output = 'V' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Collapse Life Event Resulting Occurred On Date 13 Functional Usage: The Collapse Life Event Resulting Occurred On Date formula can be used to determine the date to use for the resulting life event. DATE_EARNED. error BEN_92310_FORMULA_RET_PARAM is raised 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_CLPS_LE_RSLT_OCRD_DT FORMULA TYPE : Collapse Life Resulting Occurred On Date DESCRIPTION : Formula returns the life event occurred date as 6 days from the effective date *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 14 Navigation Path: Total Compensation -> General Definitions-> Additional Setup-> Collapse Life Events: Life Event Occurred Date: Rule 15 Contexts: BUSINESS_GROUP_ID.

18 Input values available: Name CON_PERSON_ID 8 9 Data Type NUMBER Remarks Contact’s person_id Constraints using Database items: Database items other than the ones mentioned above can’t be used. ASSIGNMENT_ID. Formula output or return values Data Type TEXT Value Y/N Remarks Out Variable Name L_OUTPUT 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_DPNT_ELIG FORMULA TYPE : Dependent Eligibility DESCRIPTION : A dependent is not eligible after the age of 25 *********************************************************************** Change History: . 14 Navigation Path: Total Compensation -> General Definitions-> Eligibility Profiles-> Dependent Coverage -> Rule 15 Contexts: BUSINESS_GROUP_ID. ORGANIZATION_ID. ben_pgm_f. ben_pl_f. PGM_ID. LER_ID. PL_TYP_ID. COMM_TYP_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from table ben_ler_f. PL_ID. ben_opt_f and database items based on person’s assignment_id. OPT_ID. DATE_EARNED.6) return LIFE_EVENT_OCCURRED_DATE /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Dependent Eligibility 13 Functional Usage: The Dependent Eligibility formula can be used to determine whether a person is eligible to be covered by a participant in a compensation object. JURISDICTION_CODE. ben_pl_typ_f./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_effective_date = FN_EFFECTIVE_DATE() LIFE_EVENT_OCCURRED_DATE = add_days(l_effective_date.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for CON_PERSON_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ INPUTS are CON_PERSON_ID /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_con_person_id = CON_PERSON_ID l_age = fn_age(l_con_person_id) if l_age < 26 then ( l_output = 'Y' ) else ( l_output = 'N' ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_AGE 12 Unit test script: Formula Type: Extract Person Data Element 13 Functional Usage: The Extract Person Data Element formula can be used to specify person or assignment information to be included as a data element item. ORGANIZATION_ID. This rule type can also return the results of a calculation performed on a persons or assignment information. ORG_PAY_METHOD_ID. Data Value Remarks Out Variable Name . 18 Input values available: Name EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. ASSIGNMENT_ID. JURISDICTION_CODE 16 Overloaded Contexts: ORG_PAY_METHOD_ID is overloaded with PER_CM_ID 17 Database items available: All database items based on person’s assignment_id.Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. DATE_EARNED. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. Formula output or return values: No need to use predefined names for return variables.

DATE_EARNED. LER_ID 16 Overloaded Contexts: None 17 Database items available: All columns except attribute columns from tables ben_ler_f. ASSIGNMENT_ID. This rule type can also return the results of a calculation performed on person or assignment information. ben_pl_f. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. ben_opt_id and database items based on person’s assignment_id.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Enrollment Data Element 13 Functional Usage: The Extract Enrollment Data Element formula can be used to specify person’s enrollment information to be included as a data element item. 18 Input values available: . 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID.L_OUTPUT (Any name can be used) Type TEXT 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_PER_DTA_ELM FORMULA TYPE : Extract Person Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. PL_ID. OPT_ID.

Name EXT_DFN_ID EXT_RSLT_ID PRTT_ENRT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: . Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_ENRT_DTA_ELM FORMULA TYPE : Extract Enrollment Data Element DESCRIPTION : The formula returns the person age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 .Formula Type: Extract Eligible Data Element 13 Functional Usage: The Extract Eligible Data Element formula can be used to specify person’s eligibility information to be included as a data element item. ASSIGNMENT_ID. 18 Input values available: Name EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. ORGANIZATION_ID 16 Overloaded Contexts: ORGANIZATION_ID is overloaded with ELIG_PER_ELCTBL_CHC_ID 17 Database items available: All database items based on person’s assignment_id. Formula output or return values: No need to use predefined names for return variables. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_ELIG_DTA_ELM FORMULA TYPE : Extract Eligible Data Element DESCRIPTION : The formula returns persons age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. DATE_EARNED. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. This rule type can also return the results of a calculation performed on person or assignment information.

DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. Formula output or return values: No need to use predefined names for return variables.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Premium Data Element 13 Functional Usage: The Extract Premium Data Element formula can be used to specify person’s premium information to be included as a data element item. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_PREM_DTA_ELM FORMULA TYPE : Extract Premium Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. ASSIGNMENT_ID. 18 Input values available: Name PRTT_PREM_BY_MO_ID ACTL_PREM_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. This rule type can also return the results of a calculation performed on person or assignment information. **********************************************************************/ .

Formula output or return values: No need to use predefined names for return variables. DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. This rule type can also return the results of a calculation performed on person or assignment information. ASSIGNMENT_ID./*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_DPNT_DTA_ELM FORMULA TYPE : Extract Dependent Data Element DESCRIPTION : The formula returns person’s age in months . 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. 18 Input values available: Name ELIG_CVRD_DPNT_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Dependent ID Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Dependent Data Element 13 Functional Usage: The Extract Dependent Data Element formula can be used to specify person’s dependent information to be included as a data element item.

l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Action Item Data Element 13 Functional Usage: The Extract Action Item Data Element formula can be used to specify person’s action item information to be included as a data element item. This rule type can also return the results of a calculation performed on person or assignment information.*********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Data Value Remarks Out Variable Name . ASSIGNMENT_ID. DATE_EARNED. ORG_PAY_METHOD_ID 16 Overloaded Contexts: ORG_PAY_METHOD_ID is overloaded with PRTT_ENRT_ACTN_ID 17 Database items available: All database items based on person’s assignment_id. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. 18 Input values available: Name EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used.

l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Beneficiary Data Element 13 Functional Usage: The Extract Action Item Data Element formula can be used to specify person’s beneficiary information to be included as a data element item. DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. ASSIGNMENT_ID. This rule type can also return the results of a calculation performed on person or assignment information.L_OUTPUT (Any name can be used) Type TEXT 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_ACTN_ITM_DTA_ELM FORMULA TYPE : Extract Action Item Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. 18 Input values available: . 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID.

Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_BNFCRY_DTA_ELM FORMULA TYPE : Extract Beneficiary Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.Name PL_BNF_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Beneficiary ID Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: . Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date.

This rule type can also return the results of a calculation performed on person or assignment information. DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. 18 Input values available: Name BNFT_PRVDR_POOL_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_XTRT_FLX_CRDT_DTA_ELM FORMULA TYPE : Extract Flex Credit Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Formula output or return values: No need to use predefined names for return variables. ASSIGNMENT_ID.Formula Type: Extract Flex Credit Data Element 13 Functional Usage: The Extract Flex Credit Data Element formula can be used to specify person’s flex credit information to be included as a data element item. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then .

14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ . Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_PYRL_DTA_ELM FORMULA TYPE : Extract Payroll Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. This rule type can also return the results of a calculation performed on person or assignment information. DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. 18 Input values available: Name ELEMENT_ENTRY_VALUE_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. Formula output or return values: No need to use predefined names for return variables.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Payroll Data Element 13 Functional Usage: The Extract Flex Credit Data Element formula can be used to specify person’s payroll information to be included as a data element item. ASSIGNMENT_ID.( l_output = months_between(l_effective_date.

DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Run Result Data Element 13 Functional Usage: The Extract Run Result Data Element formula can be used to specify person’s run result information to be included as a data element item. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_RUN_RSLT _DTA_ELM FORMULA TYPE : Extract Run Result Data Element DESCRIPTION : The formula returns person’s age in months . Formula output or return values: No need to use predefined names for return variables. ASSIGNMENT_ID. This rule type can also return the results of a calculation performed on person or assignment information. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID.DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. 18 Input values available: Name RUN_RESULT_ID EXT_DFN_ID EXT_RSLT_ID INPUT_VALUE_ID RESULT_VALUE 8 9 Data Type NUMBER NUMBER NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used.

DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id. ASSIGNMENT_ID. Formula output or return values: No need to use predefined names for return variables. 18 Input values available: Name CONTACT_RELATIONSHIP_ID EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Contact Data Element 13 Functional Usage: The Extract Contact Data Element formula can be used to specify person’s run contact information to be included as a data element item. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date.*********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT . This rule type can also return the results of a calculation performed on person or assignment information. 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID.

**********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date.(Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_CNTCT _DTA_ELM FORMULA TYPE : Extract Contact Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. This rule type can also return the results of a calculation performed on person or assignment information. ASSIGNMENT_ID. DATE_EARNED 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: Formula Type: Extract Dependent Eligibility Data Element 13 Functional Usage: The Extract Dependent Eligibility Element formula can be used to specify person’s run contact information to be included as a data element item. 18 Input values available: Name ELIG_DPNT_ID Data Type NUMBER Remarks . 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID.

Formula output or return values: No need to use predefined names for return variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_DATE_OF_BIRTH is '01-jan-4712' (date) /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_dob = PER_DATE_OF_BIRTH l_effective_date = fn_effective_date() l_output = 0 if not PER_DATE_OF_BIRTH was defaulted then ( l_output = months_between(l_effective_date. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_DPNT_ELIG _DTA_ELM FORMULA TYPE : Extract Dependent Eligibility Data Element DESCRIPTION : The formula returns person’s age in months *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms.EXT_DFN_ID EXT_RSLT_ID 8 9 NUMBER NUMBER Constraints using Database items: Database items other than the ones mentioned above can’t be used.l_dob) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_EFFECTIVE_DATE 12 Unit test script: .

18 Input values available: Name EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_PER_INCLSN FORMULA TYPE : Extract Person Inclusion DESCRIPTION : The formula excludes all person’s belonging to Manager Benefit Group. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ DEFAULT for PER_BENEFIT_GROUP_ID is -1 /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ben_group_id = PER_BENEFIT_GROUP_ID l_output = 'Y' if not PER_BENEFIT_GROUP_ID was defaulted then . JURISDICTION_CODE 16 Overloaded Contexts: None 17 Database items available: All database items based on person’s assignment_id.Formula Type: Extract Person Inclusion 13 Functional Usage: The Extract Dependent Eligibility Element formula can be used to specify person or assignment level inclusion or exclusion for system extract 14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: BUSINESS_GROUP_ID. *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. DATE_EARNED. Formula output or return values: No need to use predefined names for return variables. ORGANIZATION_ID. ASSIGNMENT_ID.

14 Navigation Path: Mass Information Exchange -> Layout Definition -> Data Elements -> Rule 15 Contexts: None 16 Overloaded Contexts: None 17 Database items available: None 18 Input values available: Name EXT_DFN_ID EXT_RSLT_ID 8 9 Data Type NUMBER NUMBER Remarks Constraints using Database items: Database items other than the ones mentioned above can’t be used. Data Type TEXT Value Remarks Out Variable Name L_OUTPUT (Any name can be used) 8 Erroring: None 9 Remarks: None 10 Sample Formula: /********************************************************************** FORMULA NAME: BEN_HDR_TRLR_DTA_ELM FORMULA TYPE : Extract Header/Trailer Data Element DESCRIPTION : The formula returns plain text *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Vikash Sethi 22-Feb-2002 Initial Version *********************************************************************** .( l_benefit_group = fn_benefit_group(l_ben_group_id) /* get the benefit group name*/ if l_benefit_group = 'Manager Business Group' then ( l_output = 'N' ) ) return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: FN_BENEFIT_GROUP 12 Unit test script: Formula Type: Extract Header/Trailer Data Element 13 Functional Usage: The Extract Header/Trailer Data Element formula can be used to specify person’s run contact information to be included as a data element item. Formula output or return values: No need to use predefined names for return variables. This rule type can also return the results of a calculation performed on person or assignment information.

9 Remarks : None 10 Sample Formula : /****************************************************************************** FORMULA NAME : FORMULA TYPE : Person Selection DESCRIPTION : Formula to determine whether the list of national identifiers should be included in concurrent process like Premium Calculation Process. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_output = 'Vision Corporation Person Date Extract System' return l_output /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula: 12 Unit test script: Formula Type: Person Selection Rule 13 Functional Usage: The person selection rule can be used by any concurrent program to allow users restrict the persons who need to be selected for the process . : If any other output value is passed back then process errors (BEN_91329_FORMULA_RETURN). if p_effective_date is indicated then this context is same as DATE_EARNED 16 Overloaded Contexts: No 17 Database items available: data base items based on person’s assignment_id and all columns from BEN_LER_F table 6 Input values available: No Input values are available. 7 Constraints using Database items: Database items other than the ones mentioned above cannot be used. 14 Navigation Path: Submit Processes and Reports > Submit Requests > Premium calculation process 15 Contexts: Business_Group_Id. 18 Formula output or return values: No need to use predefined names for return variables. under contexts selection. Data Type Varchar2 Value Remarks Out Variable name L_RETURN (Any name can be used) 8 Erroring: If wrong values are passed back from the formula does it gracefully exit or if errors what kind of error is raised. DATE_EARNED (p_effective_date). ******************************************************************************* Change History: Name Date Description ----------------------------------------------------------------------- . Assignment Id Note: For any formula types.FORMULA TEXT: Logic in simple terms.

ben_pl_typ_f. Total Compensation > Programs and Plans > Program Enrollment Requirements : General: Plan Type :Enrollment > Post Election Edit Rule . ben_pl_f. ben_opt_f and data base items based on person’s assignment_id. Constraints using Data Base items: Database items other than the ones mentioned can’t be used. Input values available: No Input values are available. Total Compensation > Programs and Plans > Program Enrollment Requirements : General: Plan :Enrollment > Post Election Edit Rule Contexts: BUSINESS_GROUP_ID. OPT_ID (opt_id is not available if the edit rule is attached at plan or plan type level and no options exists for corresponding compensation object) Overloaded Contexts: No Data base items available: All columns except attribute columns from ben_pgm_f. PL_TYP_ID. Formula output or return values: Formula should use pre-defined names for return variables.Nagaraj Hunur 26-Apr-2002 Initial Version *********************************************************************** FORMULA TEXT: **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_ret = PERSON_SELECTION_FUNCTION('123-22-2323'.'232-33-5555'. JURISDICTION_CODE. DATE_EARNED. 2 3 4 5 6 7 8 Out Variable Name Data Value Remarks . Navigation Path: Total Compensation > Programs and Plans > Plan Enrollment Requirements : General: Plan :Enrollment > Post-Election Edit Rule .'111-11-1112') return l_ret /*================ FORMULA SECTION END =======================*/ 11 Formula functions used in the sample formula : PERSON_SELECTION_FUNCTION 12 Unit test script : Formula Type: Post Election 1 Functional Usage: Business rules dictate that a person is allowed to enroll into Aetna dental plan only if he is enrolled into Aetna Medical Plan. Total Compensation > Programs and Plans > Plan Enrollment Requirements : General: Option :Enrollment > Post-Election Edit Rule. '232-44-3333'. ORGANIZATION_ID. ASSIGNMENT_ID.'123-05-0961'. PGM_ID. PL_ID. When ever users want to enforce enrollment dependency between multiple compensation objects then post election edit rule can be used to raise the error if dependency business rule fails.

ERROR_MESSAGE 1 2 Erroring: Error BEN_92310_FORMULA_RET_PARAM is raised if any other out variable names are used.SUCCESSFUL (mandatory out variable) Type Char Y/N If a value other than ‘Y’ is passed exception BEN_92187_POST_ELCN_NOT_PASS is raised with error message equal to what is set to ERROR_MESSAGE formula return variable. Sample Formula /********************************************************************** FORMULA NAME: BEN_TEST_POST_ELECTION FORMULA TYPE: Post Election Edit Rule DESCRIPTION: *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 20-May-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. ERROR_MESSAGE /*================ FORMULA SECTION ENDS =======================*/ 3 Formula Functions used in the sample formula: Yes /*********************************************************** FUNCTION NAME: verify_post_election_edit DATA TYPE : Text – returns Y/N – Whether to allow person to allow enrollment or not CLASS : External Function ALIAS NAME : DESCRIPTION : . **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ SUCCESSFUL = ‘Y’ ERROR_MESSAGE = ‘You need to enroll in Employee Life to Enroll in Dependent Life’ SUCCESSFUL = verify_post_election_edit() return SUCCESSFUL . If a person tries to enroll into Dependent life without enrolling into Employee Life Insurance Plan then raise a error.

per_in_ler_id = pen.effective_end_date = hr_api.: apps. ben_per_in_ler pil1 where pen1.per_in_ler_id and pen1. DEFINITION CONTEXT .ler_id = p_ler_id and pil1.enrt_cvg_thru_dt is null or in number.g_eot and (pen1.effective_end_date = hr_api.ler_id = p_ler_id and pil.business_group_id = p_business_group_id and asg.and pil1.effective_end_date and not exists ( select null from ben_prtt_enrt_rslt_f pen1. per_all_assignments_f asg where pen.g_eot) and pen. in date p_business_group_id in number.per_in_ler_id and pen1.pl_id of Dependent life -.pl_id of Employee life -.chk_emp_life_enrolled : ASSIGNMENT_ID BUSINESS_GROUP_ID DATE_EARNED PARAMTERS : ************************************************************/ create or replace function chk_emp_life_enrolled( p_assignment_id p_effective_date ) return varchar2 is -cursor c_pen is select 'N' from ben_prtt_enrt_rslt_f pen.and pil.person_id and p_effective_date between asg. ben_per_in_ler pil.per_in_ler_id = pen1.per_in_ler_stat_cd = 'STRTD' and pil1.enrt_cvg_thru_dt = hr_api.pl_id = 3001 -.g_eot and (pen.pl_id = 3002 -.effective_start_date and asg.enrt_cvg_thru_dt is null or pen.person_id = pil.per_in_ler_id = pen.per_in_ler_stat_cd = 'STRTD' and pil.per_in_ler_id and pen.

DATE_EARNED.set_location('post election edit rule l_result = '|| l_result . Select the Short_name input value in “Input Value” field and select the l_short_name in field “Formula return variable name” field. Value associated with l_short_name field is stored in input named “short_name”.enrt_cvg_thru_dt = hr_api. Navigate to the Extra Input values window by clicking on the Extra Inputs button. -l_result varchar2(100) := 'Y'. ben_pl_typ_f. -begin -open c_pen. 98765). Create a formula of type “Extra Input” and attach it to standard rate.business_group_id = p_business_group_id). / =========================================================================== Formula Type: Extra Input 1 2 Functional Usage: To allow multiple input values to be passed to element entry. fetch c_pen into l_result. LER_ID. ben_acty_base_rt_f. Ex. extra input rule is executed. PGM_ID. ben_ler_f and data base items based on person’s assignment_id. For Standard and advanced benefits customers no input values are available.Create a standard rate and attach it to a plan or option. return l_result. Assume this formula returns short name of plan(l_short_name) to be stored as part of short_name input value. Up to 14 input values can be passed to element. close c_pen. PL_TYP_ID. -end chk_emp_life_enrld. ben_pl_f. ASSIGNMENT_ID. 3 4 5 6 . Navigation Path: Total Compensation > Rate/Coverage Definitions > Standard Rates : Extra Input Rule . Users want to store plan information or any other information as part of element attached to the compensation object. Contexts: BUSINESS_GROUP_ID. hr_utility. JURISDICTION_CODE. Sample Setup . OPT_ID (opt_id is not available if the extra input rule is attached at level higher than) Overloaded Contexts: No Data base items available: All columns except attribute columns from ben_pgm_f. Input values available: Input values available in case of “absence” type of plans (Data associated with absence record which triggered the absence life event will be available).. Please refer to “HR absences” documentation for more information. ACTY_BASE_RT_ID.g_eot) and pen1. ORGANIZATION_ID. ben_opt_f. When element entry is created by the enrollment process. This input value is attached to the element attached to the above created standard rate.pen1. PL_ID.

and Participation Process : Personal Action Contexts: Business_Group_Id. Participation Process : Selection. Program Id Overloaded Contexts: No Database items available: Data base items based on Program id. If a person tries to enroll into Dependent life a element entry is created with extra inputs. Erroring: Error BEN_92311_FORMULA_VAL_PARAM is raised if type casting of variables raises errors. Effective_Date. Input values available: None .7 8 1 2 Constraints using Data Base items: Database items other than the ones mentioned can’t be used. Participation Process : Scheduled. Sample Formula /********************************************************************** FORMULA NAME: BEN_TEST_EXTRA_INPUTS FORMULA TYPE: Post Election Edit Rule DESCRIPTION: *********************************************************************** Change History: Name Date Description ----------------------------------------------------------------------Prasad Bodla 20-DEC-2002 Initial Version *********************************************************************** FORMULA TEXT: Logic in simple terms. Navigation Path: Submit Processes and Reports > Submit Requests > Participation process : life Event. Formula output or return values: Formula can use any names for out variables. **********************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN ============*/ /*=========== DATABASE ITEM DEFAULTS ENDS ============*/ /*============ INPUT VALUES DEFAULT BEGIN ============*/ /*============== INPUT VALUES DEFAUT ENDS =============*/ /*================= INPUTS SECTION BEGIN ===============*/ /*================== INPUTS SECTION ENDS ===============*/ /*================ FORMULA SECTION BEGIN ==============*/ L_SHORT_NAME = ‘DEP_LIFE’ return L_SHORT_NAME /*================ FORMULA SECTION ENDS =============*/ 3 Formula Functions used in the sample formula: No Formula Type: Compensation Object Selection 1 2 3 4 5 6 Functional Usage: Used to filter out the programs to be picked up by the concurrent process.

. Functional Usage: A Compensation Item Rule formula can be used to display values. Currently formula can’t be evaluated at other levels like plan etc. Only evaluated at the program level. Remarks : There are limitations on using this formula. on Total Compensation Statements. 2. Overloaded Contexts: No 5. Out Variable name L_RETURN (Any name can be used) 1 2 3 Erroring: If the value passed back is other than Y or N. Y . Cached compensation objects will be used. create a Compensation Item in the Total Compensation Statement Setup application that references the Formula..Process compensation object. Data Type Number Value N Y Remarks N . To use a Compensation Item Rule formula. Contexts: Assignment Id. Out Variable name PERIOD_START_DATE Data Type Char Remarks Date String in canonical . Navigation Path: Total Compensation > Total Compensation Setup Wizard > Total Compensation Statement >Total Compensation Statement Setup > Create Compensation Items > Create Item 3. error is raised. Date Earned 4.7 8 Constraints using Database items: Database items other than the ones mentioned above cannot be used.. Sample Formula : /***************************************************************** FORMULA NAME : Compensation_slection_rule FORMULA TYPE : Compensation object selection DESCRIPTION : Formula to return Y or N to either select or skip the program for processing ***************************************************************** ****************************************************************** FORMULA TEXT: *****************************************************************/ /*=========== DATABASE ITEM DEFAULTS BEGIN =====================*/ /*=========== DATABASE ITEM DEFAULTS ENDS======================*/ /*============ INPUT VALUES DEFAULT BEGIN ======================*/ /*============== INPUT VALUES DEFAUT ENDS ======================*/ /*================= INPUTS SECTION BEGIN ========================*/ /*================== INPUTS SECTION ENDS ========================*/ /*================ FORMULA SECTION BEGIN =======================*/ l_val = ‘Y’ return l_val /*================ FORMULA SECTION END =======================*/ 4 Formula functions used in the sample formula : None 5 Unit test script : None =========================================================================== Formula Type: Compensation Item Rule 1. along with the dates of those values. Database items available: Database items based on person’s assignment_id. 6. If system determines to use the cached compensation objects then formula will not be evaluated on concurrent process submission. You can then include that Compensation Item within your statement. Formula output or return values: No need to use predefined names for return variables. PERIOD_END_DATE Input value is available. Input values available: PERIOD_START_DATE.Do not process compensation object.

Indicates Period Start Date Date String in canonical format.A . 1.2006/10/01' return VALUES .20000' COMPENSATION_DATES = '2006/05/08. 3. Formula functions used in the sample formula: None 5.PERIOD_END_DATE Char format.Indicates the Interim End Date if present or Period End Date. Formula output or return values: Formula should use pre-defined names for return variables Out Variable name COMPENSATION_DAT ES VALUES Data Type String of Dates in yyyy/mm/dd format separated by semicolon String of numbers or text or date (in yyyy/mm/dd format) separated by semicolon. PERIOD_START_DATE (text). Sample Formula: /*************************************************************** DESC : Calculate the rate as 10000 for 8th May 2006 and 20000 for 1st October 2006 ***************************************************************/ INPUTS ARE ASSIGNMENT_ID . 2. Constraints using Database items: Database items other than the ones mentioned above cannot be used. COMPENSATION_DATES /*================ FORMULA SECTION ENDS =============*/ 1 4. Erroring: If compensation_dates is not in proper date format is then process errors out by raising BEN_94671_TCS_RULE_DT_FORMAT 2. All the values . PERIOD_END_DATE (text) VALUES='10000. Unit test script: N. separated by semicolon . Remarks: If the number of entries in COMPENSATION_DATES does not match the number of entries in VALUES then the extra entries are ignored.within the string should be of the same type( number or text or date) Remarks Mandatory out variable Mandatory out variable 1.

.

person_id = asg. -- .effective_start_date and per.effective_end_date. -cursor c_dob is select date_of_birth from per_all_people_f per.person_id and per. p_effective_date date) RETURN date is L_dob date. Close c_dob. Fetch c_dob into l_dob. -BEGIN Open c_dob. per_all_assignments_f asg where asg.effective_start_date and asg. DATE_EARNED PARAMTERS : None **********************************************************************/ Create or replace function fn_date_of_birth (p_business_group_id number. ASSIGNMENT_ID.business_group_id = p_business_group_id and p_effective_date between asg. end.effective_end_date and per.APPENDIX A (Formula Functions) FN_EFFECTIVE_DATE /********************************************************************** FUNCTION NAME: FN_EFFECTIVE_DATE DATA TYPE : Date CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : fn_effective_date CONTEXT : DATE_EARNED PARAMTERS : None **********************************************************************/ CREATE OR REPLACE FUNCTION fn_effective_date (p_date_earned date) return date as begin return p_date_earned .business_group_id = p_business_group_id and p_effective_date between per. FN_ DATE_OF_BIRTH /********************************************************************** FUNCTION NAME: FN_ DATE_OF_BIRTH DATA TYPE : Date CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : FN_DATE_OF_BIRTH CONTEXT : BUSINESSS_GROUIP_ID.assignment_id = p_asg_id and asg. p_asg_id number.

Close c_gender.effective_start_date and per.person_id and per. -cursor c_gender is select sex from per_all_people_f per.assignment_id = p_asg_id and asg.business_group_id = p_business_group_id and p_effective_date between per.business_group_id = p_business_group_id and p_effective_date between asg.RETURN l_dob. p_effective_date date) RETURN date is -l_gender varchar2(10). ASSIGNMENT_ID.person_id = asg.effective_end_date and per. FN_ GENDER /********************************************************************** FUNCTION NAME: FN_ GENDER DATA TYPE : TEXT CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : FN_DATE_OF_BIRTH CONTEXT : BUSINESSS_GROUIP_ID. -BEGIN -Open c_gender. Fetch c_gender into l_gender. END.effective_start_date and asg. p_asg_id number. END. FN_ BENEFIT_GROUP /********************************************************************** FUNCTION NAME: FN_ BENEFIT_GROUP DATA TYPE : TEXT CLASS : External Function ALIAS NAME : DESCRIPTION : . per_all_assignments_f asg where asg. -RETURN l_gender. DATE_EARNED PARAMTERS : None **********************************************************************/ Create or replace function fn_gender (p_business_group_id number.effective_end_date.

date_of_birth) /12) from per_all_people_f per where per. -cursor c_ben_group is select grp.benfts_grp_id = p_ben_group_id and grp. p_ben_group_id number) RETURN varchar2 is -l_ben_grp_name BEN_BENFTS_GRP.effective_start_date and per. -BEGIN -- .person_id = p_person_id and per. Fetch c_ben_group into l_ben_grp_name. /********************************************************************** FUNCTION NAME: FN_AGE DATA TYPE : NUMBER CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : FN_BENEFIT_GROUP CONTEXT : BUSINESSS_GROUIP_ID PARAMTERS : P_BEN_GROUP_ID **********************************************************************/ Create or replace function fn_age (p_business_group_id number. Close c_ben_group. -RETURN l_ben_grp_name. p_effective_date date) RETURN number is -l_age number.DEFINITION : FN_BENEFIT_GROUP CONTEXT : BUSINESSS_GROUIP_ID PARAMTERS : P_BEN_GROUP_ID **********************************************************************/ CREATE OR REPLACE FUNCTION FN_BENEFIT_GROUP (p_business_group_id number.name from BEN_BENFTS_GRP grp where grp.business_group_id = p_business_group_id. END.effective_end_date.NAME%TYPE. p_person_id number.business_group_id = p_business_group_id and p_effective_date between per. -cursor c_age is select floor(months_between(sysdate. -BEGIN -Open c_ben_group.

.p_param1 in varchar2 .p_effective_date in date . close c1 . fetch c1 into l_var . -RETURN l_age. end if . begin -open c1 .p_param3 in varchar2 . P_PARAM2.business_group_id = p_business_group_id and per. else return 'N'.p_business_group_id in number .Open c_age.p_param5 ) and p_effective_date between per.effective_end_date and exists ( select 1 from per_all_assignments_f asg where assignment_id = p_assignment_id and business_group_id = p_business_group_id and primary_flag = ‘Y’ and p_effective_date between effective_start_date and effective_end_date ). /********************************************************************** FUNCTION NAME : PERSON_SELECTION_FUNCTION DATA TYPE : TEXT CLASS : External Function ALIAS NAME : DESCRIPTION : DEFINITION : PERSON_SELECTION_FUNCTION CONTEXT : BUSINESSS_GROUP_ID.p_param2.p_param4 in varchar2 . if c1%found then return 'Y' . P_PARAM4. Fetch c_age into l_age. -l_var varchar2(1). END.p_param5 in varchar2 ) return varchar2 as cursor c1 is select ‘1’ from per_all_people_f per where per.national_identifier in (p_param1. P_PARAM5 **********************************************************************/ Create Or Replace Function per_sel_rule ( p_assignment_id in number . end .p_param4.p_param3.effective_start_date and per. ASSIGNMENT_ID. DATE_EARNED PARAMTERS : P_PARAM1 . Close c_age.p_param2 in varchar2 . P_PARAM3.

.put_line(l_loop|| ': value of ' || l_outputs(l_loop). effective_date) values(USERENV('SESSIONID'). p_assignment_id => l_assignment_id ).outputs_t. -for l_loop in 1. -IF c_formula%NOTFOUND THEN CLOSE c_formula. cursor c_formula(p_formula_name ff_formulas_f. p_effective_date => trunc(sysdate).formula ( p_formula_id => l_formula_id. -CLOSE c_formula.value. -FORMULA_NOT_FOUND exception. end loop.formula_name%type. trunc(sysdate)).l_business_group_id ).formula_name%TYPE.business_group_id%type ) is select formula_id from ff_formulas_f where formula_name = p_formula_name -. -l_outputs := benutils. := 16762 . l_business_group_id ff_formulas_f. -OPEN c_formula(l_formula_name. dbms_output. := 2046 .count loop l_ssal := l_outputs(l_loop).Formula Name and business_group_id = p_business_group_id.business_group_id%TYPE. l_ssal varchar2(30). p_business_group_id => l_business_group_id . raise FORMULA_NOT_FOUND.name || ' is ' || l_ssal).assignment_id%TYPE.APPENDIX 2: Sample Script to test Formula DECLARE -l_outputs ff_exec. l_assignment_id per_all_assignments_f. -ROLLBACK. END IF. -l_formula_id number. p_business_group_id ff_formulas_f. EXCEPTION . l_formula_name l_business_group_id l_assignment_id := 'BEN_PRTN_ELIG_START_DT'.l_outputs. BEGIN -insert into fnd_sessions (session_id. l_formula_name ff_formulas_f. FETCH c_formula into l_formula_id.

-1)). nvl(p_prtt_enrt_actn_id. Database Items • Contexts available for benefits processes. • Context Name BUSINESS_GROUP_ID PAYROLL_ID Paramter name in benutils. ORGANIZATION_ID (p_elig_per_elctbl_chc_id. nvl(p_enrt_bnft_id. nvl(p_rptg_grp_id. (if benefits package passes p_bnft_bal_id to benutils. 'xx').put_line('Formula Could Not be found'). 'xx'))). END. The previous section describes the contexts available for each formula type.put_line('Exception Encountered While Running the Test Script'). SOURCE_TEXT (p_enrt_ctfn_typ_cd. ROLLBACK. nvl(p_org_pay_method_id. -1))). nvl(p_payroll_action_id. ROLLBACK. PER_PAY_METHOD_ID (p_elig_per_id. database items based on p_payroll_id. -1).-1))). which evaluates the formula or rule. nvl(p_payroll_id. To retrieve values for database items available for a formula type.when FORMULA_NOT_FOUND then dbms_output. nvl(l_jurisdiction_code. nvl(p_regn_id. ASSIGNMENT_ID p_assignment_id ASSIGNMENT_ACTION_ID p_assignment_action_id ORG_PAY_METHOD_ID ( p_per_cm_id. . JURISDICTION_CODE (p_cm_dlvry_mthd_cd. nvl(p_organization_id. This is called formula overloading). p_rptg_grp_id will not be available for that formula run. Chapter 3 : Contexts. These context values are passed by the package.pkb p_business_group_id (p_bnfts_bal_id. the formula engine uses the available contexts. ELEMENT_ENTRY_ID (p_element_entry_id. PAYROLL_ACTION_ID (p_acty_base_rt_id. nvl(p_crt_ordr_typ_cd.formula call then only database items based on ben_per_bnfts_bal_f table are available. -1) ))). when others then dbms_output. -1)). nvl(p_per_pay_method_id.

As multiple products are based on benefits data model.K) from prior point releases: You should be able to use the new database items similar to the way the original BEN_PER_IN_LER based database items were used. This formula references database item BEN_PIL_LER_ID prior to FP. -1). p_pgm_id p_pl_id p_pl_typ_id p_opt_id p_ler_id p_communication_type_id p_action_type_id Description of changes made to BENEFITS FastFormula routes • • Modified route for entity BEN_PER_IN_LER such that all the DBI's associated with it will be used exclusively by ORACLE ADVANCED BENEFITS module. Assume rate calculation rule is attached to a compensation workbench plan. o BEN_PER_IN_LER_IREC – Entity to fetch iRecruitement life event data. The following is the list of available database items: Entity Database Items Available .ORIGINAL_ENTRY_ID PGM_ID PL_ID PL_TYP_ID OPT_ID LER_ID COMM_TYP_ID ACT_TYP_ID (p_original_entry_id. Newly Seeded data base items. o BEN_PER_IN_LER_UNRESTRICTED – Entity to fetch unrestricted person life event data. The existing dbis’ based on entity/route BEN_PIL_ELCTBL_CHC_POPL can be used for all other products.k use BEN_PIL_LER_ID_CWB. So seeded one entity/route and DBI’s for each product for table/entity ben_per_in_ler.K. processed status on a given day. After upgrade to fp. Details of which are available in the table below. • NOTE : Database items available as part of payroll run may not be available during the benefits processes like participation processes and enrollment processes. Test your formula returns the right value in appropriate mode of participation process. o BEN_PER_IN_LER_ABS – Entity to fetch Absences person life event data. • Things which need to be tested when customers migrate to newer Family pack (FP. o BEN_PER_IN_LER_CWB – Entity to fetch Compensation workbench person life event data. o BEN_PER_IN_LER_GSP – Entity to fetch Grade step progression person life event data. multiple “person life events” of different type can coexist in started. Seeded BEN_PIL_ELCTBL_CHC_POPL_IREC route and associated dbi's for iRecruitement.

Entity BEN_ACTL_PREM_F Database Items Available BEN_APR_ACTL_PREM_ID BEN_APR_ACTY_REF_PERD_CD BEN_APR_BNFT_RT_TYP_CD BEN_APR_BUSINESS_GROUP_ID BEN_APR_EFFECTIVE_END_DATE BEN_APR_LAST_UPDATED_BY BEN_APR_LAST_UPDATE_LOGIN BEN_APR_NAME BEN_APR_ORGANIZATION_ID BEN_APR_VAL_CALC_RL BEN_APR_VAL BEN_APR_UOM BEN_APR_RT_TYP_CD BEN_APR_RNDG_RL BEN_APR_RNDG_CD BEN_APR_PRDCT_CD BEN_APR_NO_STD_RT_USED_FLAG BEN_APR_MLT_CD BEN_APR_LAST_UPDATE_DATE BEN_APR_EFFECTIVE_START_DATE BEN_APR_CREATION_DATE BEN_APR_CREATED_BY BEN_APR_COMP_LVL_FCTR_ID BEN_ACTY_BASE_RT_F BEN_ABR_ABR_ATTRIBUTE1 BEN_ABR_ABR_ATTRIBUTE10 BEN_ABR_ABR_ATTRIBUTE11 BEN_ABR_ABR_ATTRIBUTE12 BEN_ABR_ABR_ATTRIBUTE16 BEN_ABR_ABR_ATTRIBUTE18 BEN_ABR_ABR_ATTRIBUTE2 BEN_ABR_ABR_ATTRIBUTE21 BEN_ABR_ABR_ATTRIBUTE23 BEN_ABR_ABR_ATTRIBUTE4 BEN_ABR_ABR_ATTRIBUTE30 BEN_ABR_ABR_ATTRIBUTE3 .

Entity Database Items Available BEN_ABR_ABR_ATTRIBUTE29 BEN_ABR_ABR_ATTRIBUTE28 BEN_ABR_ABR_ATTRIBUTE27 BEN_ABR_ABR_ATTRIBUTE26 BEN_ABR_ABR_ATTRIBUTE25 BEN_ABR_ABR_ATTRIBUTE24 BEN_ABR_ACTY_BASE_RT_STAT_CD BEN_ABR_ACTY_BASE_RT_ID BEN_ABR_ABV_MX_ELCN_VAL_ALWD_FLAG BEN_ABR_ABR_ATTRIBUTE_CATEGORY BEN_ABR_ABR_ATTRIBUTE9 BEN_ABR_ABR_ATTRIBUTE8 BEN_ABR_ABR_ATTRIBUTE7 BEN_ABR_ABR_ATTRIBUTE6 BEN_ABR_ABR_ATTRIBUTE5 BEN_ABR_CMBN_PLIP_ID BEN_ABR_CLM_COMP_LVL_FCTR_ID BEN_ABR_BUSINESS_GROUP_ID BEN_ABR_BNFT_RT_TYP_CD BEN_ABR_BLW_MN_ELCN_ALWD_FLAG BEN_ABR_ASN_ON_ENRT_FLAG BEN_ABR_ANN_MX_ELCN_VAL BEN_ABR_ANN_MN_ELCN_VAL BEN_ABR_ACTY_TYP_CD BEN_ABR_LWR_LMT_CALC_RL BEN_ABR_INPUT_VALUE_ID BEN_ABR_INCRMT_ELCN_VAL BEN_ABR_FRGN_ERG_DED_TYP_CD BEN_ABR_FRGN_ERG_DED_NAME BEN_ABR_FRGN_ERG_DED_IDENT BEN_ABR_ENTR_VAL_AT_ENRT_FLAG BEN_ABR_ENTR_ANN_VAL_FLAG BEN_ABR_ELEMENT_TYPE_ID BEN_ABR_PROCG_SRC_CD BEN_ABR_PRDCT_FLX_CR_WHEN_ELIG_FLAG .

Entity Database Items Available BEN_ABR_PL_ID BEN_ABR_PLIP_ID BEN_ABR_PGM_ID BEN_ABR_PARNT_CHLD_CD BEN_ABR_PARNT_ACTY_BASE_RT_ID BEN_ABR_ONLY_ONE_BAL_TYP_ALWD_FLAG BEN_ABR_OIPL_ID BEN_ABR_USES_DED_SCHED_FLAG BEN_ABR_UPR_LMT_VAL BEN_ABR_UPR_LMT_CALC_RL BEN_ABR_TX_TYP_CD BEN_ABR_RT_USG_CD BEN_ABR_RT_TYP_CD BEN_ABR_RT_MLT_CD BEN_ABR_RNDG_RL BEN_ABR_RNDG_CD BEN_ABR_VSTG_SCHED_APLS_FLAG BEN_ABR_VSTG_FOR_ACTY_RT_ID BEN_ABR_VAL_OVRID_ALWD_FLAG BEN_ABR_VAL_CALC_RL BEN_ABR_VAL BEN_ABR_USE_TO_CALC_NET_FLX_CR_FLAG BEN_ABR_USE_CALC_ACTY_BS_RT_FLAG BEN_ABR_USES_VARBL_RT_FLAG BEN_ABR_USES_PYMT_SCHED_FLAG BEN_ABR_RCRRG_CD BEN_ABR_PTIP_ID BEN_ABR_PTD_COMP_LVL_FCTR_ID BEN_ABR_PRTL_MO_EFF_DT_DET_RL BEN_ABR_PRTL_MO_EFF_DT_DET_CD BEN_ABR_PRTL_MO_DET_MTHD_RL BEN_ABR_PRTL_MO_DET_MTHD_CD BEN_ABR_PROC_EACH_PP_DFLT_FLAG BEN_ABR_NO_STD_RT_USED_FLAG BEN_ABR_NO_MX_ELCN_VAL_DFND_FLAG .

Entity Database Items Available BEN_ABR_NO_MN_ELCN_VAL_DFND_FLAG BEN_ABR_NNMNTRY_UOM BEN_ABR_NAME BEN_ABR_MX_ELCN_VAL BEN_ABR_MN_ELCN_VAL BEN_ABR_LWR_LMT_VAL BEN_ABR_EFFECTIVE_START_DATE BEN_ABR_EFFECTIVE_END_DATE BEN_ABR_DSPLY_ON_ENRT_FLAG BEN_ABR_DFLT_VAL BEN_ABR_DFLT_FLAG BEN_ABR_COMP_LVL_FCTR_ID BEN_ABR_CMBN_PTIP_OPT_ID BEN_ABR_CMBN_PTIP_ID BEN_ABR_ABR_ATTRIBUTE22 BEN_ABR_ABR_ATTRIBUTE20 BEN_ABR_ABR_ATTRIBUTE19 BEN_ABR_ABR_ATTRIBUTE17 BEN_ABR_ABR_ATTRIBUTE15 BEN_ABR_ABR_ATTRIBUTE14 BEN_ABR_ABR_ATTRIBUTE13 BEN_OIPL_F BEN_COP_ACTL_PREM_ID BEN_COP_OIPL_STAT_CD BEN_COP_OPT_ID BEN_COP_ORDR_NUM BEN_COP_VRFY_FMLY_MMBR_RL BEN_COP_PER_CVRD_CD BEN_COP_PL_ID BEN_COP_POSTELCN_EDIT_RL BEN_COP_PRTN_ELIG_OVRID_ALWD_FLAG BEN_COP_RQD_PERD_ENRT_NENRT_RL BEN_COP_AUTO_ENRT_MTHD_RL BEN_COP_AUTO_ENRT_FLAG BEN_COP_COP_AUTO_ENRT_FLAG BEN_COP_CREATION_DATE .

Entity Database Items Available BEN_COP_LAST_UPDATE_DATE BEN_COP_LAST_UPDATE_LOGIN BEN_COP_MNDTRY_FLAG BEN_COP_MNDTRY_RL BEN_COP_OIPL_ID BEN_COP_RQD_PERD_ENRT_NENRT_UOM BEN_COP_RQD_PERD_ENRT_NENRT_VAL BEN_COP_TRK_INELIG_PER_FLAG BEN_COP_VRFY_FMLY_MMBR_CD BEN_COP_DFLT_ENRT_DET_RL BEN_COP_DFLT_FLAG BEN_COP_DRVBL_FCTR_APLS_RTS_FLAG BEN_COP_DRVBL_FCTR_PRTN_ELIG_FLAG BEN_COP_BUSINESS_GROUP_ID BEN_COP_LAST_UPDATED_BY BEN_COP_IVR_IDENT BEN_COP_ELIG_APLS_FLAG BEN_COP_EFFECTIVE_END_DATE BEN_COP_EFFECTIVE_START_DATE BEN_COP_DFLT_ENRT_CD BEN_COP_CREATED_BY BEN_OPT_F BEN_OPT_BUSINESS_GROUP_ID BEN_OPT_RQD_PERD_ENRT_NENRT_VAL BEN_OPT_RQD_PERD_ENRT_NENRT_UOM BEN_OPT_OPT_ID BEN_OPT_LAST_UPDATE_LOGIN BEN_OPT_LAST_UPDATED_BY BEN_OPT_CREATION_DATE BEN_OPT_CREATED_BY BEN_OPT_CMBN_PTIP_OPT_ID BEN_OPT_EFFECTIVE_START_DATE BEN_OPT_LAST_UPDATE_DATE BEN_OPT_NAME BEN_OPT_RQD_PERD_ENRT_NENRT_RL BEN_OPT_EFFECTIVE_END_DATE .

Entity Database Items Available BEN_OPT_INVK_WV_OPT_FLAG BEN_PER_BNFTS_BAL_F BEN_PBB_BNFTS_BAL_ID BEN_PBB_PBB_ATTRIBUTE22 BEN_PBB_PBB_ATTRIBUTE23 BEN_PBB_PBB_ATTRIBUTE24 BEN_PBB_PBB_ATTRIBUTE25 BEN_PBB_PBB_ATTRIBUTE26 BEN_PBB_PBB_ATTRIBUTE27 BEN_PBB_PBB_ATTRIBUTE28 BEN_PBB_PBB_ATTRIBUTE29 BEN_PBB_PBB_ATTRIBUTE13 BEN_PBB_BUSINESS_GROUP_ID BEN_PBB_EFFECTIVE_END_DATE BEN_PBB_PBB_ATTRIBUTE1 BEN_PBB_PBB_ATTRIBUTE11 BEN_PBB_PBB_ATTRIBUTE21 BEN_PBB_PBB_ATTRIBUTE14 BEN_PBB_PBB_ATTRIBUTE15 BEN_PBB_PBB_ATTRIBUTE16 BEN_PBB_PBB_ATTRIBUTE17 BEN_PBB_PBB_ATTRIBUTE18 BEN_PBB_PBB_ATTRIBUTE19 BEN_PBB_PBB_ATTRIBUTE2 BEN_PBB_PBB_ATTRIBUTE20 BEN_PBB_PBB_ATTRIBUTE3 BEN_PBB_PBB_ATTRIBUTE30 BEN_PBB_PBB_ATTRIBUTE4 BEN_PBB_PBB_ATTRIBUTE5 BEN_PBB_PBB_ATTRIBUTE6 BEN_PBB_PBB_ATTRIBUTE7 BEN_PBB_PBB_ATTRIBUTE8 BEN_PBB_PBB_ATTRIBUTE9 BEN_PBB_PBB_ATTRIBUTE12 BEN_PBB_VAL BEN_PBB_PER_BNFTS_BAL_ID .

Entity Database Items Available BEN_PBB_PBB_ATTRIBUTE_CATEGORY BEN_PBB_PERSON_ID BEN_PBB_PBB_ATTRIBUTE10 BEN_PBB_EFFECTIVE_START_DATE BEN_PER_CM_F BEN_PCM_BNF_PERSON_ID BEN_PCM_PERSON_ID BEN_PCM_PER_CM_ID BEN_PCM_PRTT_ENRT_ACTN_ID BEN_PCM_PCM_ATTRIBUTE18 BEN_PCM_PCM_ATTRIBUTE19 BEN_PCM_PCM_ATTRIBUTE2 BEN_PCM_PCM_ATTRIBUTE20 BEN_PCM_PCM_ATTRIBUTE21 BEN_PCM_PCM_ATTRIBUTE22 BEN_PCM_PCM_ATTRIBUTE23 BEN_PCM_PCM_ATTRIBUTE24 BEN_PCM_PCM_ATTRIBUTE25 BEN_PCM_PCM_ATTRIBUTE1 BEN_PCM_PCM_ATTRIBUTE10 BEN_PCM_PCM_ATTRIBUTE11 BEN_PCM_PCM_ATTRIBUTE12 BEN_PCM_PCM_ATTRIBUTE13 BEN_PCM_PCM_ATTRIBUTE3 BEN_PCM_PCM_ATTRIBUTE30 BEN_PCM_PCM_ATTRIBUTE4 BEN_PCM_PCM_ATTRIBUTE5 BEN_PCM_PCM_ATTRIBUTE6 BEN_PCM_PCM_ATTRIBUTE7 BEN_PCM_PCM_ATTRIBUTE8 BEN_PCM_PCM_ATTRIBUTE9 BEN_PCM_PCM_ATTRIBUTE_CATEGORY BEN_PCM_BUSINESS_GROUP_ID BEN_PCM_CM_TYP_ID BEN_PCM_EFFECTIVE_END_DATE BEN_PCM_LER_ID .

Entity Database Items Available BEN_PCM_PCM_ATTRIBUTE26 BEN_PCM_PCM_ATTRIBUTE27 BEN_PCM_PCM_ATTRIBUTE28 BEN_PCM_PCM_ATTRIBUTE29 BEN_PCM_LF_EVT_OCRD_DT BEN_PCM_PCM_ATTRIBUTE17 BEN_PCM_PCM_ATTRIBUTE16 BEN_PCM_PCM_ATTRIBUTE14 BEN_PCM_PCM_ATTRIBUTE15 BEN_PCM_EFFECTIVE_START_DATE BEN_PCM_DPNT_PERSON_ID BEN_PER_DLVRY_MTHD_F BEN_PDM_BUSINESS_GROUP_ID BEN_PDM_CM_DLVRY_MTHD_CD BEN_PDM_EFFECTIVE_END_DATE BEN_PDM_PDM_ATTRIBUTE1 BEN_PDM_PDM_ATTRIBUTE11 BEN_PDM_PDM_ATTRIBUTE21 BEN_PDM_PDM_ATTRIBUTE22 BEN_PDM_PDM_ATTRIBUTE23 BEN_PDM_PDM_ATTRIBUTE24 BEN_PDM_PDM_ATTRIBUTE25 BEN_PDM_PDM_ATTRIBUTE26 BEN_PDM_PDM_ATTRIBUTE27 BEN_PDM_PDM_ATTRIBUTE28 BEN_PDM_PDM_ATTRIBUTE20 BEN_PDM_PDM_ATTRIBUTE3 BEN_PDM_PDM_ATTRIBUTE30 BEN_PDM_PDM_ATTRIBUTE4 BEN_PDM_PDM_ATTRIBUTE5 BEN_PDM_PDM_ATTRIBUTE6 BEN_PDM_PDM_ATTRIBUTE7 BEN_PDM_PDM_ATTRIBUTE8 BEN_PDM_PDM_ATTRIBUTE9 BEN_PDM_PDM_ATTRIBUTE29 BEN_PDM_PDM_ATTRIBUTE13 .

Entity Database Items Available BEN_PDM_PDM_ATTRIBUTE14 BEN_PDM_PDM_ATTRIBUTE15 BEN_PDM_PDM_ATTRIBUTE16 BEN_PDM_PDM_ATTRIBUTE17 BEN_PDM_PDM_ATTRIBUTE18 BEN_PDM_PDM_ATTRIBUTE19 BEN_PDM_PDM_ATTRIBUTE2 BEN_PDM_PDM_ATTRIBUTE12 BEN_PDM_PFD_FLAG BEN_PDM_PER_DLVRY_MTHD_ID BEN_PDM_PDM_ATTRIBUTE_CATEGORY BEN_PDM_PERSON_ID BEN_PDM_PDM_ATTRIBUTE10 BEN_PDM_EFFECTIVE_START_DATE BEN_PER_IN_LER BEN_PIL_BCKT_DT BEN_PIL_CLSD_DT BEN_PIL_CREATION_DATE BEN_PIL_LAST_UPDATE_DATE BEN_PIL_LER_ID BEN_PIL_LF_EVT_OCRD_DT BEN_PIL_NTFN_DT BEN_PIL_PERSON_ID BEN_PIL_PER_IN_LER_ID BEN_PIL_PER_IN_LER_STAT_CD BEN_PIL_BUSINESS_GROUP_ID BEN_PIL_LAST_UPDATE_LOGIN BEN_PIL_VOIDD_DT BEN_PIL_STRTD_DT BEN_PIL_PROCD_DT BEN_PIL_PTNL_LER_FOR_PER_ID BEN_PIL_LAST_UPDATED_BY BEN_PIL_CREATED_BY BEN_PER_IS_APL BEN_PER_IS_APL_EX_APL BEN_PER_IS_APL BEN_PER_IS_APL_EX_APL .

Entity BEN_PER_IS_BNF BEN_PER_IS_DPNT BEN_PER_IS_EMP BEN_PER_IS_EMP_APL BEN_PER_IS_EX_APL BEN_PER_IS_EX_EMP BEN_PER_IS_EX_EMP_APL Database Items Available BEN_PER_IS_BNF BEN_PER_IS_DPNT BEN_PER_IS_EMP BEN_PER_IS_EMP_APL BEN_PER_IS_EX_APL BEN_PER_IS_EX_EMP BEN_PER_IS_EX_EMP_APL BEN_PER_IS_FRMR_FMLY_MMBR BEN_PER_IS_FRMR_FMLY_M MBR BEN_PER_IS_FRMR_SPS BEN_PER_IS_OTHER BEN_PER_IS_PRTN BEN_PER_IS_RETIREE BEN_PER_IS_SRVNG_FMLY_ MMBR BEN_PER_IS_SRVNG_SPS BEN_PGM_F BEN_PER_IS_SRVNG_SPS BEN_PGM_ACTY_REF_PERD_CD BEN_PGM_PRTN_ELIG_OVRID_ALWD_FLAG BEN_PGM_PRTT_CHC_UNCRS_TRTMT_FLAG BEN_PGM_RT_END_DT_CD BEN_PGM_ENRT_CVG_END_DT_RL BEN_PGM_ENRT_CVG_STRT_DT_CD BEN_PGM_ENRT_CVG_STRT_DT_RL BEN_PGM_ENRT_INFO_RT_FREQ_CD BEN_PGM_ENRT_MTHD_CD BEN_PGM_ENRT_RL BEN_PGM_MX_DPNT_PCT_PRTT_LF_AMT BEN_PER_IS_FRMR_SPS BEN_PER_IS_OTHER BEN_PER_IS_PRTN BEN_PER_IS_RETIREE BEN_PER_IS_SRVNG_FMLY_MMBR .

Entity Database Items Available BEN_PGM_MX_SPS_PCT_PRTT_LF_AMT BEN_PGM_NAME BEN_PGM_PGM_DESC BEN_PGM_PGM_GRP_CD BEN_PGM_PGM_ID BEN_PGM_PGM_PRVDS_CR_FLAG BEN_PGM_RT_END_DT_RL BEN_PGM_RT_STRT_DT_CD BEN_PGM_ALWS_UNRSTRCTD_ENRT_FLAG BEN_PGM_AUTO_ENRT_MTHD_RL BEN_PGM_COORD_CVG_FOR_ALL_PLS_FLG BEN_PGM_CREATION_DATE BEN_PGM_DRVBL_FCTR_APLS_RTS_FLAG BEN_PGM_DRVBL_FCTR_DPNT_ELIG_FLAG BEN_PGM_DRVBL_FCTR_PRTN_ELIG_FLAG BEN_PGM_EFFECTIVE_END_DATE BEN_PGM_EFFECTIVE_START_DATE BEN_PGM_ELIG_APLS_FLAG BEN_PGM_ENRT_CD BEN_PGM_ENRT_CVG_END_DT_CD BEN_PGM_LAST_UPDATE_LOGIN BEN_PGM_RT_STRT_DT_RL BEN_PGM_TRK_INELIG_PER_FLAG BEN_PGM_PGM_PRVDS_NO_AUTO_ENRT_FLAG BEN_PGM_PGM_PRVDS_NO_DFLT_ENRT_FLAG BEN_PGM_PGM_STAT_CD BEN_PGM_PGM_TYP_CD BEN_PGM_PGM_UOM BEN_PGM_PGM_USE_ALL_ASNTS_ELIG_FLAG BEN_PGM_IVR_IDENT BEN_PGM_LAST_UPDATED_BY BEN_PGM_LAST_UPDATE_DATE BEN_PGM_DPNT_CVG_END_DT_CD BEN_PGM_DPNT_CVG_END_DT_RL BEN_PGM_DPNT_CVG_STRT_DT_CD .

Entity Database Items Available BEN_PGM_DPNT_CVG_STRT_DT_RL BEN_PGM_DPNT_DOB_RQD_FLAG BEN_PGM_DPNT_ADRS_RQD_FLAG BEN_PGM_DPNT_LEGV_ID_RQD_FLAG BEN_PGM_DPNT_DSGN_NO_CTFN_RQD_FLAG BEN_PGM_DPNT_DSGN_CD BEN_PGM_DPNT_DSGN_LVL_CD BEN_PGM_CREATED_BY BEN_PGM_BUSINESS_GROUP_ID BEN_PIL_ELCTBL_CHC_POPL BEN_PEL_ACTY_REF_PERD_CD BEN_PEL_PIL_ELCTBL_POPL_STAT_CD BEN_PEL_PL_ID BEN_PEL_PROCG_END_DT BEN_PEL_UOM BEN_PEL_ELCNS_MADE_DT BEN_PEL_ENRT_PERD_END_DT BEN_PEL_ENRT_PERD_ID BEN_PEL_ENRT_PERD_STRT_DT BEN_PEL_ENRT_TYP_CYCL_CD BEN_PEL_AUTO_ASND_DT BEN_PEL_BUSINESS_GROUP_ID BEN_PEL_CREATED_BY BEN_PEL_DFLT_ASND_DT BEN_PEL_PER_IN_LER_ID BEN_PEL_PGM_ID BEN_PEL_PIL_ELCTBL_CHC_POPL_ID BEN_PEL_DFLT_ENRT_DT BEN_PEL_LEE_RSN_ID BEN_PEL_LAST_UPDATE_LOGIN BEN_PEL_LAST_UPDATED_BY BEN_PEL_LAST_UPDATE_DATE BEN_PEL_CREATION_DATE BEN_PEL_CLS_ENRT_DT_TO_USE_CD BEN_PLIP_F BEN_CPP_ALWS_UNRSTRCTD_ENRT_FLAG BEN_CPP_PL_ID .

Entity Database Items Available BEN_CPP_RT_END_DT_CD BEN_CPP_RT_END_DT_RL BEN_CPP_RT_STRT_DT_CD BEN_CPP_RT_STRT_DT_RL BEN_CPP_DFLT_FLAG BEN_CPP_EFFECTIVE_END_DATE BEN_CPP_EFFECTIVE_START_DATE BEN_CPP_ENRT_CD BEN_CPP_ENRT_RL BEN_CPP_IVR_IDENT BEN_CPP_LAST_UPDATED_BY BEN_CPP_LAST_UPDATE_DATE BEN_CPP_LAST_UPDATE_LOGIN BEN_CPP_ORDR_NUM BEN_CPP_PGM_ID BEN_CPP_PLIP_ID BEN_CPP_PLIP_STAT_CD BEN_CPP_CMBN_PLIP_ID BEN_CPP_BUSINESS_GROUP_ID BEN_CPP_AUTO_ENRT_MTHD_RL BEN_CPP_CREATED_BY BEN_CPP_DFLT_ENRT_CD BEN_CPP_ENRT_MTHD_CDBEN_CPP_ENRT_CVG_S TRT_DT_RL BEN_CPP_ENRT_CVG_STRT_DT_CD BEN_CPP_ENRT_CVG_END_DT_CD BEN_CPP_ENRT_CVG_END_DT_RL BEN_CPP_DFLT_ENRT_DET_RL BEN_CPP_CREATION_DATE BEN_PL_F BEN_PLN_ACTL_PREM_ID BEN_PLN_BNFT_OR_OPTION_RSTRCTN_CD BEN_PLN_BNF_DSGE_MNR_TTEE_RQD_FLAG BEN_PLN_BNF_DFLT_BNF_CD BEN_PLN_CVG_INCR_R_DECR_ONLY_CD BEN_PLN_DFLT_TO_ASN_PNDG_CTFN_CD .

Entity Database Items Available BEN_PLN_DFLT_TO_ASN_PNDG_CTFN_RL BEN_PLN_DMSTC_PRTR_RT_TRTMT_FLAG BEN_PLN_BNFT_PRVDR_POOL_ID BEN_PLN_BNF_ADDL_INSTN_TXT_ALWD_FLAG BEN_PLN_BNF_ADRS_RQD_FLAG BEN_PLN_BNF_CNTNGT_BNFS_ALWD_FLAG BEN_PLN_BNF_CTFN_RQD_FLAG BEN_PLN_EFFECTIVE_END_DATE BEN_PLN_EFFECTIVE_START_DATE BEN_PLN_ELIG_APLS_FLAG BEN_PLN_ENRT_CD BEN_PLN_BUSINESS_GROUP_ID BEN_PLN_CMPR_CLMS_TO_CVG_OR_BAL_CD BEN_PLN_COBRA_PYMT_DUE_DY_NUM_CD BEN_PLN_CREATED_BY BEN_PLN_CREATION_DATE BEN_PLN_USE_ALL_ASNTS_FOR_RT_FLAG BEN_PLN_VSTG_APLS_FLAG BEN_PLN_WVBL_FLAG BEN_PLN_HC_PL_SUBJ_HCFA_APRVL_FLAG BEN_PLN_HC_SVC_TYP_CD BEN_PLN_HGHLY_CMPD_RL_APLS_FLAG BEN_PLN_INCPTN_DT BEN_PLN_INVK_DCLN_PRTN_PL_FLAG BEN_PLN_INVK_FLX_CR_PL_FLAG BEN_PLN_POSTELCN_EDIT_RL BEN_PLN_PRMRY_FNDG_MTHD_CD BEN_PLN_PRORT_PRTL_YR_CVG_RSTRN_CD BEN_PLN_PRORT_PRTL_YR_CVG_RSTRN_RL BEN_PLN_PRTN_ELIG_OVRID_ALWD_FLAG BEN_PLN_RQD_PERD_ENRT_NENRT_RL BEN_PLN_RQD_PERD_ENRT_NENRT_UOM BEN_PLN_RQD_PERD_ENRT_NENRT_VAL BEN_PLN_RT_END_DT_CD BEN_PLN_NIP_DFLT_ENRT_CD .

Entity Database Items Available BEN_PLN_NIP_DFLT_ENRT_DET_RL BEN_PLN_NIP_ENRT_INFO_RT_FREQ_CD BEN_PLN_NIP_PL_UOM BEN_PLN_NIP_RQD_ENRL_PERD_TCO_CD BEN_PLN_NO_MN_CVG_AMT_APLS_FLAG BEN_PLN_NO_MN_CVG_INCR_APLS_FLAG BEN_PLN_NO_MN_OPTS_NUM_APLS_FLAG BEN_PLN_NO_MX_CVG_AMT_APLS_FLAG BEN_PLN_ALWS_QDRO_FLAG BEN_PLN_ALWS_QMCSO_FLAG BEN_PLN_ALWS_UNRSTRCTD_ENRT_FLAG BEN_PLN_AUTO_ENRT_MTHD_RL BEN_PLN_BNF_INCRMT_AMT BEN_PLN_BNF_LEGV_ID_RQD_FLAG BEN_PLN_BNF_MAY_DSGT_ORG_FLAG BEN_PLN_BNF_MN_DSGNTBL_AMT BEN_PLN_BNF_MN_DSGNTBL_PCT_VAL BEN_PLN_BNF_PCT_AMT_ALWD_CD BEN_PLN_BNF_PCT_INCRMT_VAL BEN_PLN_BNF_QDRO_RL_APLS_FLAG BEN_PLN_DPNT_ADRS_RQD_FLAG BEN_PLN_DPNT_CVD_BY_OTHR_APLS_FLAG BEN_PLN_DPNT_CVG_END_DT_CD BEN_PLN_DPNT_CVG_END_DT_RL BEN_PLN_DPNT_CVG_STRT_DT_CD BEN_PLN_DPNT_CVG_STRT_DT_RL BEN_PLN_DPNT_DOB_RQD_FLAG BEN_PLN_DPNT_DSGN_CD BEN_PLN_ENRT_CVG_END_DT_CD BEN_PLN_ENRT_CVG_END_DT_RL BEN_PLN_ENRT_CVG_STRT_DT_CD BEN_PLN_ENRT_CVG_STRT_DT_RL BEN_PLN_ENRT_MTHD_CD BEN_PLN_ENRT_PL_OPT_FLAG BEN_PLN_ENRT_RL .

Entity Database Items Available BEN_PLN_FRFS_APLY_FLAG BEN_PLN_LAST_UPDATE_DATE BEN_PLN_LAST_UPDATE_LOGIN BEN_PLN_MAY_ENRL_PL_N_OIPL_FLAG BEN_PLN_MN_CVG_RL BEN_PLN_MN_CVG_RQD_AMT BEN_PLN_MN_OPTS_RQD_NUM BEN_PLN_MX_CVG_ALWD_AMT BEN_PLN_MX_CVG_INCR_ALWD_AMT BEN_PLN_MX_CVG_INCR_WCF_ALWD_AMT BEN_PLN_MX_CVG_MLT_INCR_NUM BEN_PLN_MX_CVG_MLT_INCR_WCF_NUM BEN_PLN_MX_CVG_RL BEN_PLN_MX_CVG_WCFN_AMT BEN_PLN_MX_CVG_WCFN_MLT_NUM BEN_PLN_MX_OPTS_ALWD_NUM BEN_PLN_MX_WTG_DT_TO_USE_CD BEN_PLN_MX_WTG_DT_TO_USE_RL BEN_PLN_MX_WTG_PERD_PRTE_APLS_FLAG BEN_PLN_MX_WTG_PERD_PRTE_DET_CD BEN_PLN_MX_WTG_PERD_PRTE_DET_RL BEN_PLN_MX_WTG_PERD_PRTE_UOM BEN_PLN_MX_WTG_PERD_PRTE_VAL BEN_PLN_MX_WTG_PERD_RL BEN_PLN_NAME BEN_PLN_NIP_ACTY_REF_PERD_CD BEN_PLN_NO_MX_CVG_INCR_APLS_FLAG BEN_PLN_NO_MX_OPTS_NUM_APLS_FLAG BEN_PLN_ORDR_NUM BEN_PLN_PER_CVRD_CD BEN_PLN_PL_CD BEN_PLN_PL_ID BEN_PLN_PL_STAT_CD BEN_PLN_PL_TYP_ID BEN_PLN_RT_END_DT_RL .

Entity Database Items Available BEN_PLN_RT_STRT_DT_CD BEN_PLN_RT_STRT_DT_RL BEN_PLN_SUBJ_TO_IMPUT_INC_FLAG BEN_PLN_SVGS_PL_FLAG BEN_PLN_TRK_INELIG_PER_FLAG BEN_PLN_UNSSPND_ENRT_CD BEN_PLN_USE_ALL_ASNTS_ELIG_FLAG BEN_PLN_INVK_IMPTD_INCM_PL_FLAG BEN_PLN_IVR_IDENT BEN_PLN_LAST_UPDATED_BY BEN_PLN_DPNT_LEG_ID_RQD_FLAG BEN_PLN_DPNT_NO_CTFN_RQD_FLAG BEN_PLN_DRVBL_DPNT_ELIG_FLAG BEN_PLN_DRVBL_FCTR_APLS_RTS_FLAG BEN_PLN_DRVBL_FCTR_PRTN_ELIG_FLAG BEN_PLN_BNF_DOB_RQD_FLAG BEN_PLN_BNF_DSGN_CD BEN_PLN_ASNT_RQD_FOR_ENRT_FLAG BEN_PLN_ALWS_REIMBMTS_FLAG BEN_PL_REGN_F BEN_PRG_BUSINESS_GROUP_ID BEN_PRG_KEY_EE_DET_RL BEN_PRG_REGY_PL_TYP_CD BEN_PRG_PRG_ATTRIBUTE_CATEGORY BEN_PRG_PRG_ATTRIBUTE3 BEN_PRG_PRG_ATTRIBUTE30 BEN_PRG_PL_ID BEN_PRG_PL_REGN_ID BEN_PRG_PRG_ATTRIBUTE1 BEN_PRG_PRG_ATTRIBUTE10 BEN_PRG_PRG_ATTRIBUTE11 BEN_PRG_PRG_ATTRIBUTE12 BEN_PRG_PRG_ATTRIBUTE13 BEN_PRG_PRG_ATTRIBUTE14 BEN_PRG_PRG_ATTRIBUTE15 BEN_PRG_PRG_ATTRIBUTE4 .

Entity Database Items Available BEN_PRG_PRG_ATTRIBUTE5 BEN_PRG_PRG_ATTRIBUTE6 BEN_PRG_PRG_ATTRIBUTE7 BEN_PRG_PRG_ATTRIBUTE8 BEN_PRG_PRG_ATTRIBUTE9 BEN_PRG_PRG_ATTRIBUTE21 BEN_PRG_PRG_ATTRIBUTE22 BEN_PRG_PRG_ATTRIBUTE23 BEN_PRG_PRG_ATTRIBUTE24 BEN_PRG_PRG_ATTRIBUTE25 BEN_PRG_PRG_ATTRIBUTE26 BEN_PRG_PRG_ATTRIBUTE27 BEN_PRG_PRG_ATTRIBUTE28 BEN_PRG_PRG_ATTRIBUTE29 BEN_PRG_CNTR_NNDSCRN_RL BEN_PRG_CVG_NNDSCRN_RL BEN_PRG_EFFECTIVE_START_DATE BEN_PRG_HGHLY_COMPD_DET_RL BEN_PRG_PRG_ATTRIBUTE16 BEN_PRG_PRG_ATTRIBUTE17 BEN_PRG_PRG_ATTRIBUTE18 BEN_PRG_PRG_ATTRIBUTE19 BEN_PRG_PRG_ATTRIBUTE2 BEN_PRG_PRG_ATTRIBUTE20 BEN_PRG_REGN_ID BEN_PRG_RPTG_GRP_ID BEN_PRG_FIVE_PCT_OWNR_RL BEN_PRG_EFFECTIVE_END_DATE BEN_PL_TYP_F BEN_PTP_BUSINESS_GROUP_ID BEN_PTP_MX_ENRL_ALWD_NUM BEN_PTP_PL_TYP_ID BEN_PTP_OPT_DSPLY_FMT_CD BEN_PTP_COMP_TYP_CD BEN_PTP_EFFECTIVE_END_DATE BEN_PTP_IVR_IDENT .

Entity Database Items Available BEN_PTP_MN_ENRL_RQD_NUM BEN_PTP_NAME BEN_PTP_NO_MN_ENRL_NUM_DFND_FLAG BEN_PTP_NO_MX_ENRL_NUM_DFND_FLAG BEN_PTP_OPT_TYP_CD BEN_PTP_PL_TYP_STAT_CD BEN_PTP_LAST_UPDATE_DATE BEN_PTP_EFFECTIVE_START_DATE BEN_POPL_RPTG_GRP_F BEN_RGR_BUSINESS_GROUP_ID BEN_RGR_PL_ID BEN_RGR_RGR_ATTRIBUTE11 BEN_RGR_RGR_ATTRIBUTE26 BEN_RGR_RGR_ATTRIBUTE24 BEN_RGR_RGR_ATTRIBUTE28 BEN_RGR_RGR_ATTRIBUTE29 BEN_RGR_RGR_ATTRIBUTE3 BEN_RGR_RGR_ATTRIBUTE30 BEN_RGR_RGR_ATTRIBUTE4 BEN_RGR_RGR_ATTRIBUTE5 BEN_RGR_RGR_ATTRIBUTE6 BEN_RGR_RGR_ATTRIBUTE7 BEN_RGR_RGR_ATTRIBUTE8 BEN_RGR_RGR_ATTRIBUTE10 BEN_RGR_RGR_ATTRIBUTE12 BEN_RGR_RGR_ATTRIBUTE13 BEN_RGR_RGR_ATTRIBUTE14 BEN_RGR_RGR_ATTRIBUTE15 BEN_RGR_RGR_ATTRIBUTE16 BEN_RGR_RGR_ATTRIBUTE17 BEN_RGR_RGR_ATTRIBUTE18 BEN_RGR_RGR_ATTRIBUTE19 BEN_RGR_RGR_ATTRIBUTE9 BEN_RGR_RGR_ATTRIBUTE_CATEGORY BEN_RGR_RPTG_GRP_ID BEN_RGR_RGR_ATTRIBUTE2 .

Entity Database Items Available BEN_RGR_RGR_ATTRIBUTE20 BEN_RGR_RGR_ATTRIBUTE21 BEN_RGR_RGR_ATTRIBUTE22 BEN_RGR_RGR_ATTRIBUTE23 BEN_RGR_EFFECTIVE_END_DATE BEN_RGR_PGM_ID BEN_RGR_POPL_RPTG_GRP_ID BEN_RGR_RGR_ATTRIBUTE25 BEN_RGR_RGR_ATTRIBUTE27 BEN_RGR_RGR_ATTRIBUTE1 BEN_RGR_EFFECTIVE_START_DATE BEN_PRTT_ENRT_RSLT_F BEN_PEN_ASSIGNMENT_ID BEN_PEN_CREATED_BY BEN_PEN_RPLCS_SSPNDD_RSLT_ID BEN_PEN_PRTT_IS_CVRD_FLAG BEN_PEN_ERLST_DEENRT_DT BEN_PEN_LAST_UPDATED_BY BEN_PEN_LAST_UPDATE_DATE BEN_PEN_LAST_UPDATE_LOGIN BEN_PEN_LER_ID BEN_PEN_NO_LNGR_ELIG_FLAG BEN_PEN_OIPL_ID BEN_PEN_ORGNL_ENRT_DT BEN_PEN_PERSON_ID BEN_PEN_BNFT_AMT BEN_PEN_BNFT_ORDR_NUM BEN_PEN_BUSINESS_GROUP_ID BEN_PEN_CREATION_DATE BEN_PEN_EFFECTIVE_START_DATE BEN_PEN_ENRT_CVG_STRT_DT BEN_PEN_ENRT_CVG_THRU_DT BEN_PEN_ENRT_MTHD_CD BEN_PEN_ENRT_OVRIDN_FLAG BEN_PEN_ENRT_OVRID_RSN_CD BEN_PEN_ENRT_OVRID_THRU_DT .

Entity Database Items Available BEN_PEN_SSPNDD_FLAG BEN_PEN_UOM BEN_PEN_PER_IN_LER_ID BEN_PEN_PGM_ID BEN_PEN_PL_ID BEN_PEN_PL_TYP_ID BEN_PEN_PRTT_ENRT_RSLT_ID BEN_PEN_PRTT_ENRT_RSLT_STAT_CD BEN_PEN_PTIP_ID BEN_PEN_EFFECTIVE_END_DATE BEN_PEN_BNFT_TYP_CD BEN_PEN_BNFT_NNMNTRY_UOM BEN_PRTT_REIMBMT_RQST_ F BEN_PRC_BUSINESS_GROUP_ID BEN_PRC_INCRD_FROM_DT BEN_PRC_RQST_NUM BEN_PRC_RQST_AMT_UOM BEN_PRC_PL_ID BEN_PRC_PROVIDER_PERSON_ID BEN_PRC_PROVIDER_SSN_PERSON_ID BEN_PRC_PRTT_REIMBMT_RQST_ID BEN_PRC_PRTT_REIMBMT_RQST_STAT_CD BEN_PRC_RCRRG_CD BEN_PRC_RECIPIENT_PERSON_ID BEN_PRC_REIMBMT_CTFN_TYP_PRVDD_CD BEN_PRC_RQST_AMT BEN_PRC_CONTACT_RELATIONSHIP_ID BEN_PRC_CREATED_BY BEN_PRC_EFFECTIVE_END_DATE BEN_PRC_GD_OR_SVC_TYP_ID BEN_PRC_INCRD_TO_DT BEN_PRC_LAST_UPDATED_BY BEN_PRC_LAST_UPDATE_DATE BEN_PRC_LAST_UPDATE_LOGIN BEN_PRC_RQST_BTCH_NUM BEN_PRC_SUBMITTER_PERSON_ID .

Entity Database Items Available BEN_PRC_EFFECTIVE_START_DATE BEN_PRC_CREATION_DATE BEN_PRTT_RT_VAL BEN_PRV_ACTL_PREM_ID BEN_PRV_CMCD_REF_PERD_CD BEN_PRV_PRV_ATTRIBUTE12 BEN_PRV_PRV_ATTRIBUTE10 BEN_PRV_PRV_ATTRIBUTE7 BEN_PRV_PRV_ATTRIBUTE8 BEN_PRV_PRV_ATTRIBUTE9 BEN_PRV_PRV_ATTRIBUTE_CATEGORY BEN_PRV_RT_END_DT BEN_PRV_RT_OVRIDN_FLAG BEN_PRV_RT_OVRIDN_THRU_DT BEN_PRV_RT_STRT_DT BEN_PRV_RT_TYP_CD BEN_PRV_ELCTNS_MADE_DT BEN_PRV_ELEMENT_ENTRY_VALUE_ID BEN_PRV_ENDED_PER_IN_LER_ID BEN_PRV_MLT_CD BEN_PRV_PRV_ATTRIBUTE14 BEN_PRV_PRV_ATTRIBUTE15 BEN_PRV_PRV_ATTRIBUTE16 BEN_PRV_PRV_ATTRIBUTE17 BEN_PRV_PRV_ATTRIBUTE18 BEN_PRV_ACTY_BASE_RT_ID BEN_PRV_ACTY_REF_PERD_CD BEN_PRV_ANN_RT_VAL BEN_PRV_BUSINESS_GROUP_ID BEN_PRV_CMCD_RT_VAL BEN_PRV_COMP_LVL_FCTR_ID BEN_PRV_CVG_AMT_CALC_MTHD_ID BEN_PRV_DSPLY_ON_ENRT_FLAG BEN_PRV_PRV_ATTRIBUTE19 BEN_PRV_PRV_ATTRIBUTE2 BEN_PRV_PRV_ATTRIBUTE20 .

Entity

Database Items Available BEN_PRV_PRV_ATTRIBUTE3 BEN_PRV_PRV_ATTRIBUTE30 BEN_PRV_PRV_ATTRIBUTE4 BEN_PRV_PRV_ATTRIBUTE5 BEN_PRV_PRV_ATTRIBUTE6 BEN_PRV_RT_VAL BEN_PRV_TX_TYP_CD BEN_PRV_PRV_ATTRIBUTE21 BEN_PRV_PRV_ATTRIBUTE22 BEN_PRV_PRV_ATTRIBUTE23 BEN_PRV_PRV_ATTRIBUTE24 BEN_PRV_PRV_ATTRIBUTE25 BEN_PRV_PRV_ATTRIBUTE26 BEN_PRV_PRV_ATTRIBUTE27 BEN_PRV_PRV_ATTRIBUTE28 BEN_PRV_PRV_ATTRIBUTE29 BEN_PRV_PER_IN_LER_ID BEN_PRV_PRTT_ENRT_RSLT_ID BEN_PRV_PRTT_RT_VAL_ID BEN_PRV_PRTT_RT_VAL_STAT_CD BEN_PRV_PRV_ATTRIBUTE1 BEN_PRV_PRV_ATTRIBUTE11 BEN_PRV_PRV_ATTRIBUTE13 BEN_PRV_BNFT_RT_TYP_CD BEN_PRV_ACTY_TYP_CD

BEN_PTIP_F

BEN_CTP_ACRS_PTIP_CVG_ID BEN_CTP_DPNT_CVG_STRT_DT_CD BEN_CTP_DPNT_CVG_END_DT_RL BEN_CTP_DPNT_ADRS_RQD_FLAG BEN_CTP_LAST_UPDATED_BY BEN_CTP_LAST_UPDATE_DATE BEN_CTP_LAST_UPDATE_LOGIN BEN_CTP_MN_ENRD_RQD_OVRID_NUM BEN_CTP_MX_CVG_ALWD_AMT BEN_CTP_MX_ENRD_ALWD_OVRID_NUM

Entity

Database Items Available BEN_CTP_NO_MN_PL_TYP_OVERID_FLAG BEN_CTP_NO_MX_PL_TYP_OVRID_FLAG BEN_CTP_CRS_THIS_PL_TYP_ONLY_FLAG BEN_CTP_DRVD_FCTR_DPNT_CVG_FLAG BEN_CTP_EFFECTIVE_END_DATE BEN_CTP_EFFECTIVE_START_DATE BEN_CTP_ENRT_CVG_END_DT_CD BEN_CTP_ENRT_CVG_END_DT_RL BEN_CTP_ENRT_CVG_STRT_DT_CD BEN_CTP_ENRT_CVG_STRT_DT_RL BEN_CTP_ORDR_NUM BEN_CTP_PGM_ID BEN_CTP_CMBN_PTIP_OPT_ID BEN_CTP_CMBN_PTIP_ID BEN_CTP_BUSINESS_GROUP_ID BEN_CTP_CM_MED_ID_NUM BEN_CTP_CREATED_BY BEN_CTP_WVBL_FLAG BEN_CTP_RQD_PERD_ENRT_NENRT_TM_UOM BEN_CTP_RQD_PERD_ENRT_NENRT_VAL BEN_CTP_RT_END_DT_CD BEN_CTP_RT_END_DT_RL BEN_CTP_RT_STRT_DT_CD BEN_CTP_RT_STRT_DT_RL BEN_CTP_SBJ_TO_DPNT_LF_INS_MX_FLAG BEN_CTP_SBJ_TO_SPS_LF_INS_MX_FLAG BEN_CTP_USE_TO_SUM_EE_LF_INS_FLAG BEN_CTP_DPNT_LEGV_ID_RQD_FLAG BEN_CTP_PL_TYP_ID BEN_CTP_POSTELCN_EDIT_RL BEN_CTP_PRVDS_CR_FLAG BEN_CTP_PTIP_ID BEN_CTP_PTIP_STAT_CD BEN_CTP_RQD_ENRT_PERD_TCO_CD BEN_CTP_RQD_PERD_ENRT_NENRT_RL

Entity

Database Items Available BEN_CTP_IVR_IDENT BEN_CTP_DPNT_CVG_END_DT_CD BEN_CTP_DPNT_CVG_NO_CTFN_RQD_FLAG BEN_CTP_DPNT_CVG_STRT_DT_RL BEN_CTP_CREATION_DATE BEN_CTP_DPNT_DSGN_CD BEN_CTP_DPNT_DOB_RQD_FLAG BEN_CTP_COORD_CVG_FOR_ALL_PLS_FLAG

BEN_PTNL_LER_FOR_PER

BEN_PPL_BUSINESS_GROUP_ID BEN_PPL_DTCTD_DT BEN_PPL_ENRT_PERD_ID BEN_PPL_LAST_UPDATE_DATE BEN_PPL_LER_ID BEN_PPL_MNL_DT BEN_PPL_NTFN_DT BEN_PPL_PERSON_ID BEN_PPL_PROCD_DT BEN_PPL_PTNL_LER_FOR_PER_ID BEN_PPL_LF_EVT_OCRD_DT BEN_PPL_VOIDD_DT BEN_PPL_UNPROCD_DT BEN_PPL_PTNL_LER_FOR_PER_SRC_CD BEN_PPL_PTNL_LER_FOR_PER_STAT_CD BEN_PPL_LAST_UPDATE_LOGIN BEN_PPL_LAST_UPDATED_BY

BEN_YR_PERD

BEN_YRP_BUSINESS_GROUP_ID BEN_YRP_CREATED_BY BEN_YRP_CREATION_DATE BEN_YRP_LAST_UPDATED_BY BEN_YRP_LAST_UPDATE_LOGIN BEN_YRP_LMTN_YR_STRT_DT BEN_YRP_PERDS_IN_YR_NUM BEN_YRP_LMTN_YR_END_DT BEN_YRP_YR_PERD_ID BEN_YRP_START_DATE

Entity Database Items Available BEN_YRP_PERD_TM_UOM_CD BEN_YRP_PERD_TYP_CD BEN_YRP_LAST_UPDATE_DATE BEN_YRP_END_DATE FURTHER_ASSIGNMENT_INF ORMATION_BENEFITS_DF BEN_DERIVED_ABSENCE_RE ASON BEN_DERIVED_ORIGINAL_PAYROLL BEN_DERIVED_TERMINATION_REASON BEN_DERIVED_TERMINATION_DATE BEN_DERIVED_SALARY BEN_DERIVED_PAYROLL_CHANGED BEN_DERIVED_ORIGINAL_PERSON_TYPE BEN_DERIVED_ORIGINAL_HIRE_DATE BEN_DERIVED_ABSENCE_TYPE BEN_DERIVED_AGE BEN_DERIVED_DATE_OF_HIRE BEN_DERIVED_LEAVE_OF_ABSENCE_DATE BEN_DERIVED_ADJUSTED_SERVICE_DATE BEN_PER_IN_LER_GSP – Use when formulas are attached to “Grade/step progression” plan design. BEN_PIL_LER_ID_GSP BEN_PIL_BCKT_DT_GSP BEN_PIL_CLSD_DT_GSP BEN_PIL_CREATION_DATE_GSP BEN_PIL_LAST_UPDATE_DATE_GSP BEN_PIL_LF_EVT_OCRD_DT_GSP BEN_PIL_NTFN_DT_GSP BEN_PIL_PERSON_ID_GSP BEN_PIL_PER_IN_LER_ID_GSP BEN_PIL_PER_IN_LER_STAT_CD_GSP BEN_PIL_BUSINESS_GROUP_ID_GSP BEN_PIL_LAST_UPDATE_LOGIN_GSP BEN_PIL_VOIDD_DT_GSP BEN_PIL_STRTD_DT_GSP BEN_PIL_PROCD_DT_GSP BEN_PIL_PTNL_LER_FOR_PER_ID_GSP BEN_PIL_LAST_UPDATED_BY_GSP BEN_PIL_CREATED_BY_GSP BEN_PER_IN_LER_CWB – Use BEN_PIL_LER_ID_CWB .

Entity when formulas are attached to “Compensation workbench” plan design Database Items Available BEN_PIL_BCKT_DT_CWB BEN_PIL_CLSD_DT_CWB BEN_PIL_CREATION_DATE_CWB BEN_PIL_LAST_UPDATE_DATE_CWB BEN_PIL_LF_EVT_OCRD_DT_CWB BEN_PIL_NTFN_DT_CWB BEN_PIL_PERSON_ID_CWB BEN_PIL_PER_IN_LER_ID_CWB BEN_PIL_PER_IN_LER_STAT_CD_CWB BEN_PIL_BUSINESS_GROUP_ID_CWB BEN_PIL_LAST_UPDATE_LOGIN_CWB BEN_PIL_VOIDD_DT_CWB BEN_PIL_STRTD_DT_CWB BEN_PIL_PROCD_DT_CWB BEN_PIL_PTNL_LER_FOR_PER_ID_CWB BEN_PIL_LAST_UPDATED_BY_CWB BEN_PIL_CREATED_BY_CWB BEN_PER_IN_LER_ABS .– Use when formulas are attached to “Absences” plan design BEN_PIL_LER_ID_ABS BEN_PIL_BCKT_DT_ABS BEN_PIL_CLSD_DT_ABS BEN_PIL_CREATION_DATE_ABS BEN_PIL_LAST_UPDATE_DATE_ABS BEN_PIL_LF_EVT_OCRD_DT_ABS BEN_PIL_NTFN_DT_ABS BEN_PIL_PERSON_ID_ABS BEN_PIL_PER_IN_LER_ID_ABS BEN_PIL_PER_IN_LER_STAT_CD_ABS BEN_PIL_BUSINESS_GROUP_ID_ABS BEN_PIL_LAST_UPDATE_LOGIN_ABS BEN_PIL_VOIDD_DT_ABS BEN_PIL_STRTD_DT_ABS BEN_PIL_PROCD_DT_ABS BEN_PIL_PTNL_LER_FOR_PER_ID_ABS BEN_PIL_LAST_UPDATED_BY_ABS .

– Use when formulas are attached to “iRecruitement” plan design.– Use when formulas are attached to “Benefits in unrestricted ” plan design. BEN_PIL_LER_ID_IREC BEN_PIL_BCKT_DT_IREC BEN_PIL_CLSD_DT_IREC BEN_PIL_CREATION_DATE_IREC BEN_PIL_LAST_UPDATE_DATE_IREC BEN_PIL_LF_EVT_OCRD_DT_IREC BEN_PIL_NTFN_DT_IREC BEN_PIL_PERSON_ID_IREC BEN_PIL_PER_IN_LER_ID_IREC BEN_PIL_PER_IN_LER_STAT_CD_IREC BEN_PIL_BUSINESS_GROUP_ID_IREC BEN_PIL_LAST_UPDATE_LOGIN_IREC BEN_PIL_VOIDD_DT_IREC BEN_PIL_STRTD_DT_IREC BEN_PIL_PROCD_DT_IREC BEN_PIL_PTNL_LER_FOR_PER_ID_IREC BEN_PIL_LAST_UPDATED_BY_IREC BEN_PIL_CREATED_BY_IREC BEN_PER_IN_LER_UNRESTRI CTED . BEN_PIL_LER_ID_UNRESTRICTED BEN_PIL_BCKT_DT_UNRESTRICTED BEN_PIL_CLSD_DT_UNRESTRICTED BEN_PIL_CREATION_DATE_UNRESTRICTED BEN_PIL_LAST_UPDATE_DATE_UNRESTRICTED BEN_PIL_LF_EVT_OCRD_DT_UNRESTRICTED BEN_PIL_NTFN_DT_UNRESTRICTED BEN_PIL_PERSON_ID_UNRESTRICTED BEN_PIL_PER_IN_LER_ID_UNRESTRICTED BEN_PIL_PER_IN_LER_STAT_CD_UNRESTRICTED BEN_PIL_BUSINESS_GROUP_ID_UNRESTRICTED BEN_PIL_LAST_UPDATE_LOGIN_UNRESTRICTED BEN_PIL_VOIDD_DT_UNRESTRICTED BEN_PIL_STRTD_DT_UNRESTRICTED BEN_PIL_PROCD_DT_UNRESTRICTED BEN_PIL_PTNL_LER_FOR_PER_ID_UNRESTRICTED .Entity Database Items Available BEN_PIL_CREATED_BY_ABS BEN_PER_IN_LER_IREC .

BEN_PEL_ACTY_REF_PERD_CD_IREC BEN_PEL_PIL_ELCTBL_POPL_STAT_CD_IREC BEN_PEL_PL_ID_IREC BEN_PEL_PROCG_END_DT_IREC BEN_PEL_UOM_IREC BEN_PEL_ELCNS_MADE_DT_IREC BEN_PEL_ENRT_PERD_END_DT_IREC BEN_PEL_ENRT_PERD_ID_IREC BEN_PEL_ENRT_PERD_STRT_DT_IREC BEN_PEL_ENRT_TYP_CYCL_CD_IREC BEN_PEL_AUTO_ASND_DT_IREC BEN_PEL_BUSINESS_GROUP_ID_IREC BEN_PEL_CREATED_BY_IREC BEN_PEL_DFLT_ASND_DT_IREC BEN_PEL_PER_IN_LER_ID_IREC BEN_PEL_PGM_ID_IREC BEN_PEL_PIL_ELCTBL_CHC_POPL_ID_IREC BEN_PEL_DFLT_ENRT_DT_IREC BEN_PEL_LEE_RSN_ID_IREC BEN_PEL_LAST_UPDATE_LOGIN_IREC BEN_PEL_LAST_UPDATED_BY_IREC BEN_PEL_LAST_UPDATE_DATE_IREC BEN_PEL_CREATION_DATE_IREC BEN_PEL_CLS_ENRT_DT_TO_USE_CD_IREC .Entity Database Items Available BEN_PIL_LAST_UPDATED_BY_UNRESTRICTED BEN_PIL_CREATED_BY_UNRESTRICTED BEN_PIL_ELCTBL_CHC_POPL _IREC – Use when formulas are attached to “iRecruitement” plan design.

Sign up to vote on this title
UsefulNot useful