Before you Begin

This 45-minute tutorial shows you how to modify out-of-the-box templates in order to disable Salary Defaults. You first create a new Salary Option Smart List, and then modify Groovy Templates used in Workforce--Add Requisition, Change Requisition, and Change Existing Details--to use the salary options specified in the smart list: Salary Grade, and Salary Basis & Rate. The sections build on each other and should be completed sequentially.

Background

After configuring Additional Earnings, Benefits, and Taxes using the wizard, you can assign defaults for Salary, Additional Earnings, Benefits, and Taxes, as well as Salary Grades for New Hires.

If you want to remove the option to use Salary Defaults when adding new hires, changing new hire details, or changing existing employee details, you modify the Add Hiring Requisition, Change Requisition, and Change Existing Details out-of-the-box Groovy Templates.

In this tutorial, you create a new Salary Option Smart List and modify the following Groovy Templates used in Workforce: Add Requisition, Change Requisition, and Change Existing Details. You then verify your changes by adding new hires, changing new hire details, and modifying an existing employee's salary details.

What Do You Need?

An EPM Cloud Service instance allows you to deploy and use one of the supported business processes. To deploy another business process, you must request another EPM Enterprise Cloud Service instance or remove the current business process.

  • Have Service Administrator access to an EPM Enterprise Cloud Service instance. The instance should not have a business process created.
  • Upload and import this snapshot into your instance.

Note:

If you run into migration errors importing the snapshot, re-run the migration excluding the HSS-Shared Services component, as well as the Security and User Preferences artifacts in the Core component. For more information on uploading and importing snapshots, refer to the Administering Migration for Oracle Enterprise Performance Management Cloud documentation.

Assigning Values to User Variables

User Variables were added when the business process was created. User variables act as filters in forms, enabling planners to focus only on certain members. In this section, you set values for user variables.

  1. On the home page, click Navigator (Navigator), and under Tools, click User Preferences.
    Navigator menu
  2. Under Preferences, click User Variables.
    Selecting User Variables
  3. For each variable, click its Member Selector (Member Selector) to select a member as the variable's value:
    User Variable Member
    Infolet Entity Sales US
    Currency USD
    Entity Finance US
    Reporting Currency USD
    Scenario Plan
    Version Working
    Years FY21
    Expense Account Total Travel and Entertainment Expense
    Expense Drivers Travel and Entertainment Expense Drivers
    Product Line Smart Phone 4 in
  4. Verify your selections and click Save.
    User variables with selected Members
  5. At the information message, click OK.
    Information message

Creating the Custom Salary Options Smart List

The out-of-the-box Add Requisition template uses the out-of-the-box Salary Options Smart List.

Salary Options Smart List

In this section, you create a new Smart List with only two options.

  1. In Planning, click Navigator (Navigator), and under Create and Manage, click Smart Lists.
    Navigate to Smart Lists
  2. Click Create icon (Create).
  3. Enter the following information:
    Detail Value
    Smart List CustSalOptions
    Label Custom Salary Options

    Custom Salary Options
  4. Click the Entries tab.
  5. In Entries, click Actions and select Add.
    Entries
  6. Enter the following information:
    ID Name Label
    1 SalaryBasisAndRate Salary Basis And Rate
  7. Add another entry. Click Actions and select Add.
  8. Enter the following information:
    ID Name Label
    2 SalaryGrade Salary Grade
  9. Verify your entries and click Save.
    Salary Options

    The CustSalOptions Smart List and its entries are saved and ready for use.

    Smart Lists

Modifying the Add Requisition Groovy Template

In this section, you modify the Add Requisition Groovy template to use the smart list you created in the previous section.

  1. In Planning, click Navigator (Navigator), and under Create and Manage, click Rules.
    Navigate to Calculation Manager

    Calculation Manager opens in a separate window. System View is displayed.

    Calculation Manager
  2. Expand EPM Cloud.
  3. Right-click EPBCS and select Refresh.
    Refresh EPBCS
  4. Expand EPBCS, then OEP_WFP, then Templates and locate OWP_Add Requisition_GT.
    Out of the box templates
  5. Double-click OWP_Add Requisition_GT to open it.
  6. At the information message, click OK.
    Information message

    The groovy template is displayed.

    Groovy template
  7. Click the Design Time Prompt tab.
  8. In Design Time Prompt, select the Process row.
    Process row
  9. Click Edit Prompt (Edit Prompt).
  10. In Edit Prompt, change the Smartlist selection to CustSalOptions.

    Tip:

    In the Smartlist dropdown, type C to find Smart Lists that begin with that letter. If you have several Smart Lists that begin with the letter C, continue pressing that letter until you find CustSalOptions.
    Setting the smart list

    Tip:

    You can optionally set a Default Value if one option is more likely to be used than the other.
  11. Click OK.
  12. Click the Template Designer tab.
  13. Click Collapse Pane to expand the content area.
    Collapse Pane
  14. Hover your cursor right above the Usage tab until a yellow line appears, then click and drag the yellow line down to expand the script area.
    Resizing panes
  15. In the script area, scroll down and locate lines 142 to 149.
  16. Select the contents of lines 142 to 149 and press Delete.

    Delete the contents for the case 1 codeblock.

    Selecting case 1

    The rest of the script is moved up, with the case 2 codeblock starting at line 144.

    Updated script
  17. In line 144, change the case number from 2 to 1.
    case 1
  18. In line 153, change the case number from 3 to 2.
    case 2
  19. Select the contents of lines 161 to 168 and press Delete.

    Delete the contents for the case 11 codeblock.

    case 11

    The updated script now starts the case 21 codeblock in line 163.

    Updated script
  20. In line 163, change the case number from 21 to 11.
    Updated script
  21. In line 172, change the case number from 31 to 21.
    Updated script
  22. Click Save (Save).
    Save changes
  23. At the information message confirming your changes, click OK.
    Information message
  24. At the information message, click OK.
    Information message
  25. Click Deploy (Deploy).
    Deploy

    The deployment process takes a moment to complete.

    Deployment
  26. At the information message, click OK.
    Information message
  27. Close the Calculation Manager window and return to Planning.

Verifying Groovy Template Updates for Adding New Hires

In this section, you add new hires to verify changes made to the template.

  1. In Planning, click Navigator (Navigator), and under Workforce, click Compensation Planning.
    Navigate to Compensation Planning
  2. From the vertical tabs on the left, click Manage Employees (Manage Employees).
  3. Verify that you are on the New Hires tab.
  4. Verify or set the POV to the following values:
    Dimension Member
    Version Working
    Entity Finance US
    Currency USD
    Years FY21
    Period Jan
    Scenario Plan
    Project FM IT

    Tip:

    To modify the POV selections and open Member Selector, click the member you want to change. When finished, click Go (Go) to apply your changes.
  5. In Add Hiring Requisitions, right-click and select Add Hiring Requisition.
    Adding Hiring Requests
  6. In Add Requisition, for FTE for each, enter 1.
  7. Accept all default selections and click Next.
    Job and Salary Options
  8. Review and accept the default calendar, and then click Next.
    Calendar Information
  9. Select Job and Salary options:
    Option Value
    Job Accountant
    Union Code Default No Union Code
  10. Click the Salary Options dropdown to display the Smart List entries you added in the previous section.
    Job and Salary Options
  11. Select Salary Basis and Rate and click Next.
  12. Enter the following Salary Basis and Rate:
    Option Value
    Salary Rate 30000
    Salary Basis Annual
  13. Verify your selections and click Launch.
    Salary Basis and Rate
  14. At the information message, click OK.
    Information message

    The new hire was added with Total Compensation calculated.

    New Hire
  15. In Add Hiring Requisitions, right-click on the whitespace below the grid and select Add Hiring Requisition.
  16. In Add Requisition, for FTE for each, enter 1.
  17. Accept all default selections and click Next.
    Job and Salary Options
  18. Review and accept the default calendar, and then click Next.
    Calendar Information
  19. Select Job and Salary options:
    Option Value
    Job Finance Director
    Union Code Default No Union Code
    Salary Options Salary Grade
  20. Verify your selections and click Next.
    Job and Salary Options
  21. For Salary Grade, select Grade8.
    Salary Grade
  22. Click Launch.
  23. At the information message, click OK.
    Information message

    The new hire was added to the form.

    New hire
  24. Expand the Total Compensation column and review the components used to calculate its value.
    Total Compensation

Modifying the Change Requisition Groovy Template

In this section, you modify the Change Requisition Groovy Template in order to remove Salary Defaults from the Workforce wizards.

  1. In Planning, click Navigator (Navigator), and under Create and Manage, click Rules.
    Navigate to Calculation Manager
  2. In System View, expand EPM Cloud, then EPBCS, then OEP_WFP, then Templates and locate OWP_Change Requisition_GT.
    Out of the box templates
  3. Double-click OWP_Change Requisition_GT to open it.
  4. At the information message, click OK.
    Information message

    The groovy template is displayed.

    Groovy template
  5. Click the Design Time Prompt tab.
  6. In Design Time Prompt, select the Process row.
    Process row
  7. Click Edit Prompt (Edit Prompt).
  8. In Edit Prompt, change the Smartlist selection to CustSalOptions.

    Tip:

    In the Smartlist dropdown, type C to find Smart Lists that begin with that letter. If you have several Smart Lists that begin with the letter C, continue pressing that letter until you find CustSalOptions.
    Setting the smart list

    Tip:

    You can optionally set a Default Value if one option is more likely to be used than the other.
  9. Click OK.
  10. Click the Template Designer tab.
  11. Click Collapse Pane to expand the content area.
  12. Hover your cursor right above the Usage tab until a yellow line appears, then click and drag the yellow line down to expand the script area.
  13. In the script area, scroll down and locate lines 26 to 28.
    26 to 28
  14. Make the following changes:
    • In line 26, where it states change = '2', replace the value of 2 with 3.
    • In line 27, where it states change = '3', replace the value of 3 with 4.
    • Comment out line 28 by inserting a /* at the beginning of the line, and a */ at the end of the line.
  15. Verify your changes.
    Updated script
  16. Click Save (Save).
  17. At the information message confirming your changes, click OK.
  18. At the information message, click OK.
  19. Click Deploy (Deploy).
  20. At the information message, click OK.
  21. Right-click the OWP_Change Requisition tab and select Close.
    Change Requisition tab

Modifying the Change Existing Details Groovy Template

In this section, you modify the Change Existing Details Groovy Template in order to remove the Salary Defaults option from Workforce wizards.

The changes you will make will be similar to the changes you made in the previous template.

  1. In System View, under EPM Cloud > EPBCS > OEP_WFP > Templates, locate and double-click OWP_Change Existing Details_GT to open it.
    Change Existing Details
  2. At the information message, click OK.
  3. Click the Design Time Prompt tab.
  4. In Design Time Prompt, select the Process row.
    Process row
  5. Click Edit Prompt (Edit Prompt).
  6. In Edit Prompt, change the Smartlist selection to CustSalOptions.

    Tip:

    In the Smartlist dropdown, type C to find Smart Lists that begin with that letter. If you have several Smart Lists that begin with the letter C, continue pressing that letter until you find CustSalOptions.
    Setting the smart list

    Tip:

    You can optionally set a Default Value if one option is more likely to be used than the other.
  7. Click OK.
  8. Click the Template Designer tab.
  9. Click Collapse Pane to expand the content area.
  10. Hover your cursor right above the Usage tab until a yellow line appears, then click and drag the yellow line down to expand the script area.
  11. In the script area, scroll down and locate lines 24 to 26.
    24 to 26
  12. Make the following changes:
    • In line 24, where it states change = '2', replace the value of 2 with 3.
    • In line 25, where it states change = '3', replace the value of 3 with 4.
    • Comment out line 26 by inserting a /* at the beginning of the line, and a */ at the end of the line.
  13. Verify your changes.
    Updated script
  14. Click Save (Save).
  15. At the information message confirming your changes, click OK.
  16. At the information message, click OK.
  17. Click Deploy (Deploy).
  18. At the information message, click OK.
  19. Close the Calculation Manager window and return to Planning.

Verifying Groovy Template Updates for Change Requisitions

In this section, you verify the Groovy Template updates to Change Requisitions that apply to recently added new hires and existing employees.

  1. In Planning, click Navigator (Navigator), and under Workforce, click Compensation Planning.
    Navigate to Compensation Planning
  2. From the vertical tabs on the left, click Manage Employees (Manage Employees).
  3. Verify that you are on the New Hires tab.
  4. Verify or set the POV to the following values:
    Dimension Member
    Version Working
    Entity Finance US
    Currency USD
    Years FY21
    Period Jan
    Scenario Plan
    Project FM IT

    Tip:

    To modify the POV selections and open Member Selector, click the member you want to change. When finished, click Go (Go) to apply your changes.
  5. In the grid, right-click Accountant and select Change Requisition.
    Right-click Account and select Change Requisition
  6. For Change Requisition, select Salary.
    Salary change
  7. Click Next.
  8. In Salary Options, for Year, accept the default: FY21.
  9. Select the following:
    Salary Option Value
    From Period Jan
    Salary Options Salary Grade

    Note:

    Notice that the Salary Options dropdown lists only the two options from the Smart List you created.

    When you first added the Accountant new hire, you set the Salary Option to Salary Basis and Rate with an annual salary of $30,000.
  10. Verify your selections and click Next.
    Salary Options
  11. For Salary Grade, select Grade1.
    Salary Grade
  12. Click Launch.
  13. At the information message. click OK.
    Information message
  14. In the grid, expand Total Compensation.
  15. For the Accountant row, review Total Compensation and its components.

    Notice the increase in Total Salary to $62,400 annually.

    Accountant row

    Total Salary is based on the following calculation: Hourly Rate x 2080 hours. The hourly rate of $30 is taken from the Grade1 Salary Grade that you assigned to this new hire.

  16. Click the Existing Employees horizontal tab.
  17. In Existing Employees, set the POV to the following values:
    Dimension Member
    Version Working
    Entity Sales US
    Currency USD
    Years FY21
    Period Jan
    Scenario Plan
    Project No Project

    Tip:

    To modify the POV selections and open Member Selector, click the member you want to change. When finished, click Go (Go) to apply your changes.
  18. In the grid, take note of the Total Compensation value for Patrick John.
  19. Right-click John,Patrick and select Change Existing Details.
    John,Patrick
  20. For Change Employee, select Salary.
    Change Employee
  21. Click Next.
  22. In Salary Options, accept the default year: FY21.
  23. Select the following options:
    Salary Options Value
    From Period Sep
    Salary Options Salary Basis and Rate

    Note that Salary Options no longer includes Salary Defaults.

  24. Click Next.
  25. In Salary Basis and Rate, enter or select the following:
    Option Value
    Salary Rate 20000
    Salary Salary Basis Monthly
  26. Verify your selections and click Launch.
    Salary basis and rate
  27. At the information message, click OK.
    Information message

    Total Compensation for Patrick John was updated.

    Updated data
  28. From the vertical tabs on the left, click Navigate to Employee Details (Employee Details).
  29. Set the POV/Page selections to the following and click Go (Go:)
    Dimension Member
    Job Sales Director
    Employee John,Patrick
    Project No Project
  30. Review the employee details for Patrick John.
    Employee detils for Patrick John

    At the bottom-left, review the Compensation form.

    Compensation form

    The first row displays Salary value. Notice that starting September, salary for Patrick John is now $20,000 monthly.

Learn More