TrvCashAdvance::updateBalance Method
Updates the balance of the cash advance.
Syntax
client server public static Map updateBalance(
TrvHcmWorkerRecId _workerId,
CurrencyCode _currency,
AmountCur _amount,
TrvDestination _destination)
Run On
Called
Parameters
- _workerId
Type: TrvHcmWorkerRecId Extended Data Type
The record ID of the worker.
- _currency
Type: CurrencyCode Extended Data Type
The currency code.
- _amount
Type: AmountCur Extended Data Type
The amount that is being returned.
- _destination
Type: TrvDestination Extended Data Type
The destination.
Return Value
Type: Map Class
A map that contains the cash advance numbers along with the corresponding reduction.