Share via


HcmLeaveType::findByLeaveType Method

Finds the specified record in the HcmLeaveType table that is based on the specified value of the LeaveTypeID field.

Syntax

client server public static HcmLeaveType findByLeaveType(
    HcmLeaveTypeId _leaveTypeID, 
   [boolean _forUpdate, 
    ConcurrencyModel _concurrencyModel])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: HcmLeaveType Table
A record in the HcmLeaveType table; otherwise, an empty record.

See Also

Reference

HcmLeaveType Table