JmgPayCountSum::find Method
Retrieves a JmgPayCountSum record from the database for the specified count unit, worker, and date.
Syntax
client server public static JmgPayCountSum find(
JmgPayCountId _payCountId,
JmgWorkerRecId _worker,
date _date,
[boolean _update])
Run On
Called
Parameters
- _payCountId
Type: JmgPayCountId Extended Data Type
The ID of the count unit to search for.
- _worker
Type: JmgWorkerRecId Extended Data Type
The ID of the worker to search for.
- _date
Type: date
The date to search for
- _update
Type: boolean
A Boolean value that specifies whether to select the selected record for update.
Return Value
Type: JmgPayCountSum Table
A JmgPayCountSum record for the specified count unit, worker, and date.
Exceptions
Exception | Condition |
---|---|
Error | The period that is specified on the count unit does not contain a date interval, which includes the specified date. |