HcmBenefit::getEarningStatHcmBenefitQuery Method
Provides a custom query for the HcmBenefit records that filters on the basis of date, Worker, category and legal entity.
Syntax
client server public static Query getEarningStatHcmBenefitQuery(
[utcdatetime _dateToFilter,
HcmWorkerRecId _workerRecId,
PayrollCategory _payrollCategory,
LegalEntityRecId _legalEntity,
HcmBenefitPlanId _benefitPlanID,
HcmBenefitOptionId _benefitOptionID])
Run On
Called
Parameters
- _dateToFilter
Type: utcdatetime
The date to filter.
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The worker record Id.
- _payrollCategory
Type: PayrollCategory Enumeration
The payroll category that is associated with the benefit.
- _legalEntity
Type: LegalEntityRecId Extended Data Type
The legal entity record.
- _benefitPlanID
Type: HcmBenefitPlanId Extended Data Type
The HcmBenefitPlan record ID.
- _benefitOptionID
Type: HcmBenefitOptionId Extended Data Type
The HcmBenefitOption record ID.
Return Value
Type: Query Class
A query that filters based on the parameters.