cookbook:billing_process_temp
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cookbook:billing_process_temp [2026/08/17 02:16] – created Scott Cunliffe | cookbook:billing_process_temp [2026/08/19 05:12] (current) – [Generate the Invoice XML] Scott Cunliffe | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| - TapeTrack records operational activity in the journal database. | - TapeTrack records operational activity in the journal database. | ||
| - | - '' | + | - [[cli:TMSS10LogStatsExtractDB]] extracts activity for the billing period into a Customer-specific '' |
| - | - '' | + | - [[cli:TMSS10LogStatsProcess]] applies the billing definition and mapping files and creates an XML invoice file. |
| - The TapeTrack QuickBooks Interface imports the XML file and creates an invoice in QuickBooks Desktop. | - The TapeTrack QuickBooks Interface imports the XML file and creates an invoice in QuickBooks Desktop. | ||
| Line 33: | Line 33: | ||
| * A functioning TapeTrack Framework Server with journal activity for the Customer. | * A functioning TapeTrack Framework Server with journal activity for the Customer. | ||
| - | * '' | + | * [[cli:TMSS10LogStatsExtractDB]]. |
| - | * '' | + | * [[cli:TMSS10LogStatsProcess]]. |
| * A billing definition file, normally with the '' | * A billing definition file, normally with the '' | ||
| - | * A Customer description map and, when package-based rules are used, a package map. | + | * A [[billing: |
| * The TapeTrack QuickBooks Interface on a Windows computer with access to QuickBooks Desktop. | * The TapeTrack QuickBooks Interface on a Windows computer with access to QuickBooks Desktop. | ||
| * QuickBooks Customers and Items that match the values which will be produced by the billing rules. | * QuickBooks Customers and Items that match the values which will be produced by the billing rules. | ||
| - | The billing administrator should | + | The billing administrator should have an approved contract or rate schedule that defines: |
| * Which storage locations and media types are billable. | * Which storage locations and media types are billable. | ||
| Line 49: | Line 49: | ||
| * The QuickBooks Customer name or ListID and Item names. | * The QuickBooks Customer name or ListID and Item names. | ||
| - | ===== Create the Customer in TapeTrack ===== | ||
| - | Create the Customer before configuring its billing rules. | ||
| - | |||
| - | - In TapeMaster, right-click the Server Node in the Customer Tree. | ||
| - | - Select '' | ||
| - | - Enter a unique [[object: | ||
| - | - Enter the Customer Description. | ||
| - | - Add the required [[object: | ||
| - | - Add the required [[object: | ||
| - | - Click '' | ||
| - | |||
| - | See [[master: | ||
| - | |||
| - | <WRAP warning> | ||
| - | The Customer-ID is permanent after creation. Select it carefully and record how it maps to the corresponding QuickBooks Customer. | ||
| - | </ | ||
| ===== Define the Customer Billing Profile ===== | ===== Define the Customer Billing Profile ===== | ||
| Line 71: | Line 55: | ||
| Create and approve a billing profile before editing the billing configuration. | Create and approve a billing profile before editing the billing configuration. | ||
| - | ^ Setting ^ Customer value ^ Example ^ | + | ^ Setting |
| - | | TapeTrack Customer-ID | // | + | | TapeTrack Customer-ID |
| - | | TapeTrack Customer Description | // | + | | TapeTrack Customer Description |
| - | | QuickBooks Customer reference | // | + | | QuickBooks Customer reference |
| - | | QuickBooks reference type | FullName or ListID | '' | + | | QuickBooks reference type |
| - | | Billing package | Optional | '' | + | | Billing package |
| - | | Billable Media-ID values | // | + | | Billable Media-ID values |
| - | | Billable Repository-ID values | // | + | | Billable Repository-ID values |
| - | | Storage basis | Total, high-water, or low-water | '' | + | | Storage basis |
| - | | Rounding increment | Contract value | '' | + | | Rounding increment |
| - | | Minimum quantity | Contract value | '' | + | | Minimum quantity |
| - | | Included threshold | Contract value | '' | + | | Included threshold |
| - | | Maximum quantity | Contract value | '' | + | | Maximum quantity |
| - | | QuickBooks Item names | // | + | | QuickBooks Item names |
| - | | Fixed charges | Optional | Monthly account fee | | + | | Fixed charges |
| Store the approved profile with the billing configuration so that a later rule change can be traced to a contract requirement. | Store the approved profile with the billing configuration so that a later rule change can be traced to a contract requirement. | ||
| Line 97: | Line 81: | ||
| <file - Customer.ttmap> | <file - Customer.ttmap> | ||
| # TapeTrack Customer-ID | # TapeTrack Customer-ID | ||
| - | A099 ACME Data Services | + | US03 North Carolina |
| </ | </ | ||
| - | When '' | + | When [[cli:TMSS10LogStatsProcess]] is run with the '' |
| <WRAP important> | <WRAP important> | ||
| Line 108: | Line 92: | ||
| ==== Package Map ==== | ==== Package Map ==== | ||
| - | Create a package map when the billing definition filters rules by package. The package assigned to the Customer must match the package filter in the applicable billing rules. | + | Create a [[billing: |
| - | If the Customer does not use package-based filtering, confirm whether the site's standard package map or wildcard rules should apply. | + | If the Customer does not use package-based filtering, confirm whether the site's standard |
| ===== Configure Billing Rules ===== | ===== Configure Billing Rules ===== | ||
| Line 152: | Line 136: | ||
| </ | </ | ||
| - | The following example bills Customer '' | + | The following example bills Customer '' |
| - | <file - A099.ttsdef> | + | <file - US01.ttsdef> |
| - | AddStorageChargeItem(" | + | AddStorageChargeItem(" |
| - | 50, 0, 0, 0, 1, | + | 10, 0, 0, 0, 1, |
| - | " | + | " |
| - | " | + | " |
| </ | </ | ||
| Line 164: | Line 148: | ||
| * '' | * '' | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| * Model '' | * Model '' | ||
| * '' | * '' | ||
| Line 188: | Line 172: | ||
| | Storage | Daily total | Real high-water | Real low-water | 3 = slot total; 4 = slot high-water; 5 = slot low-water | | | Storage | Daily total | Real high-water | Real low-water | 3 = slot total; 4 = slot high-water; 5 = slot low-water | | ||
| | Movement | Total movements | Movement high-water | Movement low-water | Not applicable | | | Movement | Total movements | Movement high-water | Movement low-water | Not applicable | | ||
| - | | Inventory | Total inventory | Inventory high-water | Inventory low-water | Not applicable | | + | | Inventory |
| | Journal | Total quantity | Journal high-water | Journal low-water | Not applicable | | | Journal | Total quantity | Journal high-water | Journal low-water | Not applicable | | ||
| Line 214: | Line 198: | ||
| Create a dedicated test output directory and run the extractor for a known date range. The following command is a template; replace every value in angle brackets with the value required by the installed environment: | Create a dedicated test output directory and run the extractor for a known date range. The following command is a template; replace every value in angle brackets with the value required by the installed environment: | ||
| - | <code> | + | <file bat runExtraction.bat> |
| - | TMSS10LogStatsExtractDB | + | TMSS10LogStatsExtractDB |
| - | -h < | + | </file> |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | </code> | + | |
| Use '' | Use '' | ||
| Line 229: | Line 208: | ||
| </ | </ | ||
| - | The extractor creates '' | + | The extractor creates '' |
| * The first line is a '' | * The first line is a '' | ||
| Line 243: | Line 222: | ||
| Process the Customer statistics file with the approved definition and maps: | Process the Customer statistics file with the approved definition and maps: | ||
| - | <code> | + | <file bat runCreateXML.bat> |
| - | TMSS10LogStatsProcess | + | TMSS10LogStatsProcess -i < |
| - | | + | </file> |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | </code> | + | |
| Omit '' | Omit '' | ||
cookbook/billing_process_temp.1786932996.txt.gz · Last modified: 2026/08/17 02:16 by Scott Cunliffe
