How to get period type of payroll to define auto complete rule in payroll relationship?
Summary:
This is regarding auto complete rule Use Case# 48 which is already approved. The requirement is If legislation code is US or CA or MX and action type is Change Employment or Global Transfer or Hire an Employee or Rehire an Employee and grade name contains “EXMP” and Period Type of payroll is "Weekly" then display warning message "Weekly payroll should not be assigned to exempt employee".
As per the requirement, I need to use period type of the payroll in the condition, but unfortunately I could not find any option to get period type of the payroll. I could not find any field under Assigned Payroll.Row Related to PayrollId other than payroll name. Can you please guide me how to get period type of payroll?