Purchasing agent, Project manager, Purchasing manager and 1 more role
Business process
Manage supplier pricing
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
A ready-to-run test, “Formula prices a potency receipt”, 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 is
A setup page where you create batch attribute-based pricing formulas that calculate the purchase price of a potency item.
What you do here
Use this page to change the purchase price paid for a potency item by using calculation equations based on its batch attributes.
Example
For 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.
The page in Dynamics 365. page title tab to open what to set or check
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 formulas
Price potency items from their batch attributes instead of a fixed purchase price.
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.
Screen 1
Create the attribute-based pricing record
Go to Procurement and sourcing > Setup > Prices and discounts > Attribute-based pricing details
Select New and enter the name and description
Under Elements, select Add variable
Choose the equation element type and enter its value
Select Save
1Attribute-based pricing ID
BEAT-00001
2Name
Markup
3Description
Price markup factor
Element A
Constant 1.05
Show the full screen page title tab to open what to set or check
Steps from Microsoft
Go to Inventory management > Setup > Price/discount > Attribute-based pricing details.
Select New to create a pricing formula line.
In the Attribute-based pricing ID field, enter a code for the formula.
On the Equation FastTab, enter the equation that calculates the purchase price.
Select Validate equation.
On the Elements FastTab, select Add variable and enter the Equation element, Equation element type, Attribute and Constant values.
A code that identifies the attribute-based pricing formula.Microsoft Learn
BEAT-00001
CalculationId
Equation
The formula that calculates the purchase price of the potency item.Microsoft Learn
CalculationText
Equation element
A name for a set of values used in the equation, written with letters only.Microsoft Learn
Element
Equation element type
What the element stands for, such as purchase receipt quantity, purchase price, an actual or target batch attribute, or a constant.Microsoft Learn
ElementType
Attribute
The batch attribute used in the calculation, for actual or target batch attribute elements.Microsoft Learn
PdsBatchAttribId
Constant
A fixed value or quantity used in the calculation.Microsoft Learn
Constant
Name
The name of the attribute-based pricing formula.Checked in Dynamics 365
Markup
Name
Description
A description of the attribute-based pricing formula.Checked in Dynamics 365
Price markup factor
Description
Element A
An element of the equation named A, shown with its element type and value; here it is a constant of 1.05.Checked in Dynamics 365
Constant 1.05
Common errors and fixes
Message
What 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
Create formula BEAT-00001 with elements for purchase price, actual and target batch attribute.
Select Validate equation and fix any element name with digits or symbols.
Receive a batch of the potency item with an actual potency of 92.00 against a target of 100.00.
Check that the purchase price is 46.00 instead of 50.00.
One 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.
One 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
Feature management and licence
Licence or add-in
On the live system, Project manager, Purchasing manager, Sales manager and Purchasing agent use this page.
Reversible with effort: Formulas can be edited or replaced at any time.
If you change it later
The 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 item
PDSCalculationTableChecked in Dynamics 365
Form
PDSCalculationTableChecked in Dynamics 365
Table
PDSCalculationTableShown 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
To 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 page
Options: Personalize, Page options, ShareChecked in Dynamics 365
Load 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
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
To cite this step: IM-SETB-040, Set up attribute-based pricing formulas. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/IM-SETB-040