TMSS10LogStatsProcess

From TapeTrack Wiki

Jump to: navigation, search

Contents

[edit] Overview

[edit] Platforms

TMSS10LogStatsProcess is available on the following Platforms:


File: TMSS10LogStatsProcess
[root@tms root]# TMSS10LogStatsProcess
TMSS0001N-13:50:25 TMSS10LogStatsProcess (c) TapeTrack Pty Ltd 1999-2006
TMSS0002N-13:50:25 Compiled Feb 19 2007
TMSS0006N-13:50:25 Running Under Linux (2.6.3-4mdksecure) on platform i686
TMSS0004N-13:50:25 Today is Thursday, July 19, 2007
TMSS0005N-13:50:25 Running on tms.tapetrack.com
TMSS0006N-13:50:25 Process ID 20961
TMSS0002N-13:50:25 Program Options:
TMSS0002N-13:50:25      (M) Customer Description Map File=
TMSS0002N-13:50:25      (c) Config File=default.ttsdef
TMSS0002N-13:50:25      (i) Input TTSTATS file=
TMSS0001N-13:50:25 Opening Configuration File file: default.ttsdef
TMSS0001E-13:50:25 Error opening file: No such file or directory
TMSS9997N-13:50:25 Program Complete
TMSS9998N-13:50:25 Elapsed time 0 minutes and 0 seconds

[edit] The Config File

File: Example default.ttsdef
#
# AddStorageCharge( Package Filter,  <-- Package Filter
#                   Customer Filter, <-- Customer Filter value e.g. ACME or AC*
#                   Media Filter,    <-- Media Filter value e.g. DL or D* or !(AI)
#                   Rep Filter,      <-- Repository filter e.g. OFFS
#                   Round Up Factor, <-- Round up factor e.g. if 10 number will be rounded up to nearest 10
#                   Minumum Units,   <-- Minimum units to bill
#                   Threshold,       <-- Theshold value, only totals over this value are billed
#                   Cap,             <-- Cap Value
#                   Model,           <-- Model number
#                   Item Code,       <-- Item code string
#                   Customer,        <-- Customer string
#                   Description,     <-- Description string
#                   Cost,            <-- Cost in cents
#                   Continue         <-- continue on and bill next item if appropriate (0=No, !0=Yes)
#                  );
#
# AddMovementCharge( Package Filter,  <-- Package Filter
#                    Customer Filter, <-- Customer Filter value e.g. ACME or AC*
#                    Media Filter,    <-- Media Filter value e.g. DL or D* or !(AI)
#                    From Rep Filter, <-- Repository filter e.g. OFFS
#                    To Rep Filter,   <-- Repository filter e.g. LIBR
#                    Round Up Factor, <-- Round up factor e.g. if 10 number will be rounded up to nearest 10
#                    Minumum Units,   <-- Minimum units to bill
#                    Threshold,       <-- Theshold value, only totals over this value are billed
#                    Cap,             <-- Cap Value
#                    Model,           <-- Model number
#                    Item Code,       <-- Item code string
#                    Customer,        <-- Customer string
#                    Description,     <-- Description string
#                    Cost,            <-- Cost in cents
#                    Continue         <-- continue on and bill next item if appropriate (0=No, !0=Yes)
#                   );
#
# AddJournalCharge( Package Filter,   <-- Package Filter
#                   Customer Filter,  <-- Customer Filter value e.g. ACME or AC*
#                   Journal Filter,   <-- Journal Filter value e.g. 000001
#                   Round Up Factor,  <-- Round up factor e.g. if 10 number will be rounded up to nearest 10
#                   Minumum Units,    <-- Minimum units to bill
#                   Threshold,        <-- Theshold value, only totals over this value are billed
#                   Cap,              <-- Cap Value
#                   Model,            <-- Model number
#                   Item Code,        <- Item code string
#                   Customer,         <-- Customer string
#                   Description,      <-- Description string
#                   Cost,             <-- Cost in cents
#                   Continue          <- continue on and bill next item if appropriate (0=No, !0=Yes)
#                  );
#
AddAppendFile("Package_Lite",     "*", "Lite_Extras.txt");
AddAppendFile("Package_Standard" ,"*", "Standard_Extras.txt");
AddAppendFile("Package_Ultimate" ,"*", "Ultimate_Extras.txt");
#
AddStorageChargeItem("*", "*", "TMS", 0, 0, 00000, 00000, 0, "$CUSTOMER2", "QUICKBOOKS_STORAGE", "Onsite Inventory Charge", 1, 1);
AddStorageChargeItem("*", "*", "TMS", 0, 0, 20000, 00000, 0, "$CUSTOMER2", "QUICKBOOKS_STORAGE", "Overhang Storage Charge", 5, 1);
AddStorageChargeItem("*", "*", "TMS", 0, 0, 10000, 10000, 0, "$CUSTOMER2", "QUICKBOOKS_STORAGE", "Extra Storage $CUSTOMER Charge", 8, 1);
AddStorageChargeItem("*", "*", "TMS", 0, 0, 00000, 10000, 0, "$CUSTOMER2", "QUICKBOOKS_STORAGE", "Basic Storage Charge", 10, 1);
#
AddMovementChargeItem("*", "*", "INIT", "TMS", 0, 0, 0, 0, 0, "$CUSTOMER2", "QUICKBOOKS_INIT", "Barcode Charge", 100, 1);
AddMovementChargeItem("*", "*", "*",    "TMS", 0, 0, 0, 0, 0, "$CUSTOMER2", "QUICKBOOKS_MOVEMENT", "Movement Charge", 10, 1);
#
AddJournalChargeItem("*", "00001", 0, 0, 00000, 10000, 0, "$CUSTOMER2", "QUICKBOOKS_JOURNAL", "Basic Journal", 10, 1);

[edit] The Customer Map

File: Example Customer-Map.txt
ACME               ACME Computers Inc.
ABC*               ABC Finance Corp.
*(KFC|TACO)        Yum Foods.

[edit] The Package Map

File: Example Package-Map.txt
ACME           Package_Lite
*(KFC|TACO)    Package_Ultimate
ABC*           Package_Standard

[edit] Samlpe Style Sheet

Template:XSL Style Sheet

Personal tools