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 is
A page where you create and manage sales trade agreement journals, which hold negotiated prices for specific products and customers.
What you do here
Use 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.
Example
For 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.
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.
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
Go to Pricing management > During-sales pricing > Sales trade agreement price > Trade agreement journals.
Make sure that the Show field is set to All or Not posted, and then select New.
In the Name field, select a trade agreement journal name, and then select Save.
On the Action Pane, select Lines.
Select New, choose the price attribute group combination and the customer and product conditions, and then select OK.
Set the quantity range, Unit, Amount in currency, Currency, From date and To date for each line.
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
Create a journal with a journal name that has Enable price attributes selected.
Add a line for one customer and one item, enter Amount in currency and a From date / To date that includes today.
Validate all lines, then post the journal.
Create a sales order for that customer and item and check the trade agreement price is used instead of the base price.
Open Trade agreements from the released product with Posted = Yes and Match value only = No and check the line is listed.
Decide 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.
New 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 on
Unified pricing management (Must be on)
Licence or add-in
On 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.
Hard to reverse: Posted prices are live on the next order; to change them, post a new journal.
If you change it later
A 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 item
GUPPriceDiscAdmTable_SalesChecked in Dynamics 365
Form
PriceDiscAdmTableChecked in Dynamics 365
Table
PriceDiscAdmTableShown as “TRADE AGREEMENT JOURNAL TABLE” in Record infoKey field: JournalNumChecked in Dynamics 365
Data entities
TradeAgreementJournalHeaderEntityTrade 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.
To 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
TradeAgreementJournalHeaderEntity (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