The Package Map file maps a TapeTrack Customer-ID to the billing package that applies to that Customer.
The map is used by TMSS10LogStatsProcess when processing TapeTrack statistics (.ttstats) files for billing.
The Package Map allows different Customers to use different billing rates and calculation rules while being processed through the same billing configuration.
For example, Customer US01 may use the STANDARD package, while Customer US02 uses the PREMIUM package.
The Package Map does not define the rates or billing calculations. These are defined in the Billing Rules.
The Package Map provides a consistent relationship between a TapeTrack Customer-ID and the approved billing package assigned to that Customer.
The file can be used to:
.ttstats file.The Package Map can be stored in any directory accessible to the account running the billing process.
For ease of administration, it is recommended that all approved billing configuration files are stored in a dedicated directory.
Example Windows location:
C:\Program Files\TapeTrack\TapeTrack Framework Server\etc\billing\package.txt
Example Linux location:
/etc/tapetrack/billing/package.txt
The location of the file is supplied to TMSS10LogStatsProcess using the -P argument.
The Package Map is a plain-text file.
Each mapping contains:
The general format is:
CUSTOMER-ID Package Name
Example:
| Customer-ID | Billing Package |
|---|---|
US01 | STANDARD |
US02 | PREMIUM |
When a billing record contains Customer-ID US01, the billing processor selects the STANDARD package and applies the corresponding Billing Rules.
The following example contains two TapeTrack Customers.
# # TapeTrack Billing Package Map # # Format: # CUSTOMER-ID Package Name # US01 STANDARD US02 PREMIUM
Lines beginning with a hash character (#) are comments and are ignored during processing.
Comments should be used to document:
The package name must correspond to a package defined in the Billing Rules.
For example:
| Customer-ID | Package Map Value | Billing Rules Package |
|---|---|---|
US01 | STANDARD | STANDARD |
US02 | PREMIUM | PREMIUM |
Check that:
-P argument has been included..ttstats file.Confirm that:
The Package Map may select the correct package while the rates defined in the Billing Rules are incorrect.
Check both configurations:
The Package Map and Billing Rules are separate configuration stages. The Package Map selects the package, while the Billing Rules define the charges belonging to that package.
Check that:
.ttstats file contains billable activity.The Package Map does not normally contain passwords or authentication details. However, it contains commercial information about the billing arrangements assigned to Customers.
Access should therefore be restricted to:
The file should not be publicly accessible or stored in an unsecured shared directory.