JmgPayEmployee::find Method
Retrieves a JmgPayEmployee record from the database for the specified pay cost type, worker, and date.
Syntax
client server public static JmgPayEmployee find(
JmgPayCostType _payCostType,
JmgWorkerRecId _worker,
JmgDate _date,
[boolean _forUpdate])
Run On
Called
Parameters
- _payCostType
Type: JmgPayCostType Extended Data Type
The Pay cost type to search for.
- _worker
Type: JmgWorkerRecId Extended Data Type
The ID of the worker to search for
- _date
Type: JmgDate Extended Data Type
The date to search for.
- _forUpdate
Type: boolean
A Boolean value that specifies whether the returned record must be selected for update.
Return Value
Type: JmgPayEmployee Table
A JmgPayEmployee record.
Remarks
The returned JmgPayEmployee record has a date interval, which covers the specified date.