HcmBenefit::hasPendingBenefitPayrollRateChange Method
Determines whether an HCM benefit has a pending rate change that needs to be published.
Syntax
server public static boolean hasPendingBenefitPayrollRateChange(HcmBenefitRecId _hcmBenefitRecId, [HcmWorkerEnrolledBenefitRecId _hcmWorkerEnrolledBenefitRecId])
Run On
Server
Parameters
- _hcmBenefitRecId
Type: HcmBenefitRecId Extended Data Type
The record ID of the HcmBenefit value for which to determine the pending change.
- _hcmWorkerEnrolledBenefitRecId
Type: HcmWorkerEnrolledBenefitRecId Extended Data Type
The record ID of the HcmWorkerEnrolledBenefit value for which to determine the pending change; optional.
Return Value
Type: boolean
true if the HcmBenefit has a pending rate change; otherwise, false.
Remarks
This method looks for both a rate or basis mismatch on the PayrollWorkerEnrolledBenefitDetail or any missing PayrollWorkerEnrolledBenefitDetail records.