Technical Implementation Of Online Bill Images

Users can view an image of any bill that is sent to a customer on Bill - Main if you set up the following:

  • Plug-in an Online Bill Display construction algorithm on the Installation Record.
  • Plug-in the appropriate bill extract algorithm on each Bill Route Type.

The system provides algorithms that interact with bill print software that renders an image of the bill in a PDF. The following points describe what takes place when clicking Display Bill when these sample algorithms are used.

  • The sample Online Bill Display algorithm ONLN-BL-DSP is executed.
  • This algorithm calls the bill extract algorithm for an appropriate bill route type (as determined by the algorithm). The sample bill extract algorithm BLEX-EX constructs the information that appears on the bill and returns it to the Online Bill Display algorithm. This algorithm, in turn, passes it to your bill print software.
Fastpath: Refer to The Doc 1 Records for examples of the record layouts passed to the Doc 1 print software.
  • Your bill print software renders an image of the bill in a PDF and returns it to the Online Bill Display algorithm.
  • And finally, the system displays the PDF in a separate browser session. Note that the client must have Adobe Acrobat Reader installed to view PDF files.

The system provides algorithms that interact with BI Publisher or Crystal Reports to render an online image of your bill. The following points describe what takes place when clicking Display Bill when these sample algorithms are used.

  • The sample Online Bill Display algorithm C1-ONLIN-CR is executed.
  • This algorithm calls the bill extract algorithm for an appropriate bill route type (as determined by the algorithm). The sample bill extract algorithm C1-BLEX-CR is supplied for displaying bills via BI Publisher or Crystal. This is not actually extracting data because when you use BI Publisher or Crystal reports, the report itself is responsible for extracting and formatting the data. The base product algorithm supplied returns the appropriate report code to the Online Bill Display algorithm, which in turn returns the report code to the bill page.
  • A user exit on the bill page invokes BI Publisher or Crystal and displays the bill in a separate browser session.
Fastpath: Refer to Bill Print in BI Publisher or Crystal for examples of the data extracted for the report.