BeyondERP.Newsletter
Menu

Setup step on the Create price and margin data page · Inventory management

Recalculate prices from commodity costs

See the effect of new commodity prices on product cost and price.

Used by
Purchasing manager, Sales manager
Business process
Develop sales pricing strategy
Menu item
action:PdsComdPricingMarginUpdate
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “All formula items are recalculated”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA job that recalculates the cost price, and with a pricing template the sales price and margin, of every formula item that uses the commodities in a pricing calculation, running a BOM calculation up to the finished goods.
What you do hereUse it after commodity prices are entered, to see what they mean for your products' costs and prices before you change any customer price.
ExampleFor example, after BEAT enters copper at 8.45 for November, it runs the job with that pricing calculation and template CABLE-STD. Cable BEAT-000300 gets a new cost of 12.30 and, with the template's margin, a sales price of 18.45, ready for review on Price margin update.
Create price and margin data page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processDevelop sales policies › Develop sales pricing strategy
Menu pathInventory management › Periodic tasks › Commodity pricing › Create price and margin data
Set up firstPricing calculation Microsoft Learn Pricing template Microsoft Learn
Used next byPrice margin update Microsoft Learn
Related pagesCost basis type Microsoft Learn
In this process Enter commodity prices · Approve commodity prices into trade agreements
End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

When to run it

When to run itAfter the commodity prices for the period are entered.
How oftenEach time a new pricing calculation is entered.
What the output showsPrice and margin data for review: a new cost for every formula item that uses the commodity, and a sales price and margin where a quantity and margin template applies.

Source: Microsoft Learn

Setup steps on this page

Recalculate prices from commodity costs

See the effect of new commodity prices on product cost and price.

Steps from Microsoft

  1. Go to Inventory management > Periodic tasks > Commodity pricing > Create price and margin data.
  2. In Pricing calculation, select the calculation with the new commodity prices.
  3. In Pricing template, select the template whose quantity and margin template sets the cost multiplier, margin and customer relation.
  4. Run it and confirm; it finds all formula items that use the commodity and calculates up the BOM tree to the finished goods.
  5. Open Price margin update and review cost, sales price and margin per item before you create trade agreements.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Pricing calculationThe pricing calculation whose commodity costs are used.Microsoft Learn LME 11/2026
Pricing templateThe template whose quantity and margin template gives the cost multiplier, margin and customer relation.Microsoft Learn CABLE-STD

Common errors and fixes

MessageWhat to do
An item gets a cost price but no sales price.The item has no quantity and margin template in the pricing template. Add it to the template and run again. Microsoft Learn

Test checklist

  1. Enter a pricing calculation for one commodity used in three formula items.
  2. Run the job with a pricing template.
  3. Open Price margin update.
  4. Check that three items are listed with new cost, sales price and margin.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Recalculate prices from commodity costsRun it for each new pricing calculation with the pricing template agreed with sales, then review on Price margin update before any trade agreement.The run only proposes prices; review is the control before customers see them.Who reviews the calculated prices?Running it without a template for some items, so they get no sales price.Test: All formula items are recalculated

Feature management and licence

Licence or add-inOn the live system, Purchasing manager and Sales manager use this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: the job reads and changes only the data of the legal entity you run it in. Microsoft Learn
Can it be undoneReversible: Review data only.
If you change it laterCreates price and margin data for review only; customer prices change only when trade agreements are created and posted from Price margin update. Microsoft Learn
Technical architect

6Technical

Menu itemaction:PdsComdPricingMarginUpdate Checked in Dynamics 365
FormPdsComdPricingMarginDialog Checked in Dynamics 365
Who can open it

2 security roles. Select a role to see its duties and privileges.

  • RolePurchasing managerTradePurchasingManager
    • DutyCommodity pricingPdsComdPricingMaintain
      • PrivilegeMaintain commodity pricing margin update functionPdsComdPricingMarginUpdateMaintain
  • RoleSales managerTradeSalesManager
    • DutyCommodity pricingPdsComdPricingMaintain
      • PrivilegeMaintain commodity pricing margin update functionPdsComdPricingMarginUpdateMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itPurchasing manager TradePurchasingManagerSales manager TradeSalesManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=action:PdsComdPricingMarginUpdate
Data migrationLoad order: Create price and margin data has no data entity in Data management. It calculates from current data; set up formulas, pricing templates and the period's pricing calculation, then run it in the new system.Checked in Dynamics 365
Everyone

8Sources

To cite this step: IM-JOBB-260, Recalculate prices from commodity costs. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-JOBB-260