PayrollEarningCode::lookupEarningCodeByPaymentType Method
Provides a custom lookup for the PayrollEarningCode records that filters based on the includeInPaymentType value.
Syntax
client server public static Common lookupEarningCodeByPaymentType(
FormReferenceControl _formReferenceControl,
[PayrollIncludeInPaymentType _includeInPaymentType,
utcdatetime _dateToFilter])
Run On
Called
Parameters
- _formReferenceControl
Type: FormReferenceControl Class
The form control that is bound to the foreign key reference to the PayrollEarningCode table.
- _includeInPaymentType
Type: PayrollIncludeInPaymentType Enumeration
A flag that indicates the payment type for the earning code.
- _dateToFilter
Type: utcdatetime
The date to filter the lookup.
Return Value
Type: Common Table
A reference to a PayrollEarningCode record.