HcmBenefitDetail::findByBenefit Method
Finds a record in the HcmBenefitDetail table that is based on the specified Benefit record ID value.
Syntax
client server public static HcmBenefitDetail findByBenefit(
HcmBenefitRecId _benefitRecId,
[utcdatetime _validFrom,
utcdatetime _validTo,
boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _benefitRecId
Type: HcmBenefitRecId Extended Data Type
A HcmBenefit 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 indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
An enumeration value that indicates the concurrency settings to use on the table; optional.
Return Value
Type: HcmBenefitDetail Table
A record from the HcmBenefitDetail Table; otherwise, an empty record.