Manufactured Materials Cost Deviation
This window compares the cost of the materials that manufacturing bills brought in, estimated by the last purchase price, the average or the maximum, with what was actually recorded in the cost account. It then spreads the difference over the materials in proportion to each material's production value, and shows the actual cost of each material. The window does not generate bills or entries. It changes nothing until you click Update Prices... and confirm. For the working steps and a comparison of the three deviation tools, see Process manufacturing deviations.
Opening the window
- From the ribbon: Manufacturing > Deviation Processing > Manufactured Materials Cost Deviation.
- The command appears if your licence includes the manufacturing feature and you have the Manufactured Materials Cost Deviation permission in Users Management > Operations.
- The matching report, Manufactured Materials Cost Deviation (report), opens from here only, with Preview, Print and Export.
Conditions
You can keep your choices for the next time you open the window: Save window values as default. Dates are not saved.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Temp. Account | The account that carries the posted bills whose materials you want to study, in the bill's customer-account field. The program reads bills whose account is this account or one of its sub-accounts. | Yes | A normal, main or aggregative account. A final account is not accepted. If it is empty you see "Please enter account name". |
| Account | The actual cost account. The program totals its movement and its sub-accounts' movement in the period, as debit and credit. | Yes | The same account types. It is checked before the temporary account, so the same message appears if either is missing. |
| Cost Center | Limits the bills and entries to a cost center. | No | Empty: all centers, including lines and entries with no center. A chosen center: the center and its sub-centers (or the members of an aggregative center). It applies to the bill line's cost center and the entry line's cost center. The field is hidden if your licence does not include cost centers. |
| From | Start of the period. | Yes | Default: the start date of the financial period, or the first day of the current month if the option "start date is period start" is off. |
| To | End of the period. | Yes | Default: today, or the end of the financial period if today is later. The program counts up to the end of this day. |
| Cost | The price used to estimate each material's cost. | Yes | Last Purchase, Average or Maximum. Default: Average. The value comes from the bills that were read, not from the material card (see How the program calculates). |
| Currency | The currency in which amounts are shown. | Yes | Shown if your licence allows more than one currency. Default: the program's default currency. |
| Parity | The exchange rate of the chosen currency. | — | Read-only. Displayed amounts are divided by it. |
| Read unposted entries | Adds unposted entries to the account's debit and credit. | No | Default: cleared, so only posted entries are read. It does not affect bills: only posted bills are read. |
If you change Cost or Currency after calculating, the amounts at the top change at once but the list does not, and Total Actual Production Value becomes wrong. If you change Cost Center or Read unposted entries, nothing changes. In both cases click Calculate again.
Use the program's default currency if you are going to click Update Prices....
Calculation result
Below the conditions are two rows of amounts. Each amount is divided by Parity.
| Field | What it shows |
|---|---|
| Debit and Credit | The total debit and credit of Account and its sub-accounts in the period. |
| Diff | Debit minus Credit. This is the difference that is spread over the materials. Positive: more actual cost was recorded than was assigned to the materials, so their cost goes up. Negative: it goes down. |
| Percentage | Diff divided by Credit, times 100, followed by %. If Credit is zero it shows 100%. |
| Debit Balance and Credit Balance | The total of the accounts with a debit balance, and the total of those with a credit balance, counted separately between the account and its sub-accounts. |
| Diff (second row) and Percentage (second row) | Debit Balance minus Credit Balance, and its ratio to Credit Balance. For information only: it does not enter the spreading of the difference. |
| Total Production Value | The total of the Production Value column. |
| Total Actual Production Value | The total of the Actual Value column. |
List of materials
The list shows one material per row, sorted by material code. Right-click a row to open one of these commands: Display Material Movement..., Display Daily Movement... and Display Material Card.... For lists in general: Grids.
| Column | Meaning |
|---|---|
| Material Code and Material Name | The material. |
| Combination | The material's combination. Shown if your licence includes material dimensions and the option to show the combination is on in the manufacturing options (per computer). |
| Estimated Cost | The first-unit price chosen in Cost, taken from the bills that were read. |
| Production Quantity | Net quantity: incoming bills' quantities plus bonus quantity, minus outgoing bills. |
| Unit | The material's first unit. |
| Production Value | Estimated Cost x Production Quantity. |
| Actual Cost | Estimated Cost + (Diff x Production Value / Total Production Value) / Production Quantity. It equals Estimated Cost when the total production value is zero, and zero when the quantity is zero. |
| Actual Value | Actual Cost x Production Quantity. |
Buttons
| Button | What it does |
|---|---|
| Calculate | Reads the bills and entries and fills the amounts and the list. A progress box with a cancel button appears. If no materials are found you see "No results found in this period". |
| Update Prices... | Opens the Price window to save each material's Actual Cost in its card. |
| Preview | Opens the report in the viewer with the window's values. You do not need to click Calculate first. |
| Prints the same report. If you lack the print permission a message appears. | |
| Export | Exports the same report to a file. |
| Cancel | Closes the window. Calculate changes nothing in the file, so there is nothing to undo. |
Price window
It opens from Update Prices.... Its title is "Price".
Click Calculate and check the list before you click Update Prices..., and do not change Temp. Account, Account or the dates in between. If one of them changed, the program calculates again, but the prices it saves may not be the Actual Cost shown.
| Field | Description | Values and rules |
|---|---|---|
| Save the new cost price as | The price in the material card that receives the Actual Cost. | Last Purchase (default), Maximum, Average, Wholesale, Semi wholesale, Export, Distributor, Retail or Consumer. |
| Ok | Asks "Do you want to save the new cost prices in the materials cards?" followed by the price name. | Yes: saves, then the window closes. No: saves nothing, and the window closes too. No success message appears. |
| Cancel | Closes the window without saving. |
What the program writes in each card, for all materials together in one transaction:
- Average: the average cost price of the first unit only.
- Last Purchase and Maximum: the first-unit price. For the second and third units, the same price multiplied by the unit's conversion factor, if the factor is not zero.
- Selling prices (Wholesale and the ones after it): the first, second and third unit prices in the same way, but only for materials whose price policy in the card is Actual. For the others the program asks "The material price policy is not the actual price policy. Do you want to save the new cost price in the selected price any way?" with the material's code and name. The buttons are Yes (write this material), No (skip it) and Ignore (write this one and all the remaining ones without asking).
- Any material whose new price is zero or negative is skipped silently.
After saving, no record of the old prices remains. To revert, retype them in the material card or use Modify materials prices. For the price fields: Material card: prices and taxes.
How the program calculates
- It reads the posted bills whose account is Temp. Account (or one of its sub-accounts), dated in the period, with lines in the chosen cost center. It uses all bill types: incoming ones count as positive and outgoing ones as negative. Bills you are not allowed to browse, and materials above your security level, are left out without a message.
- It recomputes each material's prices by running through those bills only: Last Purchase is the price of the last bill that affects the last price, Maximum is the highest price in the bills that affect the last price, and Average is the weighted average, including the discounts and extras that the bill type counts as part of cost. These prices are not the ones in the material card.
- It totals the debit and credit of Account and its sub-accounts in the period and cost center (and unposted entries if you asked).
- It computes Diff = debit - credit and spreads it over the materials in proportion to Production Value.
Example (illustrative numbers): the account has debit 1,200 and credit 1,000, so the difference is 200 and the percentage is 20%. Material A: quantity 100, estimated cost (average) 5, so value 500. Material B: quantity 50, cost 10, so value 500. Total production value is 1,000.
| Material | Share of the difference | Actual cost | Actual value |
|---|---|---|---|
| A | 200 x 500 / 1,000 = 100 | 100 / 100 + 5 = 6 | 600 |
| B | 200 x 500 / 1,000 = 100 | 100 / 50 + 10 = 12 | 600 |
The total actual value is 1,200: the production value 1,000 plus the difference 200. If the credit were 1,400, the difference would be -200 and the costs would drop to 4 and 8. With the first figures (credit 1,000), if you choose Average in the Price window and confirm, the average cost price in the two cards becomes 6 and 12.
What changes
- Calculate, Preview, Print and Export change nothing in the file.
- Update Prices... with Yes changes prices in the material cards only. It does not change old bills, their entries or account balances, and it creates no bills or entries. To reprice old bills, see Reprice bills and regenerate their entries.
- To generate two adjustment bills that change the stock value with an entry, use Finished Goods Deviation Processing by Invoices.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please enter account name | Account or Temp. Account is empty at Calculate, Preview, Print, Export or Update Prices.... | Choose both accounts. |
| No results found in this period | No posted bills match the temporary account, the period and the cost center. | Change the conditions. |
A message starting with error ! Executing query: followed by the query text | The database rejected the query. | Try again, and send the text to technical support. |
| You don't have the authority to print | You lack the print permission, at Print. | Ask the system administrator. |
| Do you want to save the new cost prices in the materials cards? … | After Ok in the Price window. | Yes to save, No to back out. |
| The material price policy is not the actual price policy. Do you want to save the new cost price in the selected price any way? | A material whose price policy is not Actual, when you write a selling price. | Yes, No or Ignore as above. |
Related topics
This page applies to alameen ERP 10, version 10.1.79.764.