Audit materials prices of last year files
Use this wizard in a new year file whose materials and customers should keep their last prices from the previous year file. The wizard transfers the prices from the linked file, then recalculates the prices from the movement of the current file. The options page and the rules for choosing the file are in Audit materials prices of last year file: the window.
Before you begin
- Open the current year file and sign in with a user who has the Files Maintenance permission. The operation is in Files Maintenance when your edition includes accounting (Available operations).
- Link the previous year file to the current file (Link previous years files). It must be on the same database server. With no linked file a message appears and the wizard does not start.
- Check that the period of the previous year file ends in a year that is not later than the year of the Opening Date of this file. If not, the program transfers nothing and still shows the success message.
- Take a backup of the current file. The wizard shows the backup page first (Backup first). Take a copy of the previous year file too: if you tick Customer Last Sale, the program rebuilds the table of last prices in it.
- Ask the other users to leave the file. This wizard does not check whether they are there (A file reserved for one user).
Steps
- Click File, then Tools, then Files Maintenance, select Audit materials prices of last year file, then click Run. The warning box "This operation is dangerous …" appears when you select the operation. Quick Launch search also finds the operation. The details are in Run files maintenance.
- On the Make a Backup page choose the backup type, then click Next. The fields of the page are in Make a Backup, and its steps in Make a backup.
- A page titled "Audit materials prices of last year file" appears. The Audit Options group has two options, both ticked: Customer Last Sale and Last Purchase. Untick what you do not want to transfer. At least one must stay ticked.
- Click Start. The progress bar shows and the buttons are disabled, so you cannot stop the operation once it has started.
- Wait for the message "Operation successfully completed", then click OK. The wizard closes and you return to Files Maintenance. Click Close so other users can sign in.
After Start the program rebuilds the table of customer last prices in the current file, and in the previous year file too, and replaces the last purchase price of the materials. If a step fails, the results of the steps before it stay. Make sure the backup is ready before you click.
Result
- The last purchase price of each material in the current file is the price of its last posted bill of a form that affects the last purchase price in this file. If it has none, it is its price in the previous year file. The same holds for the last price of a customer: its price from the bills of this file, otherwise its price in the previous year.
- The rows of the currencies exchange rates table that belong to the period of the previous year file, and are not in this file, were transferred.
- If the program option Activate log file is on, the operation has a line with no note in the Log File.
Example: material A was last bought in the previous year at 8.00 and was not bought this year. After the audit its last purchase price stays 8.00. If it is bought this year at 9.00, its last price is 9.00.
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Must set one option at least of Audit Options | You unticked both options. | Tick at least one option. |
| Please link previous year file from: Options - Default Values - Link Files | There is no linked file other than the current one. | Link the previous year file as in Link previous years files, then run again. |
| An error was encountered while performing the operation. | The database refused a command. The wizard stays open, and the results of the steps before it stay. | Check that the previous year file exists on the same server and is up to date, then try again. If the error repeats, contact support. |
| Are you sure you want to exit and cancel the maintenance operation? | You clicked Cancel before Start. | Click Yes to leave with no change, or No to continue. |
| Operation successfully completed, but the prices did not change | The program did not find the previous year file: its period does not end in a suitable year, or it is not on the server. | Check the links and the Opening Date, then run again. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.