HcmBenefit::findByBenefitPlan Method
Finds a record in the HcmBenefit table by using the specified benefit plan.
Syntax
client server public static HcmBenefit findByBenefitPlan(
HcmBenefitPlanRecId _hcmBenefitPlanRecId,
[utcdatetime _validFrom,
utcdatetime _validTo,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _hcmBenefitPlanRecId
Type: HcmBenefitPlanRecId Extended Data Type
A HcmBenefitPlan record ID value.
- _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.