TrvCashAdvance::getEmployeeBalance Method
Calculates the cash advance balance for an employee.
Syntax
client server public static AmountCur getEmployeeBalance(TrvHcmWorkerRecId _worker, CurrencyCode _currencyCode)
Run On
Called
Parameters
- _worker
Type: TrvHcmWorkerRecId Extended Data Type
The rec ID of the worker that requested the cash advance.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency of the requested cash advance.
Return Value
Type: AmountCur Extended Data Type
The balance of the cash advance for the employee.