PayrollEarningCode::lookupEarningCodeByRateBasis Method
Provides a custom lookup for the PayrollEarningCode records that filters based on the rate basis.
Syntax
client server public static PayrollEarningCode lookupEarningCodeByRateBasis(
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 that is filtered by the rate basis.
- _dateToFilter
Type: utcdatetime
The date to filter the lookup.
- _rateBasis
Type: PayrollRateBasis Enumeration
The rate basis type to exclude from the lookup.
Return Value
Type: PayrollEarningCode Table
A reference to a PayrollEarningCode record.