Skip to main content

Audit materials balances and prices

Use this wizard when the quantity of a material, its cost price or its last purchase price does not match what its bills say, or to find negative outputs. The wizard recalculates from the posted bills (the customer last sale and, for some forms, the cost price also count unposted bills) and corrects what is stored in the material cards. The options page and its messages are in Audit Materials Balances: the window.

Before you begin​

  • Open the company file and sign in with a user who has the Files Maintenance permission. The operation is in Files Maintenance when your edition includes accounting and the file does not work in multi-file mode (Available operations).
  • Ask the other users to leave the file. If the program finds another user when you click Start, it refuses to run (A file reserved for one user).
  • Take a backup. The wizard shows the backup page first (Backup first). You cannot undo the audit after it ends, and it changes stored prices and quantities in the whole file.
  • Post the bills that must count. A bill that is not posted does not count in the quantities or the last purchase price. It counts in the customer last sale, and in the cost price when its form affects the profits of materials.
  • Allow time: the wizard goes through all the bill items, so it can take long in large files.

Steps​

Open the wizard and back up the file​

  1. Click File, then Tools, then Files Maintenance, select Audit Materials Balances and Prices, then click Run. The warning box "This operation is dangerous …" appears when you select the operation. You can also find the operation with Quick Launch search. The details are in Run files maintenance.
  2. On the Make a Backup page choose the backup type, then click Next. The fields of the page and the hard disk and removable disk pages are in Make a Backup, and the steps of the backup are in Make a backup. If you choose not to make a backup, the program moves to the next page with no question.

The audit​

  1. A page appears with the text "Click "Start" to begin auditing materials balances and prices according to the selected options." The Audit Options group has four options, all ticked: Materials Balances, Customer Last Sale, Last Purchase and Cost Price. Keep them all for a full audit, or untick what you do not need. At least one must stay ticked.
  2. Decide the two options below the group. Skip display negative output report is not ticked: tick it if you do not want the error window and the detail messages. Do not audit the last purchase and average cost price for materials have no movement in bills have " Affect Cost Price " option checked is ticked: keep it so the program keeps the last purchase price of the materials that have no bills.
  3. Click Start. The progress bar shows and the buttons are disabled, so you cannot stop the operation once it has started.
  4. If the error window appears, read its lines. Each line is a "Negative Output" for a bill and a material: right-click it and choose Display Bill... or Display Material Card... to check.
  5. 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.
warning

After Start the program replaces the quantities and prices stored in the material cards, and changes the profit of each bill item and its stored cost price. It does not ask for confirmation. Make sure the backup is ready before you click.

Result​

  • The quantity of each material in each warehouse equals the movement of its posted bills. The last purchase price, the customer last sale and the cost price are calculated from the bills, for the options you ticked.
  • The profits of the bill items and of the bills changed, if you ticked Cost Price. They show in the profit reports.
  • No entry and no bill entry changes. To generate the bill entries again after the prices changed, use Regenerate entries.
  • If the program option Activate log file is on, the operation has a line in the Log File, and its details are in the Maintenances Log.

Example for the cost price: a material entered through two posted bills of a form that Affects Cost Price: 10 units at 3.00, then 30 units at 5.00. After the audit its cost price is (10×3 + 30×5) ÷ 40 = 4.50.

If something goes wrong​

MessageWhy it appearsWhat to do
Must set one option at least of Audit OptionsYou unticked the four options.Tick at least one option.
Database is Opened By Users : … Please check that all users logged out then try again.Another user works in the file. The message shows their names. The message "An error was encountered while performing the operation." follows.Ask them to leave, then click Start again.
An error was encountered while performing the operation.The database refused a command, or the previous message came first. The wizard stays open.Do not keep working in the file. Try again when everyone has left. If the error repeats, contact support, and restore the backup if needed.
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.
Negative Output (a line in the error window)The quantity of a material became negative after its output in a bill. The program does not correct this.Open the bill and the material, correct the movement, and run the audit again.

This page applies to alameen ERP 10, version 10.1.79.764.