(Click to open topic with navigation)
To generate a fund statement, use the command gstatement. For a specified time frame it displays the beginning and ending balances as well as the total credits and debits to the fund over that period. This is followed by an itemized report of the debits and credits. Summaries of the debits and credits will be displayed instead of the itemized report if the --summarize option is specified. If filter options are specified instead of a fund, then the statement will consist of information merged from all funds valid toward the specified entities.
gstatement [[-f] fund_id] [-n fund_name] [-u user_name] [-g group_name] [-a account_name] [-o organization_name] [-c class_name] [-m machine_name] [--filter filter_name=filter_value]... [--filter-type Exclusive|NonExclusive] [-s start_time] [-e end_time] [--summarize] [-h, --hours] [--debug] [--site site_man] [--help] [--man] [--version]
Example 6-23: Generating a fund statement for all chemistry funds for the fourth quarter of 2013
$ gstatement -a chemistry -s 2013-10-01 -e 2014-01-01
################################# End of Report ################################
$ gstatement -a chemistry -s 2013-10-01 -e 2014-01-01 --summarize
################################################################################
#
# Includes fund 3 (chemistry not amy)
# Includes fund 2 (chemistry for amy)
# Generated on Mon Feb 7 18:44:23 2014.
# Reporting fund activity from 2013-10-01 to 2014-01-01.
#
################################################################################
Beginning Balance: 0
--------------------------- ------------------------------
Total Credits: 90122212
Total Debits: -5308668
--------------------------- ------------------------------
Ending Balance: 84813544
############################### Credit Summary ##################################
Object Action Amount
---------- -------- --------
Fund Deposit 90100000
UsageRecord Refund 22212
############################### Debit Summary ###################################
Object Action Account User Machine Amount Count
------------- --------- --------- ---- -------- ------- -----
UsageRecord Charge chemistry amy colony -19744 239
############################### End of Report ##################################
The fields which are used as default discriminators in the detail section of the gstatement command (which are by default Account, User, and Machine) can be customized by setting the statement.show configuration parameter in gold.conf.
Related topics