PayrollEarningCode::resolveReferenceEarningCodeByRateBasis Method
Provides custom resolveReference logic for foreign keys to the PayrollEarningCode table that supports resolving currently active and pending records that filters based on the rate basis that is provided.
Syntax
client server public static Common resolveReferenceEarningCodeByRateBasis(
FormReferenceControl _formReferenceControl,
[utcdatetime _dateToFilter,
PayrollRateBasis _rateBasis])
Run On
Called
Parameters
- _formReferenceControl
Type: FormReferenceControl Class
The form control that is bound to the foreign key reference to the PayrollEarningCode table.
- _dateToFilter
Type: utcdatetime
The date to filter the lookup.
- _rateBasis
Type: PayrollRateBasis Enumeration
The payroll rate basis that should not be able to be selected.
Return Value
Type: Common Table
A reference to a PayrollEarningCode record.