Skip to content

Item Costing#

Overview#

Fully integrated into Microsoft Dynamics 365 Business Central, the Item Costing app provides you with:

  • Consistent, highly precise, and reliable data to inform your decision-making processes in manufacturing and sales.
  • Fully customizable cost schedules and automated workflows to streamline your business operations and minimize errors.
  • Different valuation scenarios based on unit, direct unit, and last direct costs.
  • Options for specifying custom surcharges, overheads, and lot sizes, adding list prices to the item master, and comparing calculation results.
  • A history of every calculation ever performed and a powerful log function to correct calculation errors immediately.

You can create both setup and demo data with the app and use the calculations that you perform during standard posting processes, for example, to recognize the costs of material consumption by your production department or a subcontractor on your company’s balance sheet. You can also specify context-dependent overhead rates, if needed.

Setup#

Costing & Valuation Setup#

To set up the costing functionality:

  1. Choose the Search icon, enter Costing & Valuation Setup, and then choose the related link.
  2. Fill in the fields as described in the following table.

General#

Field Description
Cost Base (Raw Mat./Purchases) Specify the cost base that should be used to calculate prices for raw materials and purchased components.

Unit Cost
Uses the unit cost specified in the item master.

Last Direct Cost
Uses the last direct cost from the item master.

Direct Unit Cost
With the replenishment system set to Purchase, uses the unit cost that you specified for the item’s vendor (on the Unit Cost page) and the currently valid discount in percent (from the Purchase Discount Line page) to determine a value according to the best price method and based on the date of calculation and quantity entered.

Unit / Direct Unit / Last Direct Cost
Uses the direct unit cost, if available, and the last direct cost if it is not—or the unit cost entered in the item master if neither of the two is in the system.

Note
The field can also be found on item cards, where it serves the same purpose but takes priority over the default option selected here.
Copy from Std. Cost/List Price Wksh. This field is relevant to assemblies or components with more than one item.

Specify if the cost calculations performed for each item should be entered in the item master before the values are added up to arrive at the final cost.

Single-Level
The standard cost is copied only to the item that the calculation is performed for.

All Levels
The standard cost is copied to all assemblies and components that the system found during calculation.
Decimals - Unit/Cost Amt. Specify the number of decimal places that will be used for cost and unit amounts of, for example, items, work centers, and resources (in local currency per unit).

The default setting is 2:5, that is, amounts are shown with at least two and at most five decimal places.
You can also fill in just one number here to tell the system how many decimal places should be shown each time.
Decimals - Quantities Specify the number of decimal places that will be used to display a quantity in the system.

The default setting is 2:5, that is, quantities are shown with at least two and at most 5 decimal places.

You can also fill in just one number here to tell the system how many decimal places should be shown each time.
Explode Costing BOM Specify how you want a cost structure to appear when opened. The costing BOM provides you with a condensed view of the values that you entered on cost worksheets.

Single-Level
Only shows level 0.

Rolled-up
The BOM is completely exploded for all levels.

Unless you select the Standard costing method, the unit cost represents the average cost of an item across all available inventory. The last direct cost, on the other hand, isn’t an average value but refers to the item’s most recent cost. The field is updated when you post documents including the item. For more information about the types of costs entered on item cards, see About unit cost calculation - Business Central | Microsoft Learn.

Assuming you replenish items that are consumed for make-to-stock or assemble-to-stock in regular intervals, we recommend the use of the unit or the last direct cost in cost calculation. Typically, either comes close to the actual cost posted later.

Although the cost of items that you need to buy only for a specific order can also be calculated in this way, using current purchase prices as a basis for calculation might be advisable, especially if the item is rarely ordered.

Note

In Microsoft Dynamics 365 Business Central, unit costs are calculated based on the formula Unit Cost (LCY) = (Direct Unit Cost – (Discount Amount / Quantity)) x (1 + Indirect Cost % / 100) + Overhead Rate.

In other words, the unit cost includes item charges, such as freight and precious metal fees, and discounts. The direct unit cost, on the other hand, is what you would pay for purchasing the item prior to taking charges and discounts into account.

Numbering#

Field Description
Costing Default Nos. Specify the number series that will be used for cost calculation defaults.
Cost Condition Nos. Specify the number series that will be used for cost conditions.

Note
You can use the same code for two or more series and then run the Relationships action on the No. Series page to assign them to each other.

Assembly#

Field Description
Direct Cost
No. Select from the chart of cost elements the element that will be used to assign direct costs to assembly orders.
Description Shows the description of the direct cost element.
Overhead Cost
No. Select from the chart of cost elements the element that will be used to assign indirect costs to assembly orders.
Description Shows the description of the overhead cost element.

Create Setup Data – ribbon function#

Running this action creates sample costing data by using the records in the CRONUS demonstration company.

Base data and process workflows for items ICO-0001 to ICO-0008 (which can then be used for costing and production orders, for example) are set up during this process, as well as the following records:

When you run the Create Setup Data action under the same menu item, only the data included on the bullet list will be created.

Chart of cost elements#

The chart of cost elements is the basis for cost calculations and similar in form and function to the chart of accounts in the Finance area. It is used to save, standardize, and group cost elements for comparison.

Note

A filled-in chart is already part of the demo data provided with the Item Costing app. You can use the chart as provided or customize it so that it better suits the needs of your company.

To set up the chart:

  1. Choose the Search icon, enter Chart of Cost Elements, and then choose the related link.
  2. Fill in the fields as described in the following table.
Field Description
No. Specify a unique number to identify the cost element.

You can enter a maximum of 20 characters in this field, both numbers and letters.

Note
We recommend that you specify a large enough gap between numbers so that you can add more elements later. For example, you could add a zero to the end of each account number and two zeros to the end of all account groups.
Description Enter a text to describe the calculation.
Cost Group Specify the area that the cost element will be used in when you assign an item or a capacity to the chart of cost elements based on condition statements.

Material Cost or Material Overhead
Select one of these two options if the element should be used for cost conditions of type Material (that is, if the item’s replenishment system is set to Purchase).

Material costs can be direct costs, as specified in the Last Direct Cost field, or overhead costs, calculated based on the value in the Indirect Cost %, Overhead Rate, Indirect Cost % (Consumption), or Overhead Rate (Consumption) field.

Capacity Cost or Capacity Overhead
Select one of these two options if the element should be used for cost conditions of type Capacity.

Capacity costs can be direct costs, as specified in the Direct Unit Cost field on a machine or work center record, or indirect costs, calculated from the Indirect Cost % or Overhead Rate value entered on the record.

Subcontracted Cost or Subcontrd. Overhead
Select one of these two options if the element should be used for cost conditions of type Capacity in combination with a subcontracted work center (or a machine center assigned to it).

This means that the Vendor No. field must be filled in on the relevant item card. Subcontractor costs are either direct costs, as specified in the Direct Unit Cost field on the work center or related machine center record, or indirect costs, calculated based on the Indirect Cost % or Overhead Rate field filled in there.

Mfg. Overhead
Select one of these two options if the element should be used for cost conditions of type Manufacturing (that is, if the item’s replenishment system is set to Prod. Order).

Manufacturing costs are indirect costs, which can be specified in the Indirect Cost % or Overhead Rate fields on the card of a (production or assembly) item.

Sales Overhead
Admin Overhead
Gain/Loss
Commission/Pmt. or Inv. Discount
Select one of these options if the cost element should be used for cost conditions of type Item Charge.

All describe costs that cannot be recognized on the balance sheet, that is, they represent the difference between an item’s sales and unit price.
Type Specifies the type of record.

Cost Element
Select this option for the actual cost elements, which are later used to assign calculation results to master records.

Heading
Select this option to specify a description for a group of cost elements.

Total
Select this option and set a filter on the Totaling field to add up certain elements.

Begin-Total or End-Total
The first option indicates where the totaling of cost elements should start, the second where it should end. In the latter case, another filter should be set on the elements themselves.
Totaling After you specify an interval or another type of filter to limit the number of cost elements included in a calculation, the remaining elements are totaled and shown in this field.

This means that the field must be blank for lines of type Cost Element, Begin-Total, and Heading.

For lines of type End-Total, the field is filled in automatically when you run the Indent Element Chart action from the ribbon. The elements to total are enclosed by a Begin-Total and an End-Total field.

If you select the Total option, you must manually specify the elements to add up.

Note

You must assign a cost group to each record of type Cost Element on this page. For all other lines (headings, totals, begin-totals, and end-totals), the field remains empty.

Ribbon functions#

Indent Element Chart#

Sets a filter for elements of type End-Total in the Totaling field.

Comments#

Used to store comments about a cost element. The page also shows when certain comments were added or changed.

Cost conditions#

The result of each cost calculation is assigned to a cost element based on certain conditions.

  1. Choose the Search icon, enter Cost Conditions, and then choose the related link.
  2. On the ribbon, choose New and then select one of the options for creating a condition – Material, Production, Capacity, or Item Charge.
  3. Fill in the fields as described in the following subsections.

When you’ve specified the general settings for a type of direct and overhead costs on the condition header, you can use one or more condition lines to set up exactly how you want costs to be calculated.

After you’ve set up the condition, it will be shown on the Cost Conditions page with the selected cost group specified in the Type field. You can then run one of the following functions to assign the condition to a master record (such as an item or a work center) based on that group.

Ext. Item Overhead Conditions Material or Manufacturing
Ext. Cap. Overhead Conditions Capacity
Cost Condition – Item Charge Item charges

Conditions entered on the lines have a higher priority than those specified by the Ext. Item Overhead Conditions and Ext. Cap. Overhead Conditions functions. This is true for direct costs (entered in the Direct Unit Cost field) and indirect costs (entered in the Indirect Cost % or Overhead Rate field) specified for a master table.

Note

A set of fully functional cost conditions is already part of the demo data provided with the Item Costing app. You can use them as provided or adjust them to better suit the needs of your company.

Cost Condition – Material#

On this page, which opens when you run the Create Condition – Material action from the Cost Condition ribbon, you can specify conditions of type Material.

Afterward, you can run the Ext. Item Overhead Conditions action on the page to link each condition to an item so that it can be used to calculate the cost of (purchased) raw materials.

General#
Field Description
No. Specify the number of the condition.
Description Enter a description for the condition.
Direct Material Cost
No. Select from the chart of cost elements the number that will be used for direct material costs.

Only elements of group Material can be selected in this field.
Description Shows the description of the selected element.
Material Overhead Cost
No. Select from the chart of cost elements the number that will be used for indirect material costs.

Only elements of group Material Overhead can be selected in this field.
Description Shows the description of the selected element.
Lines#
Field Description
Description Enter a description for the condition line.
Cost Element Specify the cost element that the line should be assigned to.

Only elements of groups Direct Material and Material Overhead can be selected in this field.

Note
If you assign an element of cost group Material to the line, the system uses the direct material costs (unit cost, last direct cost, or direct unit cost) specified on this line for costing, not the cost values entered in the item master.
Cost Element Description Is filled in automatically when you select a cost element.
Row No. Fill in this field if you want to link condition lines to each other to create a valuation base for percentage charges.
Costing Type Specify what is shown in the Value field. Options are:

Percent
The number in the Value field represents a percentage.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct material cost (see also Chart of Cost Elements).

With the Row No. field filled in, costing is performed by using the sum of all lines that the same cost element, row number, and costing type is selected for.

Amount
The Value field represents an amount.

You can store a set amount for inclusion in costing (see also Chart of Cost Elements). Additionally, with the Row No. field filled in, this line can be linked to another where the Costing Type is set to Percent so that you can, for example, add more overhead charges.
Value The value in this field depends on the costing type that you selected.

Percent
Shows a percentage value.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct material cost (see also Chart of Cost Elements).

If the field is filled in, the valuation base is the total of all cost condition lines with the same row number.

Amount
Shows an amount.

Depending on the kind of cost element this field is filled in for, the amount is part of the direct material costs or of overhead (see also Chart of Cost Elements).

Cost Condition – Production#

On this page, which opens when you run the Create Condition – Production action from the Cost Condition ribbon, you can specify conditions of type Manufacturing.

Afterward, you can run the Ext. Item Overhead Conditions action on the page to link each condition to an item so that it can be used to calculate the cost of finished (that is, processed) goods.

General#
Field Description
No. Specify the number of the condition.
Description Enter a description for the condition.
Direct Mfg. Cost
No. Select from the chart of cost elements the number that will be used for direct material or other direct manufacturing costs.

Only elements of group Material can be selected in this field.
Description Shows the description of the selected element.
Mfg. Overhead Cost
No. Select from the chart of cost elements the number that will be used for indirect manufacturing costs, such as tool costs.

Only elements of group Mfg. Overhead can be selected in this field.
Lines#
Field Description
Description Enter a description for the condition line.
Cost Element Specify the cost element that the line should be assigned to.

Only elements of groups Material Cost and Mfg. Overhead can be selected in this field.

Note
If you assign an element of cost group Material, the direct material costs are not included when you calculate the overhead but will be part of the overhead rate on the calculation BOM.
Cost Element Description Is filled in automatically when you select the cost element.
Row No. Fill in this field if you want to link condition lines to each other to create a valuation base for percentage charges.
Costing Type Specify what is shown in the Value field. Options are:

Percent
The number in the Value field represents a percentage.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct unit cost specified on the source line (that is, the material and capacity costs added together).

With the Row No. field filled in, costing is performed by using the sum of all lines that the same cost element and row number is selected for and where the costing type is set to Amount.

Amount
The Value field represents an amount.

You can store a set amount for inclusion in costing (see also Chart of Cost Elements). Additionally, with the Row No. field filled in, this line can be linked to another where the Costing Type is set to Percent so that you can, for example, add more overhead charges.
Value The value in this field depends on the costing type that you selected.

Percent
Shows a percentage value.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct unit cost specified on the source line (that is, the material and capacity costs added together).

With the Row No. field filled in, costing is performed by using the sum of all lines that the same cost element and row number is selected for and where the costing type is set to Amount.

Amount
Shows an amount.

Depending on the kind of cost element this field is filled in for, the amount is part of the direct unit cost or of overhead (see also Chart of Cost Elements).

Cost Condition – Capacity#

On this page, which opens when you run the Create Condition – Capacity action from the Cost Condition ribbon, you can specify conditions of type Capacity.

Afterward, you can run the Ext. Cap. Overhead Conditions action on the page to link each condition to a work or machine center so that it can be used to calculate the cost of capacities (for example, because of routings stored for processed items).

General#
Field Description
No. Specify the number of the condition.
Description Enter a description for the condition.
Direct Capacity Cost
No. Select from the chart of cost elements the number that will be used for direct manufacturing costs.

Only elements of groups Capacity and Subcontracted can be selected in this field.
Description Shows the description of the selected element.
Capacity Overhead Cost
No. Select from the chart of cost elements the number that will be used for indirect manufacturing costs.

Only elements of groups Capacity and Subcontracted can be selected in this field.
Lines#
Field Description
Description Enter a description for the condition line.
Cost Element Specify the cost element that the line should be assigned to.

Only elements of groups Capacity, Capacity Overhead, Subcontracted Cost, and Subcontrd. Overhead can be selected in this field.

Note
If you assign an element of cost group Capacity or Subcontracted, the system will use the direct capacity or subcontracted cost entered on this line for costing, not the cost values specified in the work or machine center master.
Cost Element Description Is filled in automatically when you select the cost element.
Row No. Fill in this field if you want to link condition lines to each other to create a valuation base for percentage charges.
Setup Time With the toggle turned on, the calculation for the selected interval only includes the setup time.
Allocation % Specifies the percentage used to determine the unit cost based on the calculated value.
Costing Type Specify what is shown in the Value field. Options are:

Percent
The number in the Value field represents a percentage.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct capacity cost (see also Chart of Cost Elements).

With the Row No. field filled in, costing is performed by using the sum of all lines that the same type of condition, row number, and costing type has been selected for.

Amount
The Value field represents an amount.

The line amount is calculated by multiplying the specified value with the time scheduled for the relevant operation. Additionally, with the Row No. field filled in, this line can be linked to another where the Costing Type is set to Percent so that you can, for example, add more overhead charges.
Value The value in this field depends on the costing type that you selected.

Percent
Shows a percentage value.

If the Row No. field on the condition line is not filled in, the percentage is calculated based on the direct capacity cost (see also Chart of Cost Elements).

If the field is filled in, the valuation base is the total of all cost condition lines with the same cost element and row number.

Amount
Shows an amount. The amount is calculated by multiplying the specified value with the time scheduled for the relevant operation.

Depending on the kind of cost element this field is filled in for, the amount is part of the unit cost or of overhead (see also Chart of Cost Elements).

Cost Condition – Item Charge#

On this page, which opens when you run the Create Condition – Item Charge action from the Cost Condition ribbon, you can specify conditions of type Item Charge and then assign each condition to an item so that it can be used to calculate the cost of processed goods.

In other words, you no longer specify an item’s manufacturing cost, but the charges added to arrive at its list price.

General#
Field Description
No. Specify the number of the condition.
Description Enter a description for the condition.
Copy Price Specify where in the item master to store the item price calculated on a cost worksheet.

No
The price will not be copied.

List Price
Copies the value to the List Price field on the relevant item card.

Unit Price
Copies the value to the Unit Price field in the item master.

Sales Price
Copies, based on the sales type and sales code, the value to the sales price table related to the item.

List Price & Sales Price
Copies the value to the List Price field and the sales price table.
Sales Type Used when a list price is copied to the sales price table. Options are:

• Custom
• Customer Price Group
• All Customers
• Campaign

This field is grayed out unless the List Price or List Price & Sales Price option is selected in the Copy Prices field.
Sales Code Used when a list price is copied to the sales price table.

What you can select here depends on the sales type associated with the record.

For example, if you select sales type Customer Price Group, you can choose any customer price group available to you. This way, you can specify charge calculations for each customer group, campaign, or individual customer stored in the system.
Lines#
Field Description
Row No. Fill in this field if you want to link condition lines to each other to create a valuation base for percentage charges.
Description Enter a description for the condition line.
Costing Type Specify, if available, what is shown in the Formula/Code field.

Amount
Shows an amount. Additionally, with the Row No. field filled in, this line can be linked to another where the Costing Type is set to Percent so that you can, for example, add more overhead charges.

Cost Element
With this option, you can specify an item charge line based on the value of a cost element. The element can also be an end-total line.
Formula/Code The value in this field depends on the costing type that you selected.

(empty)
The condition line has no influence on calculations. This option can be used, for example, for headings or descriptive lines.

Amount
Shows a constant (number with decimals). Additionally, with the Row No. field filled in, this line can be linked to another where the Costing Type is set to Percent.

Cost Element
The line represents a cost element. Using it in a calculation will fill in the Rolled-Up Amt. per Unit field automatically.

With the element option, you can, for example, determine an item charge from the value of a certain cost element. This element can also be an end-total line.

Formula
Contains an arithmetic formula. You can include a row number in this formula, for example, to calculate a valuation base. Available operators are +,–, , and /, plus nested parentheses () and special characters % and §.

Example
5% A means 5 percent of the total of all item charge lines with row number A. Assuming the total is 100, the charge would be 5, that is, 100/100
5.

§ is short for ‘percent as a fraction of 100.’

Example
5 § B means 5 percent of the total of all item charge lines with row number B. Assuming the total is 100, the charge would be 4.76, that is, 100/105*5.
Rounding Method Specify if you want to round the values that are calculated based on cost conditions on a cost worksheet.

The way values are rounded is determined by the rounding method selected in the item master.

You can choose to round every calculated number up or down or round to the nearest value, that is, round up only when the decimal is equal to or greater than 5.
Cost Element Specify the cost element that the line should be assigned to.

While a line can, in principle, be assigned to an element of any cost group, we recommend that you ensure each is associated with the group that you want to use the condition for.
Cost Element Description Description to follow.
List Price Select if the price on the line should be used as the list price.
Bold Description to follow.
Error Text Contains the error message that will be shown when you enter an incorrect formula.