Ledger over Several Years
The ledger over several years follows one account across the current file and the files of previous years. It shows one row for each year file with the previous balance, the debit, the credit and the balance, and under each row the movements of that year. Use it when a period starts in an earlier year, or to follow an account that you keep from year to year.
Opening the report
- From the ribbon: Accounts > Books > Ledger over Several Years.
The report needs these things:
- The Ledger over Several Years permission in the Users Management window.
- The read permission Account Balance.
- The accounting module in your licence.
- At least one previous-years file 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 same conditions in the Option List panel of the viewer and click Apply.
Main conditions
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Account | The account you want. You can choose only an account that has no sub-accounts. | Empty. Required. |
| Customer | Keeps only the lines of this customer. | Empty. Choosing a customer enables Customer Name. |
| Cost Center | Keeps only the lines of the chosen cost center. | Empty, meaning all centers. |
| Contra Account | Keeps only the lines whose contra account is the chosen account. | Empty, meaning every contra account. |
| Category | Text that must match the line category exactly. | Empty, meaning every category. |
| Date | A list of ready periods and the From and To fields. The report takes the year files that overlap this period. | From the first day of the current month, or from the first day of the financial period when the program option "Start Date" is beginning date is on, to today. |
| Currency | The currency all amounts are converted to. The currency must have the same identifier in the previous files. | The currency of the chosen account. It changes when you change the account or the customer. |
Search options
The account has a different identity in each year file, so the program has to find it again. These options appear under the heading Search by.
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Account (a choice of three) | How the program finds the chosen account in each previous file. Internal Identifier and Name look for the same record. Code looks for an account with the same name. To find the account by its name choose Code, then check the Account Code and Account Name columns of the year table to make sure it is the right account. | Internal Identifier. |
| Customer Name | Looks for the customer by name in each previous file, instead of by record. | Off. Disabled while Customer is empty. |
Show options
These options appear in one list under the headings Show and Filter.
| Condition | Meaning and effect | Default and rules |
|---|---|---|
| Reset Balance At Periods Beginning | Sets the previous balance of the first row to zero, so the account starts from zero at the start of the period. | Off. |
| Group Duplicated Accounts In The Same Entry | Merges the lines of the account in one entry into a single line. It enables By cost centers. It empties the notes, the contra account, the category and the basic currency of the merged line. | Off. |
| By cost centers | Keeps the merged lines apart by cost center and shows the Cost Center column. | Off. Disabled until Group Duplicated Accounts In The Same Entry is on. |
| Unposted Entries | See the note below. | On. |
| Show Balance As Text | Writes the final balance in words under the table. | Off. |
| By Notes | Enables the Contain and Not contain fields. When you clear it the program empties both fields. | Off. |
| Contain | Keeps lines whose notes contain this text. | Empty. Disabled until By Notes is on. |
| Not contain | Leaves out lines whose notes contain this text. | Empty. Disabled until By Notes is on. |
With Unposted Entries on, the report lists the posted entries only. When you clear it, the report lists the posted and the unposted entries, and shows the unposted ones in the unposted style.
The notes filters and the category apply to the previous balance too.
Report sources
The Sources list has a tick box for each type of document: Journal Entry, Purchase, Sale, Purchase Return, Sales Return, Input, Output, Commercial Papers Received, Commercial Papers Paid and Transposition. Select All ticks and clears all of them. They are all on by default, and only the lines of the ticked types go into the report.
Report header
The header shows the account, the contra account, the cost center, the customer, the category, the currency and the period, then Branches if branches are enabled in the file.
Columns
The report has two tables. The first has a row for each year file. You open a row with the arrow next to it to see the movements of that year in the second table. If you turn on Show Balance As Text, a line with the final balance in words appears under the first table.
You add the columns that are hidden by default from the field list. See Report grid tools.
Year 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 previous row. For the first row, the debit minus the credit of the lines before the From date, or zero with Reset Balance At Periods Beginning. |
| Debit and Credit | The totals of the year. | Always. | The sums of the lines of the year inside the period. |
| 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 account as it is in that file. | Always. | Empty if the file has no such account. |
A year that has no lines in the period shows no previous balance, debit or credit, and the row of the next year continues as if it did not change the balance.
Movement table
| Column | Meaning | Shown when | How it is calculated |
|---|---|---|---|
| Entry Number | The entry number. | Always. | From the entry. |
| Date | Date of the line. | Always. | From the entry. |
| Entry origin | The type and number of the document that produced the entry. | Always. | Empty for a manual entry. |
| Debit and Credit | The line amount. | Always. | In the chosen currency. Credit lines use a different style, and unposted lines a third one. |
| 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 row + the sum of (debit − credit) of this line and all the lines before it, in all the years. The lines are ordered by customer name, then date, then entry number; with grouping, by date, then entry number. If the account has several customers, choose Customer so that the balance follows the date. |
| Notes | The line notes. | Always. | From the line. |
| Cost Center | The cost center of the line. | By cost centers is on. | From the line. |
| Customer | The customer of the line. | Always. | From the line. |
| Basic Currency, Contra Account, Category and Branch | The amount in the original currency, the contra account, the category and the branch of the entry. | You add them from the field list. | From the line. |
How the balances are calculated
The program reads the account in each file whose year overlaps your period, starting with the earliest. The lines of the opening entry are left out in every file, unless their date is the From date, or earlier than it in the first file, where they enter the previous balance. So set From to the first day of the earliest linked file or later; otherwise the opening balances of that file are missing.
Worked example. The period is 1/1/2025 to 31/12/2026. In the 2025 file the account has debit 120,000 and credit 70,000. In the current 2026 file it has debit 30,000 and credit 12,000, apart from its opening entry.
- The row of 2025 shows previous balance
0, activity balance50,000and balance50,000. - The row of 2026 shows previous balance
50,000, activity balance18,000and balance68,000.
Right-click menu
The commands are on the movement table only, and only for lines that come from the current file. Lines from previous files have no commands.
| Command | When it appears | What it opens |
|---|---|---|
| View Entry... | Always, for a line of the current file. | The entry of the line. |
| View Bill... | The line comes from a bill. | The bill that produced the line. |
| View Voucher... | The line comes from a voucher. | The voucher that produced the line. |
| View Commercial Paper... | The line comes from a commercial paper. | The commercial paper that produced the line. |
Messages
| Message | Why it appears | What to do |
|---|---|---|
| «You don't have the authority to read an account balance» | You clicked Preview, Print or Export and you do not have the Account Balance permission. | Ask the system administrator to grant it 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-years file is linked. | Link the files of the previous years, then 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 made 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 identifier in the previous files. | Choose another currency, usually the default currency of the files. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.