(Click to open topic with navigation)
A withdrawal can be used to debit a fund without being associated with the usage charge from some item. To issue a withdrawal, use the command gwithdraw:
gwithdraw [-f fund_id] [-i allocation_id] [-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] [-d description] [-h, --hours] [--debug] [--site site_name] [--help] [--man] [--quiet] [--verbose] [--version] {[-z] amount}
Example 6-19: Making a withdrawal
$ gwithdraw -z 12800 -f 1 -d "Grid Tax"
Successfully withdrew 12800 credits from fund 1
Example 6-20: Making a withdrawal "from" an account
If an account has a single fund then a withdrawal can be made against the account.
$ gwithdraw -z 12800 -a biology
Successfully withdrew 12800 credits from fund 1
If more than one fund exists for the account or filter, you will be asked to be more specific:
$ gwithdraw -z 12800 -a chemistry
Multiple funds were matched for the withdrawal.
Please respecify using one of the following fund ids:
2 [chemistry for amy]
3 [chemistry not amy]
Related topics