FRTRNCR Function

This function is similar to FRCREDIT Function, and retrieves net totals (credit amounts only) from transactions. It retrieves actual values and summary totals (by both account and transaction fields), and allows drill down to associated transactions.

Note: This function cannot retrieve budget or provisional amounts, calculate balances, or include rollup amounts or totals.

Syntax

FRTRNCR(field name, account reference, criteria, currency)

Tip: Use the criteria argument to restrict this function to credit (CR) transactions.

Arguments

Argument Description
field name

The name of a field from the General Ledger fiscal sets with an optional fiscal designator prefix and optional fiscal year suffix (separated from the field name with a period).

The fiscal designator prefix can be:

  • A. Actual amount
  • Q. Quantities
  • QA. Actual quantities

Note: If no prefix is supplied, the default report setting is used (actual).

The fiscal year suffix can be:

  • YYYY. A specific fiscal year, such as 2010
  • Ln. n years ago relative to the current fiscal year; for example, L1 is last year, and L2 is 2 years ago
  • Nn. n years in the future relative to the current fiscal year; for example, N1 is next year, and N2 is the year after next

Note: If no suffix is supplied, the current fiscal year is used.

account reference A string specifying a single account or a range of accounts. See About Account Number References.
criteria (Optional) An expression that imposes selection criteria on the accounts and on transaction fields, including account and transaction optional fields. The account reference and expression together determine the accounts and additional data that will be included in the calculation. See About Selection Criteria for Filtering Accounts.
currency (Optional)

A string containing the currency reference. A currency reference has the form "CCC.T," where CCC is a 3-character currency code (for example, CAD for Canadian dollars, or USD for US dollars), and T is the currency type.

The currency type can be:

  • S. Source currency
  • E. Equivalent source amount in the functional currency
  • F. Functional currency total (including functional equivalents of all source amounts)
  • R. Reporting currency total
    • If the currency code is functional, R includes reporting equivalents of all source amounts.
    • If the currency code is not functional, R provides equivalent amounts in the reporting currency.

Note: If no currency is supplied, functional (home) currency is used.