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
- _leaveTypeID
Type: HcmLeaveTypeId Extended Data Type
The value of the LeaveTypeID field of the record to find.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
- _concurrencyModel
Type: ConcurrencyModel Enumeration
The concurrency model option to use when reading the record; optional.
Return Value
Type: HcmLeaveType Table
A record in the HcmLeaveType table; otherwise, an empty record.