Calculate fixed weighted average
Use this wizard to calculate a weighted average price for each material in each month, from the bills of the month and the price of the month before. The bills and reports whose price type is Weighted average work with these prices. The wizard runs from the Files Maintenance window, and all its fields are in Fixed weighted average.
Before you begin
- Open the file, and check the permissions in Run files maintenance. The wizard is in the Files Maintenance list when your key includes accounting.
- Enter, review and post the bills of the months you calculate first. Only posted bills enter the calculation: a material whose bills that affect the cost in a month are all unposted gets no price for that month.
- Start from the first month in which a bill changed. The program calculates each month from the price of the month before, so if you edit a bill in a month, recalculate that month and every month after it.
- Choose a group only if you mean it. The wizard deletes the saved prices from the start of the month onward for all materials, so leave Group empty to keep the prices of all materials (details).
- This wizard shows no backup page. Take a backup before it (Back up a company file) if you may need to return to the current prices.
Steps
- Click File, then Tools, then Files Maintenance. Select Fixed Weighted average account and click Run. The window shows the warning "This operation is dangerous …" when you select it, and Quick Launch search also finds the operation.
- In From period choose the first month you want to calculate. If it is not the first month of the file, the prices of the earlier months must be calculated.
- In To period choose the last month you want. The whole month is included.
- Leave Group empty to calculate all materials, or choose a group to calculate its materials. The other materials then have no prices from this month onward.
- Leave Don't calculate the price of balanced or empty materials ticked if you do not want materials whose net quantity is zero from the start of the file to the end of To period to be calculated in the first month of the file, or untick it to calculate them.
- Click Start. The progress bar shows. You cannot stop the calculation after it starts.
- On success the message "Operation successfully completed" shows and the page closes. You return to Files Maintenance.
Result
- Each material has a saved price for each month of the period you calculated. The existing bills and entries do not change.
- For the existing bills to take the new prices, reprice them and regenerate their entries (Reprice bills and regenerate their entries).
- Review the result with the report Price List According to Fixed Weighted Average, and check it with the report Verifying Fixed Weighted Average Calculation.
If something goes wrong
| Message | Why it shows | What to do |
|---|---|---|
| The period start date 'from' should be smaller than the period start date 'to' | You chose From period after To period. | Swap the two choices. |
| Can not proceed because the fixed weighted average price of the old period is not calculated | You started from a month that is not the first, and no prices exist before it. | Start from the first month of the file. |
| An error was encountered while performing the operation. | The calculation failed. It shows after one of the two messages above, or after the database refuses the command. | Try again, and if the error repeats, contact technical support. |
The other messages are in Messages.
Related
This page applies to alameen ERP 10, version 10.1.79.764.