FRCREDIT
Syntax
FRCREDIT(field name, account reference, criteria, currency)
For a complete parameter description, see FRAMT.
Description
This function is the same as FRAMT, except that it includes only those accounts that have credit amounts — whether or not the account is a DR or a CR type of account. You can also select Use Rolled Up Amounts.
Use the criteria parameter to restrict this function to CR account types.
In the following table, FRCREDIT returns a blank when the value of a debit account is zero or a debit amount, but returns a zero when the value of a credit account is zero.
Command |
Acct. Type |
Value |
FR Display |
FRAMT |
Credit Acct. |
100 CR |
100 |
|
Credit Acct. |
0 |
0 |
|
Debit Acct. |
0 |
0 |
|
Debit Acct. |
100 CR |
-100 |
FRCREDIT |
Credit Acct. |
100 CR |
100 |
|
Credit Acct. |
0 |
0 |
|
Debit Acct. |
100 CR |
100 |
|
Debit Acct. |
100 DR |
blank |
See also