Using the Bill Script Editor
The Bill Script Editor is a tool for quickly generating bill scripts in EnergyCAP. Bill scripts are written in Visual Basic programming language. The virtual bill creation process uses bill scripts to supply values to a virtual bill. EnergyCAP Enterprise maintains a history of the account's bill script versions.
When editing a bill script, the modified script applies to the current version and all future versions of this bill.
Editing scripts should only be attempted by advanced users with Visual Basic programming skills.
-
Select Setup > Contacts. The Account Manager appears.
-
Browse the Accounting tree to locate the desired account.
-
Highlight the account and right-click; then select View Script from the popup menu options. The Bill Script Editor window will open.
NOTE: The View Script option will not be available for Calculated Accounts or Bill Split accounts. -
Once the Bill Script Editor is open, it is possible to:
To open a specific script file:
-
Click
. The Open window appears. -
Input, or navigate to, the desired File name and path for the script file.
-
Click Open. The opened script file text replaces the existing script text.
To save a script file:
-
Click
. The Save As window appears. -
In the Save in field, select the directory location for the file.
-
In the File name field, enter a name for the file.
-
After making your selections, click Save. The script is saved as a file to the location you specified.
To search the script text:
-
Click
. The Find window appears. -
In the Find what: text box, enter the text you want to find.
-
Click the associated checkboxes to Select/Deselect any search options:
-
Match whole word only: Finds only whole words instead of searching for your text inside longer words.
-
Match case: Finds only text that has the same pattern of upper and lower case as the text you specified in the Find What field.
-
-
Click Find Next. A search begins for the instance of the text you specified in the Find What field. Matching text is highlighted in the Script Editor.
-
To search for the next occurrence (if any), click Find Next.
-
Exit the Find window by clicking Cancel.
-
Click
. The script text is printed to your default printer.
To exit the Bill Script Editor:
To print a script:
- Exit the Bill Script Editor by clicking Cancel.

