Previous Topic

Next Topic

Book Contents

Book Index

CB Electronic Banking Designer

Navigator > Setup > Cash Book > Electronic Banking Designer

Use the Electronic Banking Designer to create a banking definition file. Banking definition files are used to determine the format when you Export Generated Payments.

The definition consists of sections of MaxBasic. Different banks require different input file formats. The file contains a single header record, multiple body records representing the payments and finally, a single footer record. The Header, Body and Footer tabs allow you to enter the code for these three types of records. Not all banks require the header or footer records. Many bank formats will not accept a comma, so we recommend you avoid commas and quote marks in fields to be exported.

Usually the code contains Print statements that print the information to the file in the format required. When a bank changes its import file format, you can adjust the code to output a file in the new format.

Note: For bank account numbers containing alphanumeric characters, the built in hash total calculation for the line will be zero (0). For alphanumeric bank account numbers, calculate the Hash Total in MaxBasic, then use the StampHash function to set the CBSUM Hash Total.

Code Sections

Header tab

Output a header and pre-initialise variables to be used in the body or footer code.

Body tab

Output details for each payment.

Footer tab

Output a footer (typically for totals).

Code Editor

Objects include:

Bank Account

Fields from the Bank Account record.

Company

Contains details of the Company name and address.

Creditor

Fields from the Creditor record.

Customer

Fields from the Customer record.

Export

Contains details of the export file.

Item

Contains banking item details.

Summary

Contains banking summary details.

System

Fields from the System record.

SystemUser

Fields from the System User record.

User

Fields from the User record.

Buttons

ScriptCheck

Check Code (Alt+C)

Ensure the code entered in all three code sections compiles correctly without the need to do an electronic payment run.

Set/Clear Breakpoint (Alt+B)

Set a code breakpoint on the current line. Click again to toggle to clear the breakpoint. You can also click to the right of a line to set or clear a breakpoint.

Hover the mouse over a breakpoint, then right-click to make a breakpoint unavailable, or access the Breakpoint Properties.

If a condition has been set for a breakpoint, it will be shown when you hover over the breakpoint.

Load... (Alt+L)

Load a saved definition for use in the Electronic Banking option. If you modify one of the supplied definitions, save under a new name so it is not overwritten when you install an Accredo update.

Save... (Ctrl+S)

Save the code as a definition for use in the Electronic Banking option.