8 Tax Calculation Utilities
In Oracle Communications Billing and Revenue Management (BRM), you can learn about the different tax calculation utilities included.
Topics in this document:
To learn about tax calculation, see "About Calculating Taxes".
load_pin_ar_taxes
Use this utility to load configurable tax information into the /config/ar_taxes object in the BRM database. See "Calculating Taxes for Accounts Receivable Actions".
Location
BRM_home/bin
Syntax
load_pin_ar_taxes [-v] [-h] [-f input_file.xml]
Parameters
- -v
-
Displays information about successful or failed processing as the utility runs.
- -h
-
Displays the utility's syntax and parameters.
- -f input_file.xml
-
Specifies the name and location of the file that defines the configurable tax information. For example: C:\taxconf\adjust_taxes.xml. If you do not specify the -f parameter and a path, load_pin_ar_taxes looks for a file named pin_config_ar_taxes.xml in the directory from which you started the utility.
load_tax_supplier
Use the load_tax_supplier utility to load one or more tax suppliers into the BRM database. See "Creating Tax Suppliers".
Location
BRM_home/bin
Syntax
load_tax_supplier [-d | -v | -t | -h] pin_tax_supplier.xml
Parameters
- -d
-
Creates a log file for debugging purposes. Use this parameter for debugging when the utility appears to have run with no errors, but the data has not been loaded into the database.
- -v
-
Displays information about successful or failed processing as the utility runs.
To redirect the output to a log file, use the following command. Replace filename.log with the name of the log file:
load_tax_supplier pin_tax_supplier.xml –v > filename.log
Note:
If a file with the same name exists, it is overwritten.
- -t
-
Checks the validity of the XML file, but doesn't create an object.
- -h
-
Displays the syntax and parameters for this utility.
- pin_tax_supplier
-
The name and location of the file that defines the tax suppliers. The default pin_tax_supplier.xml file is in BRM_home/setup/scripts.
If you do not run the utility from the directory in which the file is located, you must include the complete path to the file, for example:
load_pin_tax_supplier BRM_home/setup/scripts/pin_tax_supplier.xml
Results
If the load_tax_supplier utility doesn't notify you that it was successful, look in the default.pinlog file to find any errors. This file is either in the directory from which you started the utility or in a directory specified in the utility configuration file.