Share via


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

  • _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.

See Also

Reference

HcmBenefitType Table