Skip to content. | Skip to navigation

You are here: Home Managing Bills Managing EDI Bill Imports Using the EDI Script Editor

Using the EDI Script Editor

EDI scripts are written in Visual Basic programming language. The EDI import process uses the script to supply values to bills. Energy CAP Enterprise maintains a history of the vendor's EDI 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.

  1. Select Setup > Contacts. The Contact Manager appears.

  2. From the Contact menu, select View > Vendors.

  3. Select the applicable vendor.

  4. From the Contact menu, select View Script. The EDI Script Editor window appears.

  5. You can:

To save a script file:

  1. Click save.gif. The Save As window appears.

  2. In the Save in field, select the directory location for the file.

  3. In the File name field, enter a name for the file.

  4. After making your selections, click Save. The script is saved as a file to the location you specified.

To open a script file:

  1. Click open.gif. The Open dialog box appears.

  2. In the Look in field, select the directory location of the script file.

  3. In the File List section, select the appropriate script file.

  4. Click Open. The opened script file text replaces the existing script text.

To search the script text:

  1. Click srch_icon.gif. The Find window appears.

  2. Enter the text you want to find.

  3. Select 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.

  4. 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.

  5. To search for the next occurrence, click Find Next.

  6. Exit the Find dialog by clicking Cancel.

To print a script:

  • Click print.gif. The script text is printed to your default printer.

  • Exit the EDI Script Editor dialog box by clicking Cancel.

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