Enabling daily Time Off record creation

To enable daily time off record creation:

  1. In the HR Manager portal, go to Installed Packages:

    • In Salesforce Lightning Experience, go to SetupAppsPackagingInstalled Packages.

    • In Salesforce Classic interface, go to Setup > App SetupInstalled Packages.

  2. On the Installed Packages page, select Configure next to the Time package.

    Sage People displays the Configure page for the package.

  3. Go to the Daily Time Off records section:

    Screenshot: Daily Time Off records section on Sage People Time Configure page

  4. For Create daily Time Off records, select:

    • On to enable the generation of daily absence data in your production and sandbox environments.
    • Sandbox Only to enable the generation of daily absence data in your sandbox environments only.

  5. By default, Absence Day Records are generated for Time Off records created or modified after enabling the feature.

    If you want to create Absence Day Records for existing Time Off records in your org, select Create for absences after and enter a date. When the job runs, Absence Day Records are created for Time Off records with end dates on or after the selected date.

    You only need to run this job one time when you have decided the start date for daily Time Off reporting.

    By default, Sage People creates Absence Day Records for existing absences in batches of 20 Time Off records. You can change the batch size by selecting Record Creation Batch size and entering a value.

    Note

    A job with a larger batch size may complete marginally faster, but increases the risk of exceeding Salesforce Governor Limits, causing the job to fail.

  6. Select Run Now to initiate the job to create Absence Day Records for existing absences with end dates on or after your selected date.

  7. Select Save.

Daily absence record creation is now enabled. For absences created after this point, or created by the batch job for existing absences, you can view the resulting Absence Day Records on the Absence Day Records Related List associated with the parent Time Off record:

Screenshot: Absence Day Records Related List with two records

  • By default, Duration is displayed with two decimal places.

    The Duration values are stored in full precision up to 25 digits for irrational or recurring numbers, and Sage People ensures the sum of the Absence Day Record durations matches the total absence duration. You can set up your own rounding rules, but bear in mind this can affect how the Absence Day Record total durations sum up.

  • Weekday is the day of the week expressed as a number, following the Salesforce standard where Sunday = 1 and Saturday = 7.

This Related List is not displayed by default, you need to add it to the page layout.

You can now use Absence Day Records for reporting in your org. If you want to export the records, you now need to configure a Payflow Service.