Navigation:  Module 1 - Energy Accounting > Accounts & Invoices Tab > User Defined Components > Object Types > UtilityBill Object Type >

Bill

Previous page Next page
  rev. 2011-02-09        

Description:

A Global Variable representing the current utility invoice being processed.

Name:

Bill

Type:

UtilityBill

Examples:

The following examples are for a natural gas utility invoice with a billing period starting August 10 2009 and ending Oct 5 2009, and with a Reading Group called NG1.

Get the invoice issue date and the payment due date.

Expression

Result

Bill.IssueDate

8/10/2009 12:00:00 AM

Bill.DueDate

10/5/2009 12:00:00 AM

Get the number of days in the billing period.

Expression

Result

Bill.[NG1].Period.Days

56

Get the number of days in the billing period which occurs within the heating season starting Sept 15th and ending April 15.  Get the number of hours in the same period.

Expression

Result

Bill.[NG1].Period.InPeriod(9,15,4,15)

20.00:00:00 (20 days)

Bill.[NG1].Period.InPeriod(9,15,4,15).Hours

480

Get the fraction of the billing period which occurs within the heating season starting Sept 15th and ending April 15.

Expression

Result

Bill.[NatGas1].Period.FractionInPeriod(9,15,4,15)

0.35714 (35.7%)



snippet_Bill         ©2014 Managing Energy Inc.