HcmBenefit::findByBenefitPlanAndBenefitOption Method
Finds a record in the HcmBenefit table by using the specified benefit plan and benefit option.
Syntax
client server public static HcmBenefit findByBenefitPlanAndBenefitOption(
HcmBenefitPlanRecId _hcmBenefitPlanRecId,
HcmBenefitOptionRecId _hcmBenefitOptionRecId,
[utcdatetime _validFrom,
utcdatetime _validTo,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _hcmBenefitPlanRecId
Type: HcmBenefitPlanRecId Extended Data Type
The surrogate key value of the HcmBenefitPlan table.
- _hcmBenefitOptionRecId
Type: HcmBenefitOptionRecId Extended Data Type
The surrogate key value of the HcmBenefitOption table.
- _validFrom
Type: utcdatetime
A ValidFrom field value; optional.
- _validTo
Type: utcdatetime
A ValidTo field value; optional.
- _forUpdate
Type: boolean
A Boolean value that specifies whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use on the table; optional.
Return Value
Type: HcmBenefit Table
A record from the HcmBenefit table.