Output bills

Outputs bills to be sent to customers, either by mail or email. At this stage the Bill Run Schedule creates a correspondence schedule, and the bill output is then handled by the Correspondence Schedule task.

Note: Because bill output can be a lengthy process, you may want to make some modifications to your system to improve the performance.

See Bill output performance tuning.

Invocation

You can output bills when you create a new bill run by selecting the Output Bills check box in the Batch Manager form, the Billing Calendar, or the Create Bill Run form.

To output bills from the console application, use the OutputBills parameter. For example, to post and output bills for a new bill run right after the bills are calculated, you would enter this command:

Hansen.Core.BatchManager.Console.exe -n:BillRun -p PostBills=True OutputBills=True

To output bills for an existing bill run from the console, use the --reinvoke command, as in this example:

Hansen.Core.BatchManager.Console.exe -n:BillRun --reinvoke -p OutputBills=True

To output bills from the Bill Run InfoViewer, select the Output Bills check box and click Generate.

Monitoring

There are no log entries during this stage. In the BILLRUN table, the OUTPUTTINGFLAG column is set to Y while this stage is running. When the stage is finished, the OUTPUTTINGFLAG column is set back to N.

This stage also adds a record to the BILLRUNACTIVITY table with ACTIVITYTYPE = 4 (OutputBills).

Data output

This table lists the database tables in which this stage adds or updates records:

TableCommentsReview
CORE.CORRESPONDENCE. CORRSCHEDULEThe CORRSCHEDULE table stores information on correspondence that is ready to be created or sent.Lookup Correspondence Schedule