Skip to main content

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.

FieldDescriptionRequiredValues and rules
Temp. AccountThe 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.YesA normal, main or aggregative account. A final account is not accepted. If it is empty you see "Please enter account name".
AccountThe actual cost account. The program totals its movement and its sub-accounts' movement in the period, as debit and credit.YesThe same account types. It is checked before the temporary account, so the same message appears if either is missing.
Cost CenterLimits the bills and entries to a cost center.NoEmpty: 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.
FromStart of the period.YesDefault: 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.
ToEnd of the period.YesDefault: today, or the end of the financial period if today is later. The program counts up to the end of this day.
CostThe price used to estimate each material's cost.YesLast 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).
CurrencyThe currency in which amounts are shown.YesShown if your licence allows more than one currency. Default: the program's default currency.
ParityThe exchange rate of the chosen currency.—Read-only. Displayed amounts are divided by it.
Read unposted entriesAdds unposted entries to the account's debit and credit.NoDefault: cleared, so only posted entries are read. It does not affect bills: only posted bills are read.
note

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.

note

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.

FieldWhat it shows
Debit and CreditThe total debit and credit of Account and its sub-accounts in the period.
DiffDebit 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.
PercentageDiff divided by Credit, times 100, followed by %. If Credit is zero it shows 100%.
Debit Balance and Credit BalanceThe 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 ValueThe total of the Production Value column.
Total Actual Production ValueThe 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.

ColumnMeaning
Material Code and Material NameThe material.
CombinationThe 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 CostThe first-unit price chosen in Cost, taken from the bills that were read.
Production QuantityNet quantity: incoming bills' quantities plus bonus quantity, minus outgoing bills.
UnitThe material's first unit.
Production ValueEstimated Cost x Production Quantity.
Actual CostEstimated 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 ValueActual Cost x Production Quantity.

Buttons​

ButtonWhat it does
CalculateReads 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.
PreviewOpens the report in the viewer with the window's values. You do not need to click Calculate first.
PrintPrints the same report. If you lack the print permission a message appears.
ExportExports the same report to a file.
CancelCloses 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".

warning

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.

FieldDescriptionValues and rules
Save the new cost price asThe price in the material card that receives the Actual Cost.Last Purchase (default), Maximum, Average, Wholesale, Semi wholesale, Export, Distributor, Retail or Consumer.
OkAsks "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.
CancelCloses 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​

  1. 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.
  2. 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.
  3. It totals the debit and credit of Account and its sub-accounts in the period and cost center (and unposted entries if you asked).
  4. 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.

MaterialShare of the differenceActual costActual value
A200 x 500 / 1,000 = 100100 / 100 + 5 = 6600
B200 x 500 / 1,000 = 100100 / 50 + 10 = 12600

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​

Messages​

MessageWhy it appearsWhat to do
Please enter account nameAccount or Temp. Account is empty at Calculate, Preview, Print, Export or Update Prices....Choose both accounts.
No results found in this periodNo 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 textThe database rejected the query.Try again, and send the text to technical support.
You don't have the authority to printYou 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.

This page applies to alameen ERP 10, version 10.1.79.764.