billing:stylesheet
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| billing:stylesheet [2026/08/18 02:47] – [File Format] Scott Cunliffe | billing:stylesheet [2026/08/18 02:56] (current) – [XML Displays as Unformatted Text] Scott Cunliffe | ||
|---|---|---|---|
| Line 40: | Line 40: | ||
| ===== File Location ===== | ===== File Location ===== | ||
| - | The '' | + | The '' |
| - | + | ||
| - | For ease of administration, | + | |
| Example Windows location: | Example Windows location: | ||
| Line 52: | Line 50: | ||
| / | / | ||
| - | The location of the stylesheet can be supplied to '' | + | The location of the stylesheet can be supplied to '' |
| - | If the '' | ||
| - | tapetrack.xslt | ||
| - | <WRAP important> | ||
| - | The XML file must be able to locate the stylesheet. If a relative stylesheet reference is used, the stylesheet will normally need to be stored in the same directory as the billing XML or at the relative location specified in the XML. | ||
| - | </ | ||
| ===== File Format ===== | ===== File Format ===== | ||
| - | The TapeTrack stylesheet is an XSLT file containing XML-formatted transformation instructions. | + | The TapeTrack stylesheet is an XSLT file containing XML-formatted transformation instructions. |
| - | + | ||
| - | The file normally uses the '' | + | |
| - | + | ||
| - | A billing XML file references the stylesheet using an XML processing instruction. | + | |
| Example: | Example: | ||
| - | |||
| - | <code xml> | ||
| - | <?xml version=" | ||
| - | <? | ||
| - | < | ||
| - | ... | ||
| - | </ | ||
| - | </ | ||
| In this example, the billing XML expects to find a stylesheet named '' | In this example, the billing XML expects to find a stylesheet named '' | ||
| - | |||
| - | A basic stylesheet may contain: | ||
| <file xml tapetrack.xslt> | <file xml tapetrack.xslt> | ||
| Line 144: | Line 123: | ||
| The stylesheet reads each '' | The stylesheet reads each '' | ||
| - | ===== Running TMSS10LogStatsProcess ===== | ||
| - | |||
| - | Use the '' | ||
| - | |||
| - | Example: | ||
| - | |||
| - | TMSS10LogStatsProcess -i US01.ttstats -M customer_map.txt -P package_map.txt -c default.ttsdef -X tapetrack.xslt > Billing_US01.xml | ||
| - | |||
| - | Where: | ||
| - | |||
| - | ^ Argument ^ Value ^ Description ^ | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | Standard output | '' | ||
| - | |||
| - | The resulting XML contains a reference similar to: | ||
| - | |||
| - | <code xml> | ||
| - | <? | ||
| - | </ | ||
| - | |||
| - | If the stylesheet is not stored in the current directory, specify the required path. | ||
| - | |||
| - | Example: | ||
| - | |||
| - | TMSS10LogStatsProcess ^ | ||
| - | -i " | ||
| - | -M " | ||
| - | -P " | ||
| - | -c " | ||
| - | -X " | ||
| - | > " | ||
| - | |||
| - | ===== Relationship to Billing XML ===== | ||
| - | |||
| - | The billing XML contains the calculated values. | ||
| - | |||
| - | Example: | ||
| - | |||
| - | <code xml> | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | The stylesheet determines how these values are displayed. | ||
| - | |||
| - | ^ XML Element ^ Displayed Value ^ | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | | '' | ||
| - | |||
| - | Changing the stylesheet may change headings, colors, number formatting or layout. It does not change the values stored in the XML. | ||
| - | |||
| - | <WRAP note> | ||
| - | The billing XML remains the authoritative billing output. The stylesheet is only a presentation layer. | ||
| - | </ | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
| - | ==== XML Displays as Unformatted Text ==== | ||
| - | Check that: | ||
| - | |||
| - | * The XML contains an '' | ||
| - | * The stylesheet filename is spelled correctly. | ||
| - | * The stylesheet exists at the referenced location. | ||
| - | * The Desktop UI or browser has permission to read the stylesheet. | ||
| - | * The stylesheet is valid XML. | ||
| - | * The stylesheet uses the correct XSLT namespace. | ||
| - | * The application supports XSLT processing. | ||
| ==== Stylesheet Cannot Be Found ==== | ==== Stylesheet Cannot Be Found ==== | ||
| Line 240: | Line 139: | ||
| * The billing process is not referencing an old stylesheet location. | * The billing process is not referencing an old stylesheet location. | ||
| - | ==== Billing Information Is Missing From the Display ==== | ||
| - | |||
| - | The information may exist in the XML but not be selected by the stylesheet. | ||
| - | |||
| - | Check that: | ||
| - | |||
| - | * The expected elements exist in the billing XML. | ||
| - | * The stylesheet uses the correct element names. | ||
| - | * The '' | ||
| - | * The '' | ||
| - | * The stylesheet was designed for the current billing XML format. | ||
| - | |||
| - | Example selection path: | ||
| - | |||
| - | <code xml> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ==== Billing Values Are Incorrect ==== | ||
| - | |||
| - | The stylesheet does not calculate billing values. | ||
| - | |||
| - | Check the following billing inputs instead: | ||
| - | * The '' | ||
| - | * The Customer Description Map. | ||
| - | * The Package Map. | ||
| - | * The Billing Rules. | ||
| - | * The selected billing date range. | ||
| - | <WRAP important> | ||
| - | Changing '' | ||
| - | </ | ||
| - | ==== Desktop UI Does Not Load the XML ==== | ||
| - | Check that: | ||
| - | * The billing XML is complete and valid. | ||
| - | * The XML file has not been truncated. | ||
| - | * The stylesheet is accessible. | ||
| - | * The XML encoding is supported. | ||
| - | * The XMLQuickBooks mapping matches the XML elements. | ||
| - | * The Desktop UI has permission to read both files. | ||
| ===== Recommended Practices ===== | ===== Recommended Practices ===== | ||
billing/stylesheet.1787021222.txt.gz · Last modified: 2026/08/18 02:47 by Scott Cunliffe
