BeyondERP.Newsletter
Menu

Setup step on the Trade agreement journals page · Pricing management

Post sales trade agreement journals

Enter negotiated customer prices as trade agreement journal lines, validate them and post them so that they take priority over the item base price.

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
GUPPriceDiscAdmTable_Sales
Main table
PriceDiscAdmTable
Data entity
TradeAgreementJournalHeaderEntity
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, “Net trade agreement price is not changed”, 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 and manage sales trade agreement journals, which hold negotiated prices for specific products and customers.
What you do hereUse this page to create journals, add pricing rule lines that set which prices apply to which combinations of customers and products, and then validate and post them.
ExampleFor example, BEAT agrees a net price of 18.50 per piece for item BEAT-ITM-0042 with customer BEAT-CUST-0001 for 2027. The journal line has Allow price adjustment set to No and Prevent Discount set to Yes, so no margin adjustment or discount changes the 18.50.
Trade agreement journals 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

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

Post sales trade agreement journals

Enter negotiated customer prices as trade agreement journal lines, validate them and post them so that they take priority over the item base price.

Steps from Microsoft

  1. Go to Pricing management > During-sales pricing > Sales trade agreement price > Trade agreement journals.
  2. Make sure that the Show field is set to All or Not posted, and then select New.
  3. In the Name field, select a trade agreement journal name, and then select Save.
  4. On the Action Pane, select Lines.
  5. Select New, choose the price attribute group combination and the customer and product conditions, and then select OK.
  6. Set the quantity range, Unit, Amount in currency, Currency, From date and To date for each line.
  7. Select Validate > Validate all lines.
  8. Select Post, and then select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
NameThe trade agreement journal name, which must have price attributes enabled and the relation Price (sales).Microsoft Learn JournalName
Price/discount journal numberA number generated when the journal is first saved; it is then read-only.Microsoft Learn JournalNum
PostedShows whether the journal has been posted.Microsoft Learn Posted
Enable price attributesRead-only; taken from the selected journal name.Microsoft Learn
Allow price adjustmentWhen selected, margin component price adjustments can be added on top of the agreement price.Microsoft Learn PriceApplyAdjustment
Prevent DiscountWhen selected, no other discounts are applied to the line.Microsoft Learn
From / ToThe minimum and maximum quantities that a customer must order to qualify for the agreement price.Microsoft Learn
Amount in currencyThe price that applies to the line.Microsoft Learn

Common errors and fixes

MessageWhat to do
Price attributes can't be used on the journal lines.Select a journal name that has Enable price attributes set to Yes and Relation Price (sales) on Trade agreement journal names. Microsoft Learn
A posted trade agreement price isn't used on sales orders.You need exactly one price component code with Price component Sales trade agreement, and each price structure that should use it must include that code. Microsoft Learn
The engine applies a higher-ranked price instead of the lowest one.Check Enable default find next on Pricing management parameters: Yes applies the lowest price; No uses the price attribute combination rank first. Microsoft Learn

Test checklist

  1. Create a journal with a journal name that has Enable price attributes selected.
  2. Add a line for one customer and one item, enter Amount in currency and a From date / To date that includes today.
  3. Validate all lines, then post the journal.
  4. Create a sales order for that customer and item and check the trade agreement price is used instead of the base price.
  5. Open Trade agreements from the released product with Posted = Yes and Match value only = No and check the line is listed.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Post sales trade agreement journalsDecide per line whether the price is a net price (Allow price adjustment No, Prevent Discount Yes); change posted prices through a new journal that copies the posted lines with SelectAllow price adjustment decides whether margin component price adjustments are added on top of the agreement price, and Prevent Discount stops other discounts. A posted journal is not edited; Learn copies posted lines into a new journal, edits them and posts again.Is the negotiated price final or can price adjustments and discounts still apply?Leaving Allow price adjustment selected on a negotiated price. Margin adjustments are then added: an agreement price of 200.00 with adjustments of 10.00 and 20.00 becomes 230.00.Test: Net trade agreement price is not changed

Number sequences

ReferenceShared or per companyNote
Price/discount journal numberPer companyNew records on this page take their Price/discount journal number from the PriceDiscJournalNum reference; BEAT uses number sequence Sale_51. Checked in Dynamics 365

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 companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneHard to reverse: Posted prices are live on the next order; to change them, post a new journal.
If you change it laterA posted sales trade agreement price takes priority over the item base price for the customers and products it covers. Microsoft Learn
Technical architect

6Technical

Menu itemGUPPriceDiscAdmTable_Sales Checked in Dynamics 365
FormPriceDiscAdmTable Checked in Dynamics 365
TablePriceDiscAdmTableShown as “TRADE AGREEMENT JOURNAL TABLE” in Record infoKey field: JournalNumChecked in Dynamics 365
Data entitiesTradeAgreementJournalHeaderEntityTrade agreement journal headers Microsoft data model TradeOpenTradeAgreementJournalHeaderV2EntityTrade agreement journal table V2 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): LinesChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=GUPPriceDiscAdmTable_Sales
Integrate withTradeAgreementJournalHeaderEntity data entity Microsoft data model
Data migrationTradeAgreementJournalHeaderEntity (Trade agreement journal headers): loaded for each company.TradeOpenTradeAgreementJournalHeaderV2Entity (Trade agreement journal table V2): loaded for each company.Load order: Load the journal names and price component codes first, then the journal headers, then the lines. Learn lists GUPOpenTradeAgreementJournalLineV2Entity for importing trade agreement lines with price attributes. Validate and post the journals after the import.Load first: Trade agreement journal names, Price component codesMicrosoft Learn
Table definitionPriceDiscAdmTable columns and relations Microsoft data model
Everyone

8Sources

To cite this step: PRM-PRA-030, Post sales trade agreement journals. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PRM-PRA-030