How to set up the Time Off calculator
Following the deprecation of the Absence calculator, the Time Off calculator is enabled by default on the HCM package configuration page, and cannot be disabled.
The Time Off calculator can be triggered by two buttons:
-
Accrual Log button on the Employment Record page
-
Generate Accruals button on the Absence Accrual Rule page
If the Time Off calculator buttons are not displayed on the page layouts, you can add them:
-
Go to the Object Manager:
-
In Salesforce Lightning Experience, go to Setup > Object Manager.
-
In Salesforce Classic interface, go to Setup >App Setup > Create > Objects.
-
-
In the list of Custom Objects, select the Label for Employment Record.
-
On the Employment Record page, go to Page Layouts and for Employment Layout select Edit.
-
On the Employment Layout page in the left panel select Related Lists.
-
Go to the Absences Related List and select Properties .
-
In the Related List Properties dialog for Absences:
-
Expand the Buttons section.
-
Move the Accrual Log button from the list of Available Buttons to the list of Selected Buttons.
Accrual Log runs the Time Off calculator.
-
-
Select OK.
-
Select Save to save your changes to the page layout.
-
Go to the Object Manager again:
-
In Salesforce Lighting Experience, select Object Manager.
-
In Salesforce Classic interface, go to App Setup > Create > Objects.
-
-
In the list of Custom objects select the Label for Absence Accrual Rule.
-
On the Absence Accrual Rule page, go to Page Layouts and for Absence Accrual Rule Layout select Edit.
-
On the Absence Accrual Rule Layout page in the left panel select Buttons.
-
Drag the Generate Accruals button and drop it into the Custom Buttons area at the top of the page layout.
Generate Accruals runs the Time Off calculator to baseline accruals for all Team Members using an Absence Accrual Rule.
-
Select Save to save your changes to the page layout.