BeyondERP.Newsletter
Menu

Setup step on the Attribute-based price rules page · Pricing management

Generate trade agreement prices from attribute-based rules

Update many trade agreement prices at once with a rule that applies an amount or a percentage markup to all items and customers that share price attribute values.

See how to set it up Back to Pricing management

Used by
Purchasing agent, Chief executive officer, Accounts receivable manager and 6 more roles
Business process
Set product prices
Menu item
GUPCategoryPriceRule
Main table
RetailCategoryPriceRule
Data entity
RetailCategoryPriceRuleEntity
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. Some of it is Dynamics AX 2012 documentation, an earlier version.
Tests
A ready-to-run test, “Markup rule generates the expected journal price”, 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 page where you create pricing rules that generate sales trade agreement prices for all items and customers that share a combination of price attributes.
What you do hereUse this page to update prices in bulk: one rule applies a fixed amount or a percentage markup on a chosen pricing basis, and matching older trade agreement records can be expired automatically.
ExampleFor example, BEAT's pricing manager sets Price rule Markup 25.00 percent on Price basis Base cost for the line price attribute value Package type = BOX. An item that costs 80.00 gets a trade agreement price of 100.00 after the generated journal is posted.
Attribute-based price rules 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 processIntroduce products › Set product prices
Menu pathPricing management › During-sales pricing › Sales trade agreement price › Attribute-based price rules
Set up firstPrice attribute groups Microsoft Learn Smart rounding (rounding version) Microsoft Learn
Used next byTrade agreement journals Microsoft Learn
Related pagesCategory price rules (Commerce) Microsoft Learn
In this process Post sales trade agreement journals · Validate the price group mapping
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.

Setup steps on this page

Generate trade agreement prices from attribute-based rules

Update many trade agreement prices at once with a rule that applies an amount or a percentage markup to all items and customers that share price attribute values.

Steps from Microsoft

  1. Go to Pricing management > During-sales pricing > Sales trade agreement price > Attribute-based price rules.
  2. Select New and choose who the rule is for: a price group or the header price attribute values, through Edit price attributes.
  3. Set the line price attribute values or the Category that selects the products.
  4. Set the Price rule, the Price basis and the amount or percentage.
  5. Select Generate trade agreements, enter the From date and To date, and finish the wizard; it creates a trade agreement journal that isn't posted.
  6. Select View journals, review the generated prices, and post the journal on Trade agreement journals.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
Price groupThe price group that the generated trade agreement prices are for, when the rule targets a price group.Microsoft Learn
Header price attribute groupThe header price attribute group whose values select the customers that the rule targets.Microsoft Learn
Line price attribute groupThe line price attribute group whose values select the products that the rule targets.Microsoft Learn
CategoryThe product category whose items the rule prices, as in category price rules.Microsoft Learn
Price ruleThe kind of price change: Markup (a percentage of the price basis), Margin (a percentage of the sales price) or Fixed amount (added to the price basis).Microsoft Learn Markup
Price basisThe price that the rule starts from, such as Base cost, Base price or Current price.Microsoft Learn Base cost

Common errors and fixes

MessageWhat to do
The new prices don't reach sales orders.The trade agreement journals that the rule creates aren't posted. Review the prices and post the journal. Microsoft Learn
Old trade agreement prices are still found next to the new ones.Matching existing trade agreement records can be expired by the rule only when they target the same segments. Check the existing lines on the Trade agreements inquiry. Microsoft Learn

Test checklist

  1. Create a rule with Price rule Markup 25 percent on Price basis Base cost for one line attribute value.
  2. Select Generate trade agreements for one month and open the journal with View journals.
  3. Check that a test item with a cost of 80.00 has a journal price of 100.00.
  4. Post the journal and check the price under Applied trade agreements in the Price simulator.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Generate trade agreement prices from attribute-based rulesGenerate into a trade agreement journal, review the lines, then post; choose the Price basis on purposeThe journals that the rule generates aren't posted, so you can check and edit prices before they apply. The price basis decides what the markup is applied to.Which price basis should the rule mark up?Forgetting to post the generated journal. The rule and the journal exist, but orders keep the old price until the journal is posted.Test: Markup rule generates the expected journal price

Feature management and licence

Feature to turn onUnified pricing management (Must be on)
Licence or add-inOn the live system, Sales manager, Sales clerk, Purchasing manager, Purchasing agent, Accounts receivable manager, Accountant, Accounting manager, Chief executive officer and Retail service use this page. The Unified pricing management feature must be turned on.

Microsoft Learn

Solution architect

5Design impact

Shared or per companyOne rule covers every customer and product that matches its price attribute values. Its output is ordinary sales trade agreement journal lines. Microsoft Learn
Can it be undoneReversible with effort: Unposted journals can be deleted; posted prices are changed by a new journal.
If you change it laterGenerating a rule creates trade agreement journal lines for every matching item, and existing trade agreement records that target the same segments can be expired. Nothing changes on orders until the journal is posted. Microsoft Learn
Technical architect

6Technical

Menu itemGUPCategoryPriceRule Checked in Dynamics 365
FormRetailCategoryPriceRule Checked in Dynamics 365
TableRetailCategoryPriceRuleShown as “RETAIL CATEGORY PRICE RULE TABLE” in Record infoChecked in Dynamics 365
Data entitiesRetailCategoryPriceRuleEntityCategory price rules Microsoft data model
Who can open it

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

  • RoleChief executive officerCompanyChiefExecutiveOfficer
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyMaintain sales trade agreement journalsGUPTradeAgreementMaintain
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
  • RoleAccountantLedgerAccountant
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
  • RoleAccounting managerLedgerAccountingManager
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
  • RoleMCRTestUserRole no duty on this page is assigned to this role directly
  • RoleRetail serviceRetailService
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
  • RolePurchasing managerTradePurchasingManager
    • DutyView sales trade agreement journalsGUPTradeAgreementInquiry
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
  • RoleSales clerkTradeSalesClerk
    • DutyView sales trade agreement journalsGUPTradeAgreementInquiry
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
    • DutyInquire into product sales prices and discount masterPriceDiscProdSalesPriceDiscMasterInquir
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
  • RoleSales managerTradeSalesManager
    • DutyView sales trade agreement journalsGUPTradeAgreementInquiry
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
    • DutyMaintain sales trade agreement journalsGUPTradeAgreementMaintain
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
    • DutyInquire into product sales prices and discount masterPriceDiscProdSalesPriceDiscMasterInquir
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
    • DutyApprove product prices and discountsPriceDiscProductPricesDiscountsApprove
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain sales trade agreement journalsGUPTradeAgreementMaintain
    • DutyApprove product prices and discountsPriceDiscProductPricesDiscountsApprove
      • PrivilegeView sales trade agreement journalsGUPTradeAgreementView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRetail service RetailServiceSales manager TradeSalesManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerPurchasing agent VendPurchasingAgentTo use itSales clerk TradeSalesClerkPurchasing manager TradePurchasingManagerAccountant LedgerAccountantAccounting manager LedgerAccountingManagerChief executive officer CompanyChiefExecutiveOfficerGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Generate trade agreements, View journals, Display dimensions, Edit price attributesChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=GUPCategoryPriceRule
Integrate withRetailCategoryPriceRuleEntity data entity Microsoft data model
Data migrationRetailCategoryPriceRuleEntity (Category price rules): loaded for each company.Load order: Load price attribute groups, price groups and categories first, then the rules. Generate and post the trade agreement journals in the target system.Load first: Price attribute groups, Price groupsMicrosoft Learn
Table definitionRetailCategoryPriceRule columns and relations Microsoft data model
Everyone

8Sources

To cite this step: PRM-PRA-040, Generate trade agreement prices from attribute-based rules. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PRM-PRA-040