TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cookbook:billing_process_temp

Differences

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

Link to this comparison view

cookbook:billing_process_temp [2026/08/17 02:16] – created Scott Cunliffecookbook:billing_process_temp [2026/08/18 00:59] (current) – [Storage Rule Example] Scott Cunliffe
Line 154: Line 154:
 The following example bills Customer ''A099'' for high-water storage of ''LT'' media in repository ''COV'', rounded to the next 50 units: The following example bills Customer ''A099'' for high-water storage of ''LT'' media in repository ''COV'', rounded to the next 50 units:
  
-<file - A099.ttsdef> +<file - US01.ttsdef> 
-AddStorageChargeItem("*", "A099", "LT", "COV", +AddStorageChargeItem("*", "US01", "LTO", "OFFS", 
-                     50, 0, 0, 0, 1, +                     10, 0, 0, 0, 1, 
-                     "$CUSTOMER2", "A - Storage:QBROTATIONBOX",+                     "$CUSTOMER2", "A - Storage:QBRACKSTORAGE",
                      "LT media storage", 0, 0);                      "LT media storage", 0, 0);
 </file> </file>
Line 164: Line 164:
  
   * ''*'' allows any package.   * ''*'' allows any package.
-  * ''A099'' restricts the rule to one Customer. +  * ''US01'' restricts the rule to one Customer. 
-  * ''LT'' and ''COV'' select the Media-ID and Repository-ID. +  * ''LTO'' and ''OFFS'' select the Media-ID and Repository-ID. 
-  * ''50'' rounds a non-zero quantity up to the next group of 50.+  * ''10'' rounds a non-zero quantity up to the next group of 10.
   * Model ''1'' selects real high-water storage.   * Model ''1'' selects real high-water storage.
   * ''$CUSTOMER2'' outputs the mapped QuickBooks Customer name.   * ''$CUSTOMER2'' outputs the mapped QuickBooks Customer name.
cookbook/billing_process_temp.txt · Last modified: 2026/08/18 00:59 by Scott Cunliffe