TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


billing:billing_rules

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
billing:billing_rules [2026/08/19 02:12] Scott Cunliffebilling:billing_rules [2026/08/19 02:29] (current) – [Pricing] Scott Cunliffe
Line 5: Line 5:
 Rules are stored in a billing definition file, normally with the ''.ttsdef'' extension. Each rule filters a set of operational records, calculates a billable quantity, and writes an XML ''<item>'' for QuickBooks. Rules are stored in a billing definition file, normally with the ''.ttsdef'' extension. Each rule filters a set of operational records, calculates a billable quantity, and writes an XML ''<item>'' for QuickBooks.
  
-<WRAP important> 
-Always run ''TMSS10LogStatsProcess -l'' and compare the displayed signatures with the rules before deploying a new definition. The installed utility is the authoritative source for the version in use. 
-</WRAP> 
  
 ===== How Rules Are Selected ===== ===== How Rules Are Selected =====
Line 45: Line 42:
 The supplied definitions demonstrate these common filter patterns: The supplied definitions demonstrate these common filter patterns:
  
-^ Filter ^ Meaning ^ +^ Filter                   ^ Meaning                                         
-| ''"*"'' | Match any value. | +| ''"*"''                  | Match any value.                                
-| ''"US01"'' | Match the exact value ''US01''. | +| ''"US01"''               | Match the exact value ''US01''                
-| ''"Tape*"'' | Match values beginning with ''Tape''. | +| ''"Tape*"''              | Match values beginning with ''Tape''          
-| ''"B*"'' | Match values beginning with ''B''. | +| ''"B*"''                 | Match values beginning with ''B''             
-| ''"*(LT|DL|LTO)"'' | Match one of the grouped Media-ID values. | +| ''"*(LT|DLT|LTO)"''      | Match one of the grouped Media-ID values.       
-| ''"*(COV|RVLT|OFFS)"'' | Match one of the grouped Repository-ID values. | +| ''"*(LIBR|RACK|OFFS)"''  | Match one of the grouped Repository-ID values.  
-| ''"!(HOLD)"'' | Match any value except ''HOLD''. | +| ''"!(HOLD)"''            | Match any value except ''HOLD''               
-| ''"!(US02|US03)"'' | Match any value except the listed values. |+| ''"!(US02|US03)"''       | Match any value except the listed values.       |
  
 <WRAP warning> <WRAP warning>
Line 295: Line 292:
 Append files may be used for fixed fees, recurring charges, credits, or Customer-specific contract items. Append files may be used for fixed fees, recurring charges, credits, or Customer-specific contract items.
  
-<WRAP warning> 
-Append-file content is written directly into the processor output. Keep every append file under version control and validate the resulting XML before import. 
-</WRAP> 
  
 ===== Output Variables ===== ===== Output Variables =====
Line 327: Line 321:
 When cost is zero, the QuickBooks Interface omits the ''Rate'' element. QuickBooks may then use the default rate configured for the referenced Item. When cost is zero, the QuickBooks Interface omits the ''Rate'' element. QuickBooks may then use the default rate configured for the referenced Item.
  
-<WRAP warning>+ 
 +<WRAP tip>
 Do not assume that a zero cost makes an item free. Use no matching rule for free activity, or verify the intended pricing behavior in a QuickBooks test company. Do not assume that a zero cost makes an item free. Use no matching rule for free activity, or verify the intended pricing behavior in a QuickBooks test company.
 </WRAP> </WRAP>
Line 377: Line 372:
 Before approving a definition: Before approving a definition:
  
-  * Run ''TMSS10LogStatsProcess -l'' and confirm every signature. 
   * Confirm the package map assigns the Customer to the expected package.   * Confirm the package map assigns the Customer to the expected package.
   * Confirm Customer, Media-ID, and Repository-ID values match TapeTrack exactly.   * Confirm Customer, Media-ID, and Repository-ID values match TapeTrack exactly.
Line 410: Line 404:
   * [[object:customer|Customer Object]]   * [[object:customer|Customer Object]]
  
 +
 +{{tag> billing}}
  
billing/billing_rules.1787105527.txt.gz · Last modified: 2026/08/19 02:12 by Scott Cunliffe