Customer Statement over Several Years
This report follows one customer across the current file and the files of the previous years linked to it. It shows a row for each year file with the previous balance, debit, credit and balance, and under each row the movements of that year. Use it when the period you review starts in a previous year, or when you want one continuous statement for several years.
Opening the report
- From the ribbon: Customers > Statements and Balances > Customer Statement over Several Years.
The report needs the following:
- The Customer Statement over Several Years permission in the Users Management window.
- The read permission Customer balance.
- The accounting module and the customer card feature in your licence.
- At least one file of a previous year linked to the current file. See Link previous years files.
The conditions window appears first. Set the conditions, then click Preview to show the report, or Print, or Export. The page Report parameter forms explains the buttons of this window.

Parameters
The conditions are listed in the order of the standard window layout. You can switch the window to tabs in the report options; the conditions stay the same. See Report options. After the report is shown you can change the conditions in the Option List panel of the viewer and click Apply.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Customer | The customer whose statement you want. | Empty. Required. Choosing him sets Currency to the currency of his account. |
| Cost Center | Keeps only the movements of the chosen cost center. | Empty, meaning all centers. |
| Date | A list of ready periods, and the From and To fields. The report takes the year files that intersect this period. | From the first day of the current month, or from the first day of the financial period if the program option "Start Date" is beginning date is on, to today. |
| Currency | The currency to which all amounts are converted. The currency must have the same identity in the previous files. | The default currency of the program options. It changes to the currency of the customer's account when you choose the customer. |
| Search Using | How the program finds the customer in each previous file: Internal Identifier looks for the same record, and Name looks for a customer with the same name. A customer sometimes has a different identity in each file, so the program must find him again. | Internal Identifier. |
Show options
These options appear in one list under the headings Show, Other and Filter.
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Bill Details | Shows the materials of each bill under it, with their quantities, prices and values. | On. |
| Additions and Discounts | Adds the Discounts and Additions columns to the materials table, and adds under each bill a line for each discount or addition with the name of its account. | Off. Works with Bill Details. |
| Value Added | Adds a line with the value-added tax under each bill. | Off. Works with Bill Details. |
| Cash Bills | Shows cash bills. | On. |
| Deferred Bills | Shows deferred bills. | On. |
| Unposted Bills | Adds bills that are not posted. | Off. |
| Posted Bills | Shows posted bills. | On. |
| Show Balance As Text | Writes the balance of the last year in words in a line under the first table. | Off. |
| Reset Balance At Periods Beginning | Sets the previous balance of the first year to zero, so the customer starts from zero at the beginning of the period. | Off. |
| Show Papers Related to Entry Only | Leaves out the papers whose form does not generate an entry automatically. | Off. |
| By Notes | Enables the fields Contain and Not contain. When you turn it off the program clears both fields. | Off. |
| Contain | Keeps the movements whose notes contain this text. | Empty. Disabled until you turn on By Notes. |
| Not contain | Leaves out the movements whose notes contain this text. | Empty. Disabled until you turn on By Notes. |
Report sources
The Sources list has a box for each document type: Journal Entry, Purchase, Sale, Purchase Return, Sales Return, Input, Output, Commercial Papers Received and Commercial Papers Paid. Select All selects all of them or clears them. All are on by default, and the report includes only the movements of the selected sources. Journal Entry covers the manual entries, all the vouchers, and the entries of collecting and returning papers.
Report header
The header shows the customer, the cost center and the currency, then the period, then Branches if branches are on in the file.
Columns
The report has a years table with a row for each year file. You open a row with the arrow next to it to see the movements of that year, and you open a bill with its arrow to see its materials. If you turn on Show Balance As Text, a line with the final balance in words appears under the table.
You add the columns that are hidden by default from Home > Field List, in the group Report Fields. See Report grid tools.
Years table
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| From Date | The first day of the year in this row. | Always. | The first row starts at the From date of the report. The other rows start at the first day of their file. |
| To Date | The last day of the year in this row. | Always. | The last row ends at the To date of the report. |
| Previous balance | The balance before this year. | Always. | The balance of the row before. For the first row: the balance of the customer's whole account from the first day of that file to the day before the From date, whatever the other conditions, or zero with Reset Balance At Periods Beginning. |
| Debit and Credit | The totals of the year. | Always. | The sum of the movements of the year inside the period, plus the down payments of the bills (credit for sales, debit for returns and purchases). |
| Activity Balance | The movement of the year. | Always. | Debit − credit. |
| Balance | The balance at the end of the year. | Always. | Previous balance + activity balance. |
| Account Code and Account Name | The customer's account as it is in that file. | Always. | The customer's account in that file. |
| Customer | The name of the customer in that file. | Always. | From the customer card in the file. Empty if the customer is not in the file. |
| Card Number, Prefix, Latin Name, Suffix, Nationality, Phone 1, Phone 2, Fax, Telex, Mobile, Pager, Notes, E-mail, Home Page, Discount Percent, Country, City, Region, Street, More Details, Zip Code, Floor Number, PO Box, Certificate, Job, Job Category, Field 1 to Field 4, Person in Charge, Date Of Birth, Gender, Hobbies (hidden) | The data of the customer card in that file. | You add them from the field list. | From the customer card. |
If you renamed the customer fields in the customer card, your new names appear as the headings of these hidden columns.
Movements table
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Date | The date of the movement. | Always. | From the bill, voucher or paper. |
| Entry Origin | The type and number of the document. | Always. | For papers: the abbreviation of the paper form, then its number. |
| Down Payment | The down payment of the bill. | Always. | From the bill. |
| Debit and Credit | The amount of the movement. | Always. | In the chosen currency. A cash bill has equal debit and credit. Credit rows have a different style. |
| Activity Balance | The movement of this line alone. | Always. | Debit − credit of the line. |
| Balance | The running balance after this line. | Always. | The previous balance of the first year + the sum of (debit − credit) of this line and all lines before it, in all years, ordered by date and then by origin. The down payment is not deducted from it, so it can differ from the balance of the year. |
| Discounts, Additions, Value Added, Payment Method, Field 1 to Field 4, Warehouse, Notes, Branch, Cost Center, Due Date, Commercial Paper State (hidden) | More details of the movement. | You add them from the field list. | From the movement. |
Bill materials table
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Material, Quantity, Unit, Price and Value | The material, its quantity, unit, price and value. | Bill Details is on. | From the bill. Value = quantity × price. |
| Discounts and Additions | The discounts and additions of the material. | Additions and Discounts is on. | From the bill. |
| Notes, Category, Warehouse, Cost Center, Quantity 2, Unit 2, Quantity 3, Unit 3, Length, Width, Height, Production Date, Value Added (hidden) | More details of the material line. | You add them from the field list. | From the bill. |
The lines of discounts, additions and value added appear under the materials in the warning style.
Text line
It appears when Show Balance As Text is on. It has one column, Write Balance, with the absolute value of the balance of the last row of the years table, written in words in the currency of the report.
How the balances are calculated
The program reads the customer in each file whose year intersects your period, starting with the oldest. The opening entry of the current file is left out when an older file is in the report, because it only repeats the closing balances of the file before it, unless its date is the From date. The opening entry of a file between the two is counted with its movements.
Every commercial paper dated in the period counts with its full value, whatever its state. Papers brought forward from a previous file are not counted.
Worked example. The period is from 1/1/2025 to 31/12/2026. In the 2025 file the customer has debit 95,000 and credit 60,000. In the current 2026 file he has debit 28,000 and credit 16,000, not counting its opening entry.
- The 2025 row shows a previous balance of
0, an activity balance of35,000and a balance of35,000. - The 2026 row shows a previous balance of
35,000, an activity balance of12,000and a balance of47,000.
Right-click menu
The commands are in the movements table only, and only for rows that come from the current file. The rows of previous files have no commands.
| Command | Shown when | What it opens |
|---|---|---|
| View Bill... | The row is a bill. | The bill that generated the row. |
| View Voucher... | The row is a voucher. | The voucher that generated the row. |
| View Entry... | The row is an entry or a voucher. | The entry of the row. |
| View Commercial Paper... | The row is a commercial paper. | The commercial paper that generated the row. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| "You don't have the authority to read a customer balance" | You clicked Preview, Print or Export and you do not have the Customer balance permission. | Ask the system administrator to grant the permission in Users Management. |
| "Must select one file at least in "Connection Parameters of Previous Years Files" window which can be requested from: Program Options - Link, then click Link Files button." | No previous year file is linked. | Link the previous years files and run the report again. |
| "There is a file or more has different version from the current file version. Can’t call for reports over several years before updating database to the current file version." | A linked file was created by an older version of the program. | Update the linked databases to the version of the current file. |
| "Cannot open the report, the currency ID in the current file is different from the one in the previous files" | The chosen currency does not have the same identity in the previous files. | Choose another currency, usually the default currency of the files. |
| Please enter a valid value in 'Customer' | You left Customer empty. | Choose the customer. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.