Concept: Requirements for Custom Fields in Calculations
You can create custom fields to retrieve data for Workday calculations. You can use custom fields as inputs to these calculations:
- Instance set comparison.
- Instance value.
Requirements
When you use a custom field as an input to a calculation, the custom field must be on a custom object that:
- Extends the noneffective-datedWorkerbusiness object.
- Is single-instance.
When creating a custom field for calculations, ensure that you set:
- TheCategoryto a functional area. Examples:Time Off,Payroll.
- TheAuthorized UsageasCalculation Engine (Payroll/Absence).
To add data to a custom field to use it in a calculated field, access on the worker's related actions menu.
Instance Set Comparison Calculations
When you use a custom field as an input to instance set comparison calculations, the custom field must be a list type.
Instance Value Calculations
When you use a custom field as an input to a calculation, the custom field must be 1 of these field types:
- Boolean.
- Date.
- Decimal.
- Integer.
You can then use the instance value calculation as an input to:
- A value comparison calculation.
- Any type of custom date calculation. Example: Date Increment/Decrement.
- A feature configuration. Example: You can select the instance value calculation from theCalculationprompt on theEdit DeductionorEdit Earningtask.