(Click to open topic with navigation)
Synopsis
grefund [-z <amount>] [-f <fund_id>] [-d <description>] [-A] [--filter <filter_name>=<filter_value>]... [--filter-type <filter_type>] [-h, --hours] [--debug] [--site <site_name>] [--help] [--man] [--quiet] [--verbose] [--version] {-J <instance_name>|<job_id> | [-j] <usage_record_id>}
Overview
grefund issues a refund for the specified usage. The command will return a list of usage records if the usage search does not yield a unique match.If you do not specify an amount, MAM will credit the appropriate allocations for the full amount the overall usage was charged. You may specify a lesser amount for a partial refund.
Options
| -A | |
|---|---|
| Format | -A |
| Default | --- |
| Description | When you use filters to select the fund to be refunded, specifies that only active allocations should be considered. |
| -d | |
|---|---|
| Format | -d <description> |
| Default | --- |
| Description | Specifies an explanatory message for the refund. |
| -f | |
|---|---|
| Format | -f <fund_id> |
| Default | --- |
| Description | Specifies the fund to be refunded to. If you omit this, MAM will look in the transaction table to determine to which fund it should deposit the refund. |
| -j | |
|---|---|
| Format | [-j] <usage_record_id> |
| Default | --- |
| Description | Specifies the unique usage record identifier the accounting manager assigns to distinguish between usage with non-unique instance names. |
| -z | |
|---|---|
| Format | -z <amounts> |
| Default | --- |
| Description | Specifies the amount to refund. This amount must be non-negative and less than or equal to the amount charged for the overall usage. |
| --debug | |
|---|---|
| Format | --debug |
| Default | --- |
| Description |
Logs debug information to the screen. |
| --help | |
|---|---|
| Format | --help |
| Default | --- |
| Description |
Displays a brief help message. |
| --man | |
|---|---|
| Format | --man |
| Default | --- |
| Description |
Displays full documentation. |
| --quiet | |
|---|---|
| Format | --quiet |
| Default | --- |
| Description |
Suppresses headers and success messages. |
| --site | |
|---|---|
| Format | --site <site_name> |
| Default | --- |
| Description | Obtains a response from specified site. |
| --verbose | |
|---|---|
| Format | --verbose |
| Default | --- |
| Description |
Displays modified object details. |
| --version | |
|---|---|
| Format | --version |
| Default | --- |
| Description |
Displays the product version. |
Related topics