Regenerate entries
This operation rebuilds the entries that were generated before for bills, vouchers and commercial papers in a period you choose. You need it after you change the accounts of materials or groups, or the settings of a bill type, so that the old entries follow the change. This page explains how to run the wizard. Its pages are described in Regenerate Entries: the window.
Before you begin
- Open the company file and sign in. You need the Files Maintenance permission (Run files maintenance). The operation shows when your administration includes accounting and the file does not work in multi-file mode (Available maintenance).
- Ask the other users to leave the file (The file reserved for one user). If the program finds another user when you click Start it refuses to run.
- Make a backup: you cannot undo the operation after it succeeds (Backup before maintenance).
- If bills in the period have payments linked to them, review the payments afterwards: the program may fail to link some of them again.
- If a bill type uses perpetual inventory with the average price policy, the program advises you to recalculate the bill prices before the operation (Audit materials balances and prices).
After Start the program deletes the entries of the bills in the period and generates them again, and there is no undo. Do not click Cancel to stop an operation that has started: it does not stop it.
Steps
-
Click File > Tools > Files Maintenance, select Regenerate Entries and click Run (Run files maintenance).
-
On the Make a Backup page choose the type and click Next, then click Start on the hard disk page and wait for "Operation successfully completed" (Make a backup). Read the explanation page and click Next.
-
In the Invoices list tick the bill types whose entries you want to regenerate. When the page opens the types that generate and post the entry automatically are ticked and the others are not, so tick what you need.
-
For the entries of vouchers tick their types in Entries, and for commercial papers tick their types in Commercial Papers. Untick what you do not want.
-
Choose the two options if needed: Reset the contra account ( for brief entries ) is ticked when the page opens, and Use fixed weighted average price is not.
-
Enter From and To, such as
1-1-2026and31-3-2026. -
Click Start and answer the confirmation questions: click Yes to "Are you sure?". The progress bar shows, with the bill being processed above it.
-
When "Operation successfully completed" shows, close the message, then close Files Maintenance so that the other users can sign in.
Result
Every entry in the period, for the ticked types, is built again from the current settings of the types and the current materials accounts, with the same number and the same posting state. At the end the program recalculates the balances of the accounts.
Example: you sold materials with bill 10 dated 15-1-2026 for 1000, and its entry credited the old sales account with 1000. You changed the account that records the sales of the material to a new account, then ran the operation for 1-1-2026 to 31-1-2026. The entry of the bill now credits the new account with 1000, and its number and amount do not change.
The program does not generate an entry for a bill that has none. What the operation does not process is in What the operation does not process.
If something goes wrong
| Message | Why it shows | What to do |
|---|---|---|
| No movement found in the specified period | There is no movement in the period for the ticked types. | Change the dates or the types. |
| Database is Opened By Users : … | Another user works on the file. The message lists every user signed in to the file, you included. | Ask them to leave, then click Start again. |
| An error was encountered while performing the operation. | You answered No to one of the questions, or the database refused a command. The program restores the file to its state before the run. | Read the message before it and run again. |
| Extra links | A line in the errors window: a bill for which some payments could not be linked again. | Open the bill and review its links to payments. |
All messages and confirmation questions are in Messages.
Related
This page applies to alameen ERP 10, version 10.1.79.764.