billing:journal
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| billing:journal [2026/08/18 03:28] – [Purpose] Scott Cunliffe | billing:journal [2026/08/18 03:44] (current) – [See Also] Scott Cunliffe | ||
|---|---|---|---|
| Line 25: | Line 25: | ||
| The TapeTrack Framework Server writes activity to the Journal as TapeTrack operations occur. | The TapeTrack Framework Server writes activity to the Journal as TapeTrack operations occur. | ||
| - | Depending on the installed version and configuration, | + | Depending on the installed version and configuration, |
| - | + | ||
| - | * Volume movements. | + | |
| - | * Storage | + | |
| - | * Repository | + | |
| - | * Deliveries and collections. | + | |
| - | * Customer | + | |
| - | * Media activity. | + | |
| - | * Other operational statistics required for reporting or billing. | + | |
| The exact billing result depends on: | The exact billing result depends on: | ||
| Line 43: | Line 35: | ||
| * The Package Map and Billing Rules used during processing. | * The Package Map and Billing Rules used during processing. | ||
| - | <WRAP note> | ||
| - | The presence of an activity in the Journal does not necessarily mean that it will be billed. The Billing Rules determine which extracted statistics are converted into invoice items. | ||
| - | </ | ||
| ===== Journal Database Location ===== | ===== Journal Database Location ===== | ||
| Line 71: | Line 60: | ||
| * Write the generated '' | * Write the generated '' | ||
| - | ===== Journal Extraction ===== | ||
| - | '' | ||
| - | The extraction should specify the required billing date range. | ||
| - | |||
| - | For example, an extraction containing activity for three Customers may create: | ||
| - | |||
| - | ^ Customer-ID ^ Extract File ^ | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | |||
| - | Each '' | ||
| - | |||
| - | The resulting files are processed using [[cli: | ||
| - | |||
| - | ===== Date Range ===== | ||
| - | |||
| - | The extraction date range determines which Journal records are included in the Customer statistics files. | ||
| - | |||
| - | The date range must: | ||
| - | |||
| - | * Match the approved billing period. | ||
| - | * Begin immediately after the previous billing period. | ||
| - | * Avoid overlapping a previously invoiced period. | ||
| - | * Avoid leaving gaps between billing periods. | ||
| - | * Use the correct server date and time zone. | ||
| - | |||
| - | Example monthly billing periods: | ||
| - | |||
| - | ^ Billing Period ^ Start Date ^ End Date ^ | ||
| - | | January 2026 | '' | ||
| - | | February 2026 | '' | ||
| - | | March 2026 | '' | ||
| - | |||
| - | <WRAP important> | ||
| - | The precise handling of start times, end times and inclusive boundaries must be confirmed for the installed version of '' | ||
| - | </ | ||
| - | |||
| - | ===== Relationship to Billing Files ===== | ||
| - | |||
| - | The Journal is the first data stage in the TapeTrack billing process. | ||
| - | |||
| - | ^ File or Component ^ Purpose ^ | ||
| - | | TapeTrack Framework Server | Records operational activity. | | ||
| - | | Journal | Stores the source activity records. | | ||
| - | | '' | ||
| - | | '' | ||
| - | | Customer Description Map | Maps the Customer-ID to a readable description. | | ||
| - | | Package Map | Selects the Customer' | ||
| - | | Billing Rules | Converts statistics into invoice items and charges. | | ||
| - | | '' | ||
| - | | '' | ||
| - | | XMLQuickBooks Mapping | Maps approved billing XML to QuickBooks customers and items. | | ||
| - | |||
| - | The complete process is: | ||
| - | |||
| - | TapeTrack → Journal → Extract → TTSTATS → Process → Billing XML → QuickBooks Invoice | ||
| ===== Viewing Journal Information ===== | ===== Viewing Journal Information ===== | ||
| - | '' | + | [[cli:TMSS10LogStatsPrintDB]] can be used to print the contents of the Journal database. |
| This utility is useful when: | This utility is useful when: | ||
| Line 144: | Line 76: | ||
| <WRAP note> | <WRAP note> | ||
| - | '' | + | [[cli:TMSS10LogStatsPrintDB]] displays Journal information. It does not create Customer billing XML or QuickBooks invoices. |
| </ | </ | ||
| - | ===== Validation ===== | ||
| - | |||
| - | The Journal and extraction should be validated before production billing is processed. | ||
| - | |||
| - | Check that: | ||
| - | |||
| - | * The correct Journal database is being used. | ||
| - | * The Framework Server recorded activity during the billing period. | ||
| - | * The extraction date range is correct. | ||
| - | * The server date, time and time zone are correct. | ||
| - | * A '' | ||
| - | * The generated files are not unexpectedly empty. | ||
| - | * The extraction process completed without errors. | ||
| - | * The Journal was backed up before any administrative maintenance. | ||
| - | * The extracted quantities are reasonable for the billing period. | ||
| - | |||
| - | A billing control record should include: | ||
| - | |||
| - | ^ Control ^ Example ^ | ||
| - | | Framework Server | Production TapeTrack Server | | ||
| - | | Billing period | '' | ||
| - | | Extraction utility | '' | ||
| - | | Extraction date | '' | ||
| - | | Output directory | '' | ||
| - | | Customer files created | '' | ||
| - | | Extraction status | Completed | | ||
| - | | Reviewer | Authorized billing administrator | | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| - | ==== No TTSTATS Files Are Created ==== | ||
| - | |||
| - | Check that: | ||
| - | |||
| - | * '' | ||
| - | * The correct Journal database was selected. | ||
| - | * Journal records exist within the selected date range. | ||
| - | * The output directory exists. | ||
| - | * The extraction account can read the Journal. | ||
| - | * The extraction account can write to the output directory. | ||
| - | * The date range was entered in the expected format. | ||
| - | |||
| - | ==== Customer TTSTATS File Is Missing ==== | ||
| - | |||
| - | Confirm that: | ||
| - | |||
| - | * The Customer exists in TapeTrack. | ||
| - | * The Customer had Journal activity during the billing period. | ||
| - | * The Customer-ID is correct. | ||
| - | * The extraction covered the complete billing period. | ||
| - | * The file was not moved, renamed or archived. | ||
| - | * The extraction log does not contain an error for the Customer. | ||
| - | |||
| - | A missing Customer file may be valid if the Customer had no relevant Journal activity. This should be confirmed before excluding the Customer from billing. | ||
| - | |||
| - | ==== TTSTATS File Is Empty ==== | ||
| - | |||
| - | Check that: | ||
| - | |||
| - | * Journal activity exists for the Customer. | ||
| - | * The selected date range includes the activity. | ||
| - | * The correct production Journal was processed. | ||
| - | * The server date and time zone are correct. | ||
| - | * The Customer activity is of a type included in the statistics extraction. | ||
| - | |||
| - | ==== Billing Activity Is Missing ==== | ||
| - | |||
| - | Compare: | ||
| - | |||
| - | - The operational event in TapeTrack. | ||
| - | - The corresponding Journal entry. | ||
| - | - The generated '' | ||
| - | - The Billing Rules applied by '' | ||
| - | - The resulting billing XML. | ||
| - | |||
| - | This identifies the stage at which the activity was excluded. | ||
| - | |||
| - | ^ Activity Location ^ Likely Issue ^ | ||
| - | | Missing from TapeTrack | Operational event was not recorded. | | ||
| - | | Present in TapeTrack but missing from Journal | Framework Server or Journal recording issue. | | ||
| - | | Present in Journal but missing from TTSTATS | Extraction date range or extraction issue. | | ||
| - | | Present in TTSTATS but missing from billing XML | Package Map or Billing Rules issue. | | ||
| - | | Present in billing XML but missing from QuickBooks | XMLQuickBooks mapping or import issue. | | ||
| - | |||
| - | ==== Billing Activity Is Duplicated ==== | ||
| - | Check that: | ||
| - | * Extraction date ranges do not overlap. | ||
| - | * The same '' | ||
| - | * The same billing XML was not submitted twice. | ||
| - | * Duplicate Billing Rules are not matching the same statistic. | ||
| - | * Previously processed files were moved to an archive directory. | ||
| ==== Journal Cannot Be Read ==== | ==== Journal Cannot Be Read ==== | ||
| Line 254: | Line 98: | ||
| If the Journal appears damaged or unreadable, contact TapeTrack Support before attempting repairs. | If the Journal appears damaged or unreadable, contact TapeTrack Support before attempting repairs. | ||
| - | ===== Backup and Retention ===== | ||
| - | |||
| - | The Journal supports operational history and billing reconstruction and should be included in the Framework Server backup process. | ||
| - | |||
| - | The backup and retention policy should consider: | ||
| - | |||
| - | * Customer contract requirements. | ||
| - | * Accounting record-retention requirements. | ||
| - | * The ability to reproduce billing statistics. | ||
| - | * Audit and dispute periods. | ||
| - | * Available storage. | ||
| - | * TapeTrack Support recommendations. | ||
| - | * Applicable legal and regulatory requirements. | ||
| - | |||
| - | Retain the following billing records together where possible: | ||
| - | |||
| - | * Billing period details. | ||
| - | * Journal backup or reference. | ||
| - | * Customer '' | ||
| - | * Customer Description Map. | ||
| - | * Package Map. | ||
| - | * Billing Rules. | ||
| - | * Stylesheet. | ||
| - | * Billing XML. | ||
| - | * QuickBooks invoice number. | ||
| - | * Processing and approval logs. | ||
| ===== Recommended Practices ===== | ===== Recommended Practices ===== | ||
| Line 285: | Line 103: | ||
| * Treat the Journal as an authoritative operational record. | * Treat the Journal as an authoritative operational record. | ||
| * Do not manually edit the Journal database. | * Do not manually edit the Journal database. | ||
| - | * Back up the Journal as part of the Framework Server backup. | ||
| * Use non-overlapping billing extraction periods. | * Use non-overlapping billing extraction periods. | ||
| * Record the exact extraction date range. | * Record the exact extraction date range. | ||
| - | * Review extraction logs before processing billing. | ||
| * Investigate missing or empty Customer files. | * Investigate missing or empty Customer files. | ||
| - | * Retain the extracted TTSTATS files with the billing output. | + | * Retain the extracted TTSTATS files with the billing output |
| * Restrict database access to authorized administrators. | * Restrict database access to authorized administrators. | ||
| * Contact TapeTrack Support before attempting Journal repair. | * Contact TapeTrack Support before attempting Journal repair. | ||
| Line 303: | Line 119: | ||
| * TapeTrack administrators. | * TapeTrack administrators. | ||
| * Authorized billing staff requiring access. | * Authorized billing staff requiring access. | ||
| - | * The account running | + | * The account running |
| * The account running authorized backup processes. | * The account running authorized backup processes. | ||
| Line 312: | Line 128: | ||
| * [[cli: | * [[cli: | ||
| * [[object: | * [[object: | ||
| - | * [[billing:customer_ttstats|Customer TTSTATS File]] | + | * [[billing:ttstats|Customer TTSTATS File]] |
| * [[billing: | * [[billing: | ||
| * [[billing: | * [[billing: | ||
| * [[billing: | * [[billing: | ||
| - | * [[billing:tapetrack_xslt|TapeTrack XML Stylesheet]] | + | * [[billing:stylesheet|TapeTrack XML Stylesheet]] |
| * [[billing: | * [[billing: | ||
| * [[billing: | * [[billing: | ||
billing/journal.1787023682.txt.gz · Last modified: 2026/08/18 03:28 by Scott Cunliffe
