BeyondERP.Newsletter
Menu

Setup page · Inventory management

Attribute-based pricing details

A setup page where you create batch attribute-based pricing formulas that calculate the purchase price of a potency item.

Read the guide Back to Inventory management

Used by
Purchasing agent, Project manager, Purchasing manager and 1 more role
Business process
Procure goods and services
Menu item
PDSCalculationTable
Main table
PDSCalculationTable
Setup steps
2 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, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
2 ready-to-run tests to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you create batch attribute-based pricing formulas that calculate the purchase price of a potency item.
What you do hereUse this page to change the purchase price paid for a potency item by using calculation equations based on its batch attributes.
ExampleFor example, BEAT receives batch BEAT-B-000812 of a potency item with an actual potency of 92.00 against a target of 100.00, and a formula Price * Actual / Target turns a purchase price of 50.00 into 46.00 per kg.
Attribute-based pricing details 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 processProcure goods and servicesManage supplier relationships › Manage supplier pricing
Menu pathInventory management › Setup › Price/discount › Attribute-based pricing details
Set up firstBatch attributes Microsoft Learn
Used next byAll purchase orders Microsoft Learn
Related pagesReleased products Microsoft Learn
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.

Step by step, with screenshots

Set up Attribute-based pricing details1 screen

Use this page to change the purchase price paid for a potency item by using calculation equations based on its batch attributes.

  1. Screen 1

    Create the attribute-based pricing record

    Go to Procurement and sourcing > Setup > Prices and discounts > Attribute-based pricing details

    1. Select New and enter the name and description
    2. Under Elements, select Add variable
    3. Choose the equation element type and enter its value
    4. Select Save
    1Attribute-based pricing IDBEAT-00001
    2NameMarkup
    3DescriptionPrice markup factor
    Element AConstant 1.05
    Create the attribute-based pricing record (zoomed on the outlined fields)
    Show the full screenCreate the attribute-based pricing record
    page title tab to open what to set or check
Set up attribute-based pricing formulas

Price potency items from their batch attributes instead of a fixed purchase price.

Steps from Microsoft

  1. Go to Inventory management > Setup > Price/discount > Attribute-based pricing details.
  2. Select New to create a pricing formula line.
  3. In the Attribute-based pricing ID field, enter a code for the formula.
  4. On the Equation FastTab, enter the equation that calculates the purchase price.
  5. Select Validate equation.
  6. On the Elements FastTab, select Add variable and enter the Equation element, Equation element type, Attribute and Constant values.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Attribute-based pricing IDA code that identifies the attribute-based pricing formula.Microsoft Learn BEAT-00001CalculationId
EquationThe formula that calculates the purchase price of the potency item.Microsoft Learn CalculationText
Equation elementA name for a set of values used in the equation, written with letters only.Microsoft Learn Element
Equation element typeWhat the element stands for, such as purchase receipt quantity, purchase price, an actual or target batch attribute, or a constant.Microsoft Learn ElementType
AttributeThe batch attribute used in the calculation, for actual or target batch attribute elements.Microsoft Learn PdsBatchAttribId
ConstantA fixed value or quantity used in the calculation.Microsoft Learn Constant
NameThe name of the attribute-based pricing formula.Checked in Dynamics 365MarkupName
DescriptionA description of the attribute-based pricing formula.Checked in Dynamics 365Price markup factorDescription
Element AAn element of the equation named A, shown with its element type and value; here it is a constant of 1.05.Checked in Dynamics 365Constant 1.05

Common errors and fixes

MessageWhat to do
The equation can't be validated.Name every equation element with letters only, add each element that the equation uses on the Elements FastTab, and select Validate equation again. Microsoft Learn

Test checklist

  1. Create formula BEAT-00001 with elements for purchase price, actual and target batch attribute.
  2. Select Validate equation and fix any element name with digits or symbols.
  3. Receive a batch of the potency item with an actual potency of 92.00 against a target of 100.00.
  4. Check that the purchase price is 46.00 instead of 50.00.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Attribute-based pricing detailsOne formula per pricing rule agreed with the vendor, built from Purchase price, Batch attribute - Actual and Batch attribute - Target elements and validated before useThe formula calculates the purchase price of the potency item from its batch attributes, so the price follows the measured potency instead of a fixed price.Naming equation elements with digits or symbols, or leaving out an element the equation uses; elements must be letters only, and the equation must be validated.Test: Potency formula prices a batch
Set up attribute-based pricing formulasOne validated formula per pricing rule agreed with the vendor, built from Purchase price, Batch attribute - Actual and Batch attribute - Target elementsThe formula calculates the purchase price of the potency item from its batch attributes, so the price follows the measured potency.Should potency items be priced by formula?Naming equation elements with digits or symbols, or leaving out an element that the equation uses; elements must be letters only and the equation must validate.Test: Formula prices a potency receipt

Feature management and licence

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

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible with effort: Formulas can be edited or replaced at any time; check the pricing of open receipts after a change. Microsoft Learn
If you change it laterThe formula calculates the purchase price of the potency item from its batch attributes, so receipts are priced from the measured attribute values instead of a fixed price. Microsoft Learn
Technical architect

6Technical

Menu itemPDSCalculationTable Checked in Dynamics 365
FormPDSCalculationTable Checked in Dynamics 365
TablePDSCalculationTableShown as “Calculation” in Record infoChecked in Dynamics 365
Who can open it

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

  • RoleProject managerProjProjectManager
    • DutyInquire into sales agreement masterAgreementSalesAgreementMasterInquire
      • PrivilegeAttribute-based pricing viewPDSCalculationTableView
  • RolePurchasing managerTradePurchasingManager
    • DutyInquire into purchase order to invoice reference dataPurchOrderToInvoiceReferenceDataInquire
      • PrivilegeAttribute-based pricing viewPDSCalculationTableView
  • RoleSales managerTradeSalesManager
    • DutyInquire into sales agreement masterAgreementSalesAgreementMasterInquire
      • PrivilegeAttribute-based pricing viewPDSCalculationTableView
    • DutyMaintain sales agreement masterAgreementSalesAgreementMasterMaintain
      • PrivilegeMaintain attribute-based pricingPDSCalculationTableMaintain
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain attribute-based pricingPDSCalculationTableMaintain
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain attribute-based pricingPDSCalculationTableMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itSales manager TradeSalesManagerPurchasing agent VendPurchasingAgentTo use itPurchasing manager TradePurchasingManagerProject manager ProjProjectManagerGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PDSCalculationTable
Data migrationLoad order: Attribute-based pricing details has no data entity in Data management. Enter the formulas by hand in each company after batch attributes are set up.Checked in Dynamics 365
Table definitionPDSCalculationTable columns and relations Microsoft data model
Everyone

8Sources