billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Name

send_statements — Send Statements to customers

Synopsis

/usr/local/billmax/bin/send_statements [-n] [-s] [-b NumberOfStatements] [-d date] [-F] {[-e] | [-f] | [-p]} [-E] [-o] [-g] [-P printer] [-h] [-t]

DESCRIPTION

Send Statements to customers. In reality, this program simply executes processes that may or may not actually send Statements to a customers.

Using the value in /usr/local/billmax/logs/send_statements.state, send_statements looks in /usr/local/billmax/statements for directories that are named with a date younger than the value in /usr/local/billmax/logs/send_statements.state.

It is recommended that if non-monthly based statement processing is to be done, that the -g be specified.

send_statements using the following processes for the following values for account.invmethod:

Invmethod Process Notes
EMAIL globalconf.pathsendmail Emails messages are queued up, not sent immediately. Assuming that globalconf.pathsendmail references sendmail and that sendmail is running as a Daemon, the messages will be sent the next time the Daemon processes the queue.
POSTAL globalconf.pathlpr May generate a single printjob, a print job for each Statement, or multiple print jobs containing groups of Statements
FAX globalconf.pathlpr Without customization, the only difference between invmethods "FAX" and "POSTAL" is the burst page.

OPTIONS

-n

Do not print a burst page.

-s

If creating a print job, process all Statements as a single print job.

-b NumberOfStatements

Group NumberOfStatements Statements together into multiple print jobs.

-d date

Process the Statements for date.

-F

Process all files, even those that may have been previously processed.

-e

Process email Statements.

-E

Process Statements through DataBill™.

-f

Process fax Statements.

-p

Process postal Statements.

-o

Process only the day after that specified in /usr/local/billmax/logs/send_statements.state.

-g

Process Statements through the current date. The default is to process the Statements through yesterday. If specified, make_statements should also be executed with the -g.

-P printer

Specify the printer for FAX and POSTAL Statements.

-h

Show help for this program.

-t

Dry run. Prints out the commands that will be executed.

RETURN VALUE

System value EX_OK for success.

NOTES

NONE

SEE ALSO

make_statements


Document Revision A for BillMax 2.2.0   -   Copyright © 1997-2006 The iSpark Group, Inc.

All rights reserved. No part of this documentation may be reproduced or transmitted in any fashion without written permission by The iSpark Group, Inc. This documentation is for the sole use of licensees of the BillMax billing software created by The iSpark Group, Inc. Making the documentation available to a non-licensee of BillMax without written permission of The iSpark Group, Inc. is a violation of the use of this documentation.

While precautions have been taken in the preparation of this documentation, The iSpark Group, Inc. assumes neither liability nor responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

All terms mentioned that are known to be trademarks have been appropriately capitalized. Use of the a trademark does not affect the validity of any trademark or service mark.

Links to third-party Web sites are provided for convenience. The iSpark Group, Inc. is not responsible for any content contained in the third-party Web sites.

Comments about this documentation may be sent to doc@billmax.com