Initialize service bills

Initialization is the first stage in a new utility bill run. This stage is run only once for a new bill run, and only for utility bills.

The purpose of this stage is to create account activity records for account services so those services can be billed. Infor Public Sector creates account activity records for non-service based charges, such as one-off charges and CDR application fees, as they’re added, but account activities for services are only created at the start of a bill run.

For each account processed, the Initialize Service Bill stage first loads each active service. For each service, the task then evaluates the condition formulas for the bill run’s bill type and for each associated line item to determine if a line item should be created. If a line item is to be created, the task adds a record to the BILLING.ACCOUNTACTIVITY table specifying the account key, the account service key, and the line item setup key.

Invocation

No special action is required to invoke the Initialize Service Bill stage. This stage runs automatically each time you create a new utility bill run.

Monitoring

If the Initialize Service Bills stage is successful, you can expect to see a series of messages similar to these in the Bill Run log:

  • Initialization Phase started.
  • Creating up to [#] activities in AccountActivity.
  • [#] records added in AccountActivity.
  • Initialization Phase ended successfully.

Or:

  • Initialization Phase ended with errors.

In the database, the INITIALIZEPHASEFLAG column in the BILLRUN table is set to Y when this stage is completed.

Data output

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

TableCommentsReview
BILLING. ACCOUNTACTIVITYThe Initialize Service Bill stage adds an account activity record for each service that is to be billed.Account activity records aren’t displayed in the Infor Public Sector interface, so if you want to review them you must get them from the database directly.