Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Updates JmgPayStatTrans records with the specified amount of seconds, for the specified pay cost type, worker, and date.
Syntax
client server public static void updateSeconds(
JmgPayCostType _jmgPayCostType,
JmgWorkerRecId _worker,
JmgDate _date,
JmgSeconds _seconds)
Run On
Called
Parameters
- _jmgPayCostType
Type: JmgPayCostType Extended Data Type
The pay cost type, which the JmgPayStatTrans records must refer to in order to be updated.
- _worker
Type: JmgWorkerRecId Extended Data Type
The ID of the worker, which the JmgPayStatTrans records must refer to in order to be updated.
- _date
Type: JmgDate Extended Data Type
The date, which the date interval on the JmgPayStatTrans records must contain in order to be updated.
- _seconds
Type: JmgSeconds Extended Data Type
The amount of seconds to add to the balance on the JmgPayStatTrans records.
Exceptions
Exception | Condition |
---|---|
Error | A pay statistics group refers to a period that does not contain any period lines, which contains the specified date. |