HcmBenefitType::findByBenefit Method
Finds the specified record in the HcmBenefitType table by using the specified HcmBenefitRecId value.
Syntax
client server public static HcmBenefitType findByBenefit(
HcmBenefitRecId _hcmBenefitRecId,
[boolean _forUpdate,
ConcurrencyModel _concurrencyModel])
Run On
Called
Parameters
- _hcmBenefitRecId
Type: HcmBenefitRecId Extended Data Type
The key value of the HcmBenefit record to find.
- _forUpdate
Type: boolean
A Boolean value that specifies whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
An enumeration value that indicates whether concurrency setting to be used on the table; optional.
Return Value
Type: HcmBenefitType Table
A record from the HcmBenefitType table.
Remarks
This method ignores the date effectivity of the benefit that is associated with the specified HcmBenefitRecId value because we are only concerned with returning the HcmBenefitType record, regardless of whether the benefit is active.