Example: Exclude Involuntary Leavers

Purpose

To exclude involuntary terminations from the Turnover Report based on the Reason For Leaving field (Reason_For_Leaving__c) as recorded in their Team Member records. This example also excludes Team Members with either:

  • The Job Title Intern

  • The Full Name Test

How

  1. Go to Setup > App Setup > Create > Objects.

  2. Select the Label for the Employment Record object.

  3. In Custom Fields & Relationships, select New:

    Screenshot: fields & relationships new

    Sage People displays the New Custom Field wizard.

  4. Select the Formula Data Type:

    Screenshot: set formula data type

  5. Select Next.

  6. In Field Label enter Exclude Involuntary.

    Sage People automatically completes Field Name with the Field Label you entered.

  7. Select the Text Formula Return Type:

    Screenshot: set text formula return type

  8. Select Next.

  9. In Exclude Involuntary (Text) enter the formula:

    IF

     

    (ISPICKVAL

     
       

    (Reason_For_Leaving__c, "Involuntary")

     

    || CONTAINS

     
       

    (fHCM2__Team_Member__r.fHCM2__Job_Title__c, "Intern")

     

    || CONTAINS

     
       

    ( fHCM2__Team_Member__r.fHCM2__Name_Full__c, "Test"),

     

    "Yes",

     
     

    "No")

     
  10. In Description enter:

    To identify Involuntary leavers, interns, and test users.

  11. In Help Text enter:

    Returns Yes if Reason for leaving is Involuntary, Job Title is Intern, or Full Name is Test. Otherwise returns No.

  12. Select Next.

  13. Set field-level security for the new field to enable access by users assigned to Profiles you want to be able to run the Turnover report.

    Typically, set Fairsail Administrator and Fairsail HR Manager to visible, all other Profiles clear:

    Screenshot: set field-level security

  14. Select Next.

  15. In Add to page layouts, uncheck all Page Layouts unless you want to add the Region field by default to a page layout:

    Screenshot: set page layouts

  16. Select Save.

    Sage People displays the Team Member Custom Object page.

  17. Select Field Sets and select Edit for the Turnover Field Set:

    Screenshot: edit field set

  18. In the left panel select Current Employment to display the fields in the Employment Record.

  19. Drag and drop the Exclude Involuntary field into the Field Set:

    Screenshot: add field to field set

  20. Select Save.

  21. Go to the Turnover Report and select By Exclude Involuntary:

    Screenshot: turnover report by exclude involuntary

    The data table displays the newly defined regional grouping:

    Screenshot: data table with new grouping