How To: GL Configurable Enquiry
Define GL Enquiries
A GL Enquiry is created in two stages, firstly the columns and secondly the rows. The following example illustrates the type of information an enquiry might consist of:
Create the GL Enquiry
The Configuration Option is under the GL Module > Enquiries > Enquiries Setup Maintenance > Define GL Enquiries.

Click

Give the enquiry a unique identifier and a description relating to the enquiry and click Save (
).
Once created click on the enquiry code to add the required details to the enquiry or click Open (
) to change the description.
Configure the Rows

Coins allows you to create as many rows as you require for an enquiry. You can specify different types of rows from the following options:

On the Rows Tab, click Add (
)

Fill in the Description and the Account Selection. Refer to your GL account Configuration for appropriate selection.
The Mask feature can be used to select/deselect certain information from within the range of accounts specified.
The following "wildcard" characters can be used when masking account numbers:
!
Use an exclamation mark to exclude numbers. When using this "wildcard", you must type a comma ( , ) after the account number you want to exclude and then after the comma, type the account numbers you do want to include
.
Use a dot to indicate a character location.
*
Use an asterisk to indicate any number of characters. For example (without a mask), if the range entered is from 00.00.5000 to 00.00.5999, Coins will display the following account numbers:
00.00.5000, 00.00.5001, 00.00.5002, 00.00.5003 etc., up to 00.00.5999
The following examples show how the "wildcard" characters can be used within the masking feature:
!00.20.5099, *
If the range entered was from 00.00.5000 to 00.50.5999, this mask tells Coins to exclude account number 00.20.5099, but include all other account numbers specified within the range. Note that when excluding numbers, if you do not separate numbers with a comma, the value will display as zero.
!00.00.507*, *
Using the same range again, this example tells Coins to exclude all the account numbers with 00.00.507 (such as 00.00.5071, 00.00.5072, 00.00.5073, etc, up to 00.00.5079), but will show all other account numbers, as suggested by the comma and asterisk (,*).
00.50..
Using the same range again, this example tells Coins to include account numbers with any two characters at the beginning and any two characters at the end, but that have 00.50 in the middle. Coins will display account numbers as follows:
00.00.5000, 00.00.5001, 00.00.5002, 00.00.5003 etc., up to 00.00.5099
00.00.5*00
Using the same range again, this example tells Coins to include account numbers starting with 00.00.5 and then any number of characters in place of the asterisk, but that end in 00. Coins will display account numbers as follows:
00.00.5000, 00.00.5100, 00.00.5200, 00.00.5300 etc., up to 00.00.5900
Select the Line Type:

Select a sign
if you want the content of this line to be calculated to the accumulator otherwise leave blank.
The Accumulator stores values added/subtracted to it from 'normal' lines and displays the total on the ‘total’ line. You can use an accumulator to calculate the totals from several lines, then display that total value on a separate line. In the Accumulator field, enter a name for the accumulator. For example, “Total A”. In cases where you have more than one accumulator in an enquiry, be sure to give each accumulator a different name.

Total Lines
When creating a total Line leave the range From/To fields blank, because you have already specified the account ranges when creating the ‘normal’ lines.
Complete the Options frame for 'Total' lines as follows:
- Leave the Mask field blank.
- In the Line Type field, select ‘Total’.
- Leave the Sign field blank if you do not want to add/subtract this total value to another line.
- In the Accumulator field, to display the total value of ‘normal’ lines in the ‘total’ line, enter the name of the accumulator that you have calculated the ‘normal’ lines to. For example, ‘Total A’.
If the Accumulator field is left blank, the ‘total’ line will calculate the total value of lines that are not calculated to a specified accumulator (for example, any lines where the Accumulator field has been left blank). Coins will interpret the blank field as an accumulator called " " (blank). Therefore, it is recommended that an entry be made in this field.
Configure Columns
Select The Columns Tab.

The Column Definitions frame determines the number of columns in the enquiry and the contents of each column. The columns can show the opening balance and/or the closing balance and/or the movement for a range of accounts in any given period.
Coins allows you to create as many columns as you require for an enquiry.
Click Add (
)
Populate the label. A name to identify this column (for example, “Opening Balance”).
If you want a column heading to be split onto two lines, type ! where you want the new line to start (for example: Opening!Balance).
Select the type of column you want to create.
Specify the period you want to enquire on in this column.
The following options determine which period relative to the enquiry period (which you specify when you run the enquiry) the information in this field is taken from. For example:
0 = the enquiry period
-1 = the previous period
+8 = eight periods after the enquiry period
-12 = the period last year equivalent to the enquiry period (assuming you are using 12 periods per year)
!12+0 = period 12 in the year of the enquiry period
!06-1 = period 6 of the previous year
!01+1 = period 1 of the following year
!1295 = period 12 in 1995
!1200 = period 12 in 2000
The Format field allows you to specify the PROGRESS format that determines how the value will be displayed.
To show zero values in the enquiry, for example, 0.00, (instead of showing a blank space) you must enter the following format: >,>>9.99. To allow for larger values, you can add more "greater than" (>) characters, for example, >>>,>>>,>>9.99. If you do not enter enough "greater than" (>) characters in the format, the value will display "?????". To include negative values (as well as positive values) in the enquiry, you must use brackets or a minus sign as follows: (>,>>9.99) or ->,>>9.99.