FaxChange news Content User documentation Administrator documentation Index of terms Technical Support Search on-line

fxCostManager

This program allows easy working with the faxing cost information. Program can export its outputs into MS Excel spreadsheet format (but Excel must be installed on the server where fxCostM is run).
You must archive at least reports about sent faxes to use fxCostManager (see fxCfg) and have activation key for "Statistic and cost manager module", otherwise zero price is calculated.

WARNING: The DEFAULT.XLS autoformatting macro for export into the MS Excel is designed for MS Excel version 97. It will not work with older Excel version.

The CostManager program is used to create tables of users, groups and costcodes (cost groups) containing amounts spent for faxing during specified periods. You can run this program also from the command line with a specific syntax and provide it with the required parameters. If you wish to create a table using a user interface run the program and you will be offered the following options:

costm.gif



Table Parameters

Set parameters of the table that is opened or being created.

You can set a Table Name that is identical with the file name apart from the extension.
Use the Server button to select a server to which the table will be connected.
Use the Time Period button to set a period for which the table will be created.
You can Include all users into the table i.e. even users which didn't send any fax it this period.

back to top of page


Server

Select a name of the server to which you wish to connect.

If you wish to add a new server press the New... button and enter the name of the server.
You can delete a server using the Delete button.
The changes will be written down when you press the OK button.

back to top of page


Time period

costcas.gif (3093 bytes)

Here you can enter the time period for which you wish to create a table.
The time period can be entered as one of the following options:

The program counts from 0 hours 0 minutes 0 seconds of the initial date to the same time of the end date.

back to top of page


Settings

Here you can set a table format, Excel parameters and a file type.
costnastav.gif

Table Format

You can set the text for the First line in table. The %from% and %to% variables are the dates of the table time period. The %server% variable means the server from which the table was created.
Here you can also set a Highlighted Lines Colour.

Excel

Here you can set a name of the XLS file containing a macro to be exported into the Excel. If omitted no macro will be loaded. If you want the macro to be started automatically at a startup call it Auto_Open(). The file with the macro will be loaded after the exported file and you can activate it by using the following command:
Workbooks(Workbooks.Count - 1).Activate

An example of a simple macro used to reformat a table:

Sub Auto_Open()
Workbooks(Workbooks.Count - 1).Activate
Selection.AutoFormat Format:=xlRangeAutoFormatClassic2, Number:=True, Font:=True, Alignment:=True, Border:=True, Pattern:=True, Width:=True
Workbooks(Workbooks.Count).Close SaveChanges:=False
End Sub

Here you can also set the directory where the files will be stored when being exported to Excel.

File Type

If you wish to change the file type used for each table do it here:
*.csv is an Excel file using a comma (semicolon in the Czech national environment) as a column separator.
*.txt is a standard text file using a tabulator as a column separator.
If you have set the Czech national environment in your operating system a comma is a standard decimal separator which is used by some programs (Excel). Therefore it is possible to create tables with a decimal point.
If you have set the Czech national environment in your operating system a comma is a standard decimal separator which is used by some programs (Excel). Therefore it is possible to create tables with a decimal point; columns are separated by a semicolon.

Startup

The application can automatically Create tables processed last and Record (load) tables opened last at startup.

Mail Message

You can create a template for mail message about fax charges here. You can set a subject and a contents for the message. The %from% and %to% variables are dates of the table time period. The %cost% variable means the price of the current item. %server% means the server from which the table was created.

back to top of page


Syntax for the command line

back to top of page