Skip to content. | Skip to navigation

You are here: Home Setting Up and Maintaining Your Organization Setup Sheet Import Setup Sheet Import 6.0

Setup Sheet Import 6.0

Overview: To add a large number of meters, facilities accounts and/or vendors to your organization in EnergyCAP®, it may be convenient to use an Excel setup sheet provided by EnergyCAP, Inc.. This spreadsheet is comprised of 50+ columns; spreadsheet data provides a guide for the imptsk.exe importer to create the meters, accounts, and locations in their respective trees in the database. The Setup Sheet Import option is used most often for initial setup of the organization.

To download the current Import Setup spreadsheet, click here.

! IMPORTANT NOTE: The setup sheet’s columns are not customizable. They must not be re-ordered, removed, or supplemented  Do NOT use commas in any of the setup sheet data!

Column Name Size Limitation Description

EnergyCAP Data Field

None

Notes field-ignored by importer.

Meter Code

32 characters

REQUIRED: The meter code. This must be unique.

Meter Display Name

50 characters

REQUIRED: The meter name. Associated with meter code and is often the same as meter code.

Commodity Code

16 characters

REQUIRED: The code for the commodity associated with the meter. Must match a listed commodity in EnergyCAP. (as found in Unit System under the Commodities tab.)

Bill Entry Template Code

16 characters

REQUIRED: The code for the bill entry template. Must match a listed template code in EnergyCAP. Will default to KW_01 (basic electric utility template) if blank.

Meter Serial #

16 characters

The serial number of the meter. Meter serial number is optional.

Account Code

50 characters

REQUIRED:Account code to which meter is assigned. Can be duplicated if there are multiple meters on one account.

Account Display Name

50 characters

REQUIRED: The display name for the account.

Service Address - Street

32 characters

Address for items related to service. No commas allowed (Optional)

Service Address - City

32 characters

Address for items related to service. (Optional)

Service Address State

3 characters

Address for items related to service. (Optional)

Service Address Zip Code

10 characters

Address for items related to service. (Optional)

Cost Center Code (CC Code)

16 characters

REQUIRED: The code for the tree structure related to the account.

CC Display Name

32 characters

REQUIRED: Display name for the Cost Center.

Parent CC Code

16 characters

The code for the next higher level of the tree structure related to the account (Optional and will default to root if blank.).

Parent CC Display Name

32 characters

Display name for the code (Optional and will default to root if blank.)

Parent's Parent CC Code

16 characters

The code for the tree structure related to the account. (Optional and will default to root if blank.)

Parent's Parent CC Display Name

32 characters

Display name for the code. (Optional and will default to root if blank.)

Vendor Code

16 characters

REQUIRED: Vendor related to the account.

Vendor Display Name

50 characters

REQUIRED: Display name for vendor

Place/Building Code

16 characters

REQUIRED: Place Code associated with the meter within facility tree.

Place Display Name

50 characters

REQUIRED: Display name for the Place.

Place Address - Street

32 characters

Physical address for Place (Optional-no commas allowed).

Place Address - City

32 characters

Physical address for Place (Optional).

Place Address - State

3 characters

Physical address for Place (Optional).

Place Address Zip Code

10 characters

Physical address for Place. (Optional)

Place Current Floor Area

7 numeric

Square footage for Place (Not Null, must be at least 0).

Floor Area Effective Date

MMDDYYYY format

Optional, if blank; will default to 01012000.

Place's Parent Place Code

16 characters

Place code of the Parent place in the facility tree (Optional and will default to root if blank.).

Place's Parent Place Name

50 characters

Display name for the place's parent place in the facility tree (Optional-usually a division or department).

Parent's Parent Place Code

16 characters

Place Code of the parent's parent in the facility tree (Optional and will default to root if blank.).

Parent's Parent Place Name

50 characters

Display name for the Place Code of the parent's parent (Optional and will default to root if blank.).

Parent's Parent Parent Place Code

16 characters

Place code of the Parent's parent parent in the facility tree (Optional and will default to root if blank.).

Parent's Parent Parent Name

50 characters

Display name for the Place Code of the parent's parent parent. (Optional and will default to root if blank.).

*Meter G/L Code

255 characters

REQUIRED: The General Ledger code assigned to the meter.*

G/L Subcode 1 – 20

25 characters

Values for that G/L code.**

Account Memo/Note

Text-Unlimited

Note field associated with the account.

*Rate Schedule Code

255 characters

REQUIRED: Name for the rate schedule associated with the account.

*End of record marker

1 character

REQUIRED: Must place an X here to tell importer it is the end of row.

*We recommend that you use the meter code in the Meter GL
**If you have user-defined field information or rate code information we can import it at this point in one of the extra GL Subcodes.

Notes:
There are several items to consider when using the account setup function of the importer. It is recommended that you consult with your Implementation Engineer or Project Manager before you perform a setup import. Some of the things to consider are: 

• There can be no commas in any of the data! Commas will cause the importer to look for the end of record marker in the wrong area and will have unpredictable results. 

• The data must start on row 6 of the setup spreadsheet. Use the spreadsheet we provide to minimize chances of error. 

• If you are running this import to perform a mass creation of meters and accounts in an existing structure, only the first parent needs to be referenced. 

• This is not a tool to update accounts and meters. Use this only to create new objects. 

• If you need to create any tree structure with more levels than what we provide, you must manually create the levels in the facility and accounting trees prior to running the import. 

• After you save this file to .csv for import, it would be a good practice to open the .csv file into a text editor, such as Notepad or Wordpad, to view the data without the automatic formatting that Excel performs.

Example: 

-Company(s)
-Region(s)
-District(s)
-Facility(s)
-Place(s) or Cost Center(s)
- Meter(s) or Account(s) 

You must create the Company, Region, and District objects on the facility and accounting trees prior to import. Reference the District object as Parent’s parent Place Code & Name or Parent’s parent CC Code & Name.

There are two ways to import the Setup Sheet information to EnergyCAP.The easiest way is to use the import command from the File menu as follows:

 

  1. Run the EnergyCAP software.
  2. Navigate to the Facility Manager (Setup>Facilities).
  3. Click File>Import. The Open window will be displayed. 

    setupsheet1.jpg
  4. From the Files of type ... drop-down box, select Setup Import (*.csv).

    setupsheet2.jpg
  5. Use the window browse features to navigate to the desired setup file and highlight to select it for import.
  6. Click Open. The setup sheet information will be imported.

 

It is also possible to import setup sheet external to EnergyCAP by running the following command from a command line prompt. Follow the format of other documentation of external tasks: 

"Location of imptsk.exe file" -d ODBC DSN name -u EnergyCAP UserID –p Password -c STANDARD:ACCOUNT_IMPORT -f "Location of .csv file for import" -l "log.txt file location" 

The usage is:

Imptsk –d[dsn] –u[user] –p[pwd] –c[converter] –f[path] [-x] [-a path] [-l path] [-s section] [-v]
where
-d dsn -ODBC data source name
-u user -system user ID
-p pwd -system password
-c converter -name of the converter which is: STANDARD:ACCOUNT_IMPORT
-f path -file to be converted. Setup template saved in CSV format
-x -delete the import file after importing the data
-a path -archive the data to the specified path
-l path -name of the log file
-s section -profile section name
-v -verbose messages 

Example: "C:\Program Files\EnergyCAP Enterprise\imptsk.exe" -d ECE_Test -u ImportUser -p u$er1d -c STANDARD:ACCOUNT_IMPORT -f "c:\temp\TempSetup.csv" -l "C:\Temp\log.txt" 

1. "c:\Program Files\EnergyCAP Enterprise\imptsk.exe” – The file path for the importer program, imptsk.exe. It is typically located in your EnergyCAP Enterprise program folder. Be sure to enclose the file path in quotation marks. IMPORTANT - You must execute the command from the EnergyCAP program folder, i.e. log onto the folder before executing the imptsk.exe file. Simply pointing to the program folder from another location may prevent the imptsk.exe program from running required supporting DLL files.
2. –d ECE_Test –The name of the database into which you wish to import the data.
3. –u ImportUser – The User ID with which you wish to import the data. The User ID is the username you use to login to EnergyCAP Enterprise. Be sure adequate permissions exist to create the records.
4. –p u$er1d - The password associated with User ID you are using to import the data.
5. -c STANDARD:ACCOUNT_IMPORT – If you follow the import file specifications in this bulletin, this is the correct converter to use.
6. -f " c:\temp\TempSetup.csv " – The file path for the .csv document which you wish to import into EnergyCAP Enterprise.
7. -l " C:\Temp\log.txt " – The Meter/Account/Place (MAP) Importer creates a log file that tracks the changes made to EnergyCAP Enterprise. This is the file path to the location where that file will be saved.

After you run the importer you will see the following:

Prior to importing, the first screen will come up and perform error checks on the file.

5_0_123_SetupImport1.jpg



After the error checks are performed, files that pass will proceed to the import process.

5_0_123_SetupImport2.jpg



If any errors are found, you will receive an error message.

5_0_123_SetupImport3.jpg



From this point, please reference the log file specified in the –l section of the command.

 


NOTES:

• If you are appending the same log.txt file each import, the latest import will be at the bottom of the file.
• Notice the “verifier column missing” error. This is not what caused the error but these items were skipped.
• This file errored out, because the meter code exceeded 16 characters.

Add comment
(Required)
Tell us your name.
(Required)
(Required)
(Required)
Enter the word