Syntax
void
add
(
LimitSum
limitSum
,
final long
amount
,
final int
count
,
final boolean
credit
,
final Date
fromDate
) throws IllegalDataException
Parameters
-
limitSum –
-
amount –
the amount to add
-
count –
the count (usually 1 for regular transactions or -1 for cancels)
-
credit –
true to update the credit sums; false to update the debit sums
-
fromDate –
Usage
Adds the specified amount to the absolute, monthly, weekly and daily sums for credit and debit, respectively.