Configuring Basic Accrual Rules

Objective

After completing this lesson, you will be able to configure business rules for annual and monthly recurring entitlements.

Time Off Structures for Accruals

The time off structures required for accruals are:

  • Holiday calendar (Refer to Unit Absence Requests in Time Off for configuration instructions.)

  • Work schedule (Refer to Unit Absence Requests in Time Off for configuration instructions.)

  • Time types (Refer to Unit Absence Requests in Time Off for configuration instructions.)

  • Time profile (Refer to Unit Absence Requests in Time Off for configuration instructions.)

  • Time account types

  • Accrual Lookup By Seniority tables

  • Custom fields

  • MDF Objects

Configure Accruals

To configure accrual rules, follow these steps:

Steps

  1. Create all holiday calendars, work schedules, time types, and time profiles, as needed.

  2. Configure time account types.

  3. Add the time account type to the time type.

  4. Add custom fields to the Accrual Lookup By Seniority object.

  5. Create the seniority lookup tables.

  6. Configure the accrual rules.

  7. Assign the accrual rules to the time account type.

  8. Generate the time account.

    Note

    The accrual process needs at a minimum one holiday calendar, work schedule, time type, and time profile.

    If holiday calendars, work schedules, time types, and time profiles are not available, create them as per the configuration instructions in the Configuration of Absence Requests unit.

Accrual Rules

The most common types of accrual rules are annual, monthly, hire (accruals for the period between the hire date and accrual period end date), termination (accruals between the accrual period start date and the termination date) and period-end (for example, year end).

The configuration and execution of an annual rule is used in this section to demonstrate how to configure and execute accrual rules. Accrual rules for monthly, hire, termination, and period-end will be addressed later.

Annual Accruals: Fixed Amount

Annual accruals are done once each year typically on January 1 or December 31. In fixed amount, a lump sum of hours or days are granted to the employee via an accrual rule.

Create an Annual Accrual Rule

Steps

  1. Select Configure Business RulesCreate New Rule.

  2. Select Accrual.

    Create an Annual Accrual Rule.
  3. Make the following entries:

    1. Enter the Rule Name.

    2. Enter the Rule ID.

  4. Choose Continue.

    Here's some information on the individual parameters (see the Time Off implementation guide for more details).

    • accrualRuleParameters- You have to assign this parameter to each accrual rule. It contains information about accrual start date and end date and accruable start date and end date.

      • Accrual Start Date - This date is the start date for the accrual period. For example, if a monthly accrual frequency is defined, this parameter is filled with the first day of the month the accrual rule is called for.

      • Accrual End Date - This date is the end date for the accrual period. For example, if a monthly accrual frequency is defined, this parameter is filled with the last day of the month for which the accrual rule is called.

      • Accruable Start Date- The accruable start date is later than or the same as the Accrual Start Date, it can be later than in the case of the employee being hired during the accrual period, for example, the accrual period is January 1 to December 31, and the employee is hired on March 15, the accruable start date is March 15.

      • Accruable End Date- The accruable end date is later than or the same as the Accrual End Date. The date can be sooner than in the case of the employee being terminated during the accrual period. For example, if the accrual period is January 1 to December 31, and the employee is terminated on March 15, the accruable end date is March 15.

    • accrualRuleVariables- This variable is a helper object to store interim results for more clarity in a rule calculation. You can assign it as a parameter to an accrual rule. The fields of this object are always empty until you set them explicitly in the rule. Make sure that you assign values before you access them to guarantee proper rule execution.

      An example is if you need to call several rule functions or lookup tables to determine the date or amount of an accrual. You can use the variables to keep interim results. No records of that object are saved. The predefined fields are as follows, but you are free to add custom fields according to your accrual rule needs:

      • Seniority

      • Posting Date

      • Balance

      • Number of Months

      • Average full-time equivalent(FTE)

    • plannedWorkingTimeParameters: This parameter is optional. It contains the number of hours and days planned (based on work schedule) for the accruable period.

    • accrualCalculationBaseParameters: This parameter is required if your time account type calculation is based on recorded times. It contains information about actual hours and days worked.

    • timeAccount: This parameter is required if you want to stop the accrual on a certain amount. It is also required if you want to use a rule function, which needs this object as input.

  5. Set the rule to be Always True.

    Create an Annual Accrual Rule: If statement
  6. Create a THEN statement to set the fixed amount for the accrual period. See the following example:

    An example of Annual Fixed Amount Accrual Rule is displayed.

    Note

    This rule is available in the Success Store (rule SF_ACCRUAL_FixedAmount). You can either copy it or create a new rule based on the Accrual rule scenario.

Configure a Fixed Amount Accrual Rule

Business Example

You need to configure the Time Accounts for some U.S. employees. Initially, you will create and assign the time profile to a single user for testing. You will also use the previously created Holiday Calendar, Work Schedule, Time Types, and Time profile.

You need to configure the accrual rule for the Slick Leave. In this scenario, sick leave is accrued every year, with each employee receiving six days.

Note

This exercise requires you to have successfully completed the following exercises: Create a Custom Holiday Calendar, Create a Period Work Schedule, Set Up a Time Type and Time Profile, and Create Time Accounts and Assign Time Profiles.

Steps

  1. Create a new business rule based on the accrual scenario. Configure the based on the image:

    A business rule is displayed.
    1. Select Configure Business RulesCreate New Rule.

    2. Select Rule Scenario: Time Management: Accrual.

    3. Make the following entries:

      • Enter the Sick US Annual Accrual in the Rule Name field.

      • Enter the SICK_US_ACCRUAL in the Rule ID field.

    4. Click Continue.

    5. Complete the Rule according to the image.

    6. Click Save.

  2. Assign the Accrual Rule that you created to the Time Account Type Sick Leave Current Year. Set the frequency to annually.

    1. Select Manage Time Off Structures.

    2. Retrieve the time account type Sick Leave Current Year.

    3. Click Take ActionMake Correction.

    4. Set the Accrual Frequency Period to Annually.

    5. Set Accrual Based on to Standard.

    6. Choose Save.

    7. Set the Accrual Rule field to SICK_US_ACCRUAL.

    8. Accept the warning by clicking Yes.

  3. Simulate creating the Time Account for the Sick Leave Current Year time type for next year. Use the start and end dates as January 1 and December 31 of the next year.

    Note

    The account for the current year has already been completed when the Time Profile was assigned, which will show the process for creating the accounts via the Time Off Calendar.

    1. Select Manage Time Off Calendars.

    2. Click the + New Calendar link to create the time account (if not already created) as follows:

    3. From the drop-down, select Account Creation.

    4. Enter the name of the run in the Name field – Sick Leave Current Year Account Creation.

    5. Enter the Time Account Type Sick Leave Current Year.

    6. Enter the Start Date (the start date of the accrual period, for example, January 1, yyyy).

    7. Enter the End Date (the end date of the accrual period, for example, December 31, yyyy).

    8. Select Save and Simulate.

    9. Navigate to Scheduled Job Manager.

    10. Download the Simulated Calendar Run job status and verify that an account has been created.

  4. Run the Annual Accrual for the current year. Create and run an accrual calendar by using this year's dates for the time account Sick Leave Current Year.

    1. Select Manage Time Off Calendars.

    2. Select the + New Calendar link to create the time account (if not already created) as follows:

    3. From the drop-down, select Accrual.

    4. Enter the name of the run in the Name field as Sick Leave Current Year Account Creation.

    5. Enter the Time Account Type SICK_US.

    6. Enter the Start Date (the start date of the accrual period, for example, January 1, yyyy).

    7. Enter the End Date (the end date of the accrual period, for example, December 31, yyyy).

    8. Select Save.

    9. Choose Run on the Accrual job you created.

  5. Verify the posting of the Time Account Details to Frank Dillon.

    1. In Action Search, type Administer time.

    2. Select Administer time for… Frank Dillon.

    3. Select the Sick Leave Current Year and verify that six days were posted.

Monthly Accruals

Other than accruals done on an annual frequency, the next most common frequency is monthly. Typically, the seniority lookup tables are configured in a similar way to the annual seniority lookup tables, that is, the entitled amount is a lump sum for the entire year.

Because the accrual is done at the end of each month, the amount must be divided by 12.

Configure Monthly Accruals

Steps

  1. Select Configure Business RulesCreate New Rule.

  2. Enter the Rule Name, Rule ID, Start Date, Rule Type, and Base Object.

    The Configure Business Rules page is displayed.
  3. Configure the rule to compute the seniority. Then, to create a time account detail record by looking up the seniority lookup table for the amount based on the computed seniority and dividing by 12.

    The Monthly Accrual page is displayed.

    The rule populates (Set) the Variables. Seniority field with the difference in calendar years between the employee’s hire date and the accruable start date. It then creates a time account detail record by dividing the amount from the Accrual Lookup By Seniority table with Lookup Name Paid Time Off by 12 to get the monthly entitlements.

  4. Assign the rule to the time account type by setting the Accrual Frequency Period to Monthly and the Accrual Rule to the monthly accrual rule Monthly Accrual.

    The Time Account Type: PTO Accrual page is displayed.

Set Up Monthly Accruals

Business Example

The ACE USA’s Beverage Products division’s paid time off (PTO) policy is to accrue PTO hours monthly according to the seniority schedule as follows:

Seniority FromSeniority ToAnnual Entitlement (hours)
0580
510120
1099160

In this exercise you will configure the Time Account from beginning to end, separate from scenario of the previous exercises.

Steps

  1. Create the time type with the following details:

    ClassificationAbsence
    Permitted Fractions for Unit HourFull hour bookings allowed
    UnitsHour(s)
    External CodeptoBEV
    External NamePaid Time Off
    1. Select Manage Time Off StructuresCreate NewTime Type.

    2. Configure the time type.

  2. Create a new Time Profile with the following details:

    External CodeprofBEV
    External NameProfile for Beverage

    Available Time Types

    Time TypeEnabled in ESSFavoriteExternal Code
    Paid Time Off (ptoBEV)YesYes1
    Sick Leave (SICKNESS)NoNo3
    1. Select Manage Time Off StructuresCreate New: Time Profile.

    2. Enter the data as given in the following tables.

    3. Add the time type in the Available Time Types section.

      Hint

      When you add a holiday to the holiday calendar, choose its Details link to locate the External Code field.

    4. Save your record.

  3. Create the time account type with the following details:

    External CodemonthlyAccrBev
    External NameMonthly Accrual Beverage
    UnitHour(s)
    Account Creation TypeRecurring
    Accrual Frequency PeriodMonthly
    Simulate AccrualsYes
    Accruals Based OnStandard
    Account Creation Start DateAccount Valid From (Day or Mon.)
    Account Valid From (Day)1
    Account Valid From (Month)1
    Accrual RuleVacation US Annual Accrual
    1. Select Manage Time Off StructuresCreate NewTime Account Type.

    2. Enter the data as given in the preceding table.

    3. Save your record and choose Yes.

    4. In the confirmation popup, choose Yes.

  4. Assign the time account type Monthly Accrual Beverage (monthlyAccrBev) to the time type Paid Time Off (ptoBEV).

    1. Select Manage Time Off Structures and navigate to the Paid Time Off (ptoBEV) Time Type.

    2. Select Take ActionMake Correction.

    3. Add the Monthly Accrual Beverage (monthlyAccrBev) Time Account Type in the Time Account Posting Rules section. Set the external code to 1.

    4. Set the Posting Priority to: Post to time accounts by posting rules only.

    5. Set the Posting Priority to: Post to time accounts by posting rules only.

    6. Save your record. If you get a pop-up warning, choose Yes.

  5. Create lookup tables as shown in the following table:

    Set Up Monthly Accruals: Create a Lookup Table

    External Code

    Seniority From

    Seniority To

    Accrual Amount

    Lookup Name

    3010580Beverage
    302510120Beverage
    3031099160Beverage
    1. Select Manage Time Off StructuresCreate NewAccrual Lookup By Seniority. Create the three lookup tables.

  6. Create the monthly accrual rule.

    • Rule Scenario: Select Time Management: Accrual
    • Rule Name: Monthly Accrual Beverage
    • Rule ID: Monthly_Accrual_Beverage
    The monthly accrual rule creation screenshots are displayed.
    1. Select Configure Business RulesCreate New Rule and create the rule with the following details:

      • Rule Scenario: Select Time Management: Accrual
      • Rule Name: Monthly Accrual Beverage
      • Rule ID: Monthly_Accrual_Beverage
    2. The If statement must be marked as Always True. Fill out the Then statement of the rule based on the information in the preceding figure.

  7. Assign the monthly accrual rule (Monthly Accrual Beverage) to the time account type (Monthly Accrual Beverage (monthlyAccrBev)).

    1. Select Manage Time Off Structures and search for the Time Account Type, Monthly Accrual Beverage (monthlyAccrBev).

    2. Click Take ActionMake Correction and add the Monthly Accrual Beverage accrual rule to the Accrual Rule field.

    3. Choose Save. If you get a pop-up warning, choose Yes.

  8. Create the time account.

    1. Select Manage Time Off Calendars.

    2. Select + New Calendar and choose Account Creation.

    3. Fill in the information that you see on the following figure. You can choose the day after today's date as the Run Date (it must be a date in the future).

      The New Calendar Account Creation dialog box is displayed.
    4. Select Save, and then Run the PTO account. Choose Run again.

Summary

  • Accrual rules are business rules that define how much leave gets credited to an employee's time account at each accrual period. The most common types are annual, monthly, hire, termination, and period-end.
  • A fixed amount accrual rule grants a lump sum of hours or days once a year, typically on January 1 or December 31. It is created under Configure Business RulesCreate New Rule using the Accrual rule type.
  • Monthly accrual rules distribute the annual entitlement across 12 periods. The rule logic divides the annual amount by 12 and is assigned to the time account type with the Accrual Frequency Period set to Monthly.
  • The accrualRuleParameters object must be assigned to every accrual rule. It contains key dates like accrual start and end dates, as well as the accruable start and end dates, which adjust for hire or termination mid-period.