BeyondERP.Newsletter
Menu

Setup step on the Trade agreement journals page · Procurement and sourcing

Maintain purchase trade agreements

Enter, approve and post purchase prices and discounts as journals.

See how to set it up Back to Procurement and sourcing

Used by
Purchasing agent, Accountant, Accounting manager and 11 more roles
Business process
Manage supplier pricing
Menu item
PriceDiscAdmTable_Purch
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, “A posted purchase price reaches the order”, 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 journal page where you create, maintain and post trade agreements, the vendor price and discount agreements used on purchases.
What you do hereUse this journal to enter new or changed purchase prices and discounts in a journal, validate them and post them.
ExampleFor example, BEAT's buyer creates journal PDJ-000318 with a new purchase price of 18.50 for item BEAT-IT-1001 from vendor BEAT-000123, valid from 2027-01-01, and posts it after the purchasing manager approves it.
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

Maintain purchase trade agreements

Enter, approve and post purchase prices and discounts as journals.

Steps from Microsoft

  1. Go to Procurement and sourcing > Prices and discounts > Trade agreement journals.
  2. Select New and select a journal name.
  3. Select Lines to open the journal lines.
  4. In the Relation field, select Price (purch.).
  5. Set the Party code type and Account selection for the vendor, vendor group or all vendors.
  6. Set the Product code type and Item relation for the product.
  7. Enter the From quantity and the Amount in currency.
  8. On the Details tab, enter the From date.
  9. Select Validate > Validate all lines, and then post the journal.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExample
RelationThe type of agreement on the line, for example Price (purch.) for a purchase price.Microsoft Learn Price (purch.)
Party code typeWhether the line applies to one vendor, a vendor group or all vendors.Microsoft Learn
Account selectionThe vendor or vendor group the line applies to.Microsoft Learn
Item relationThe product the price or discount applies to.Microsoft Learn
Amount in currencyThe agreed price for the line.Microsoft Learn 18.50
From dateThe date from which the agreement is valid.Microsoft Learn 2027-01-01

Common errors and fixes

MessageWhat to do
A posted trade agreement price isn't used on new purchase orders.Activate the matching combination on Procurement and sourcing > Setup > Prices and discounts > Activate price/discount, check the From date and quantity, and check that no purchase agreement covers the line, because purchase agreement prices override trade agreements. Microsoft Learn

Test checklist

  1. Activate the vendor and item combination on Activate price/discount.
  2. Create, validate and post a journal with a purchase price of 18.50 for vendor BEAT-000123 and item BEAT-IT-1001.
  3. Create a purchase order line for that vendor and item.
  4. Check the unit price on the line is 18.50.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Maintain purchase trade agreementsPrepare price changes in a journal with a From date, validate all lines, and post only after approval.Posting makes the prices active on new purchase orders, and journals let you prepare future prices without changing current ones.Are price changes posted directly or after approval?Posting a price for a combination that isn't activated on Activate price/discount, so the price is never used.Test: A posted purchase price reaches the order

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

Licence or add-inOn the live system, Purchasing agent maintains trade agreement journals, together with rental and retail roles; Purchasing manager, Accountant and Accounting manager can view them.

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: Posted agreements are changed by a new journal; prices already on orders stay.
If you change it laterPrices and discounts from a purchase agreement override the trade agreement prices and discounts. Microsoft Learn
Technical architect

6Technical

Menu itemPriceDiscAdmTable_Purch 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

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

  • RoleAccountantLedgerAccountant
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleAccounting managerLedgerAccountingManager
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleChief executive officerCompanyChiefExecutiveOfficer
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
    • DutyApprove product prices and discountsPriceDiscProductPricesDiscountsApprove
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RolePurchasing managerTradePurchasingManager
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleRental coordinator agentRentalCoordinatorAgent
    • DutyInquire into fleet item pricingRentalItemPricingInquire
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleRental managerRentalManager
    • DutyInquire into fleet item pricingRentalItemPricingInquire
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
    • DutyMaintain fleet item pricingRentalItemPricingMaintain
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyInquire into fleet item pricingRentalItemPricingInquire
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleRental representativeRentalRepresentative
    • DutyInquire into fleet item pricingRentalItemPricingInquire
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleRental sales managerRentalSalesManager
    • DutyInquire into fleet item pricingRentalItemPricingInquire
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
    • DutyEnable quotation to sales order processRentalSalesQuotationToSlsOrdProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleRetail serviceRetailService
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleSales clerkTradeSalesClerk
    • DutyInquire into product sales prices and discount masterPriceDiscProdSalesPriceDiscMasterInquir
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleSales managerTradeSalesManager
    • DutyInquire into product sales prices and discount masterPriceDiscProdSalesPriceDiscMasterInquir
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
    • DutyApprove product prices and discountsPriceDiscProductPricesDiscountsApprove
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo set it up or change itPurchasing agent VendPurchasingAgentRental manager RentalManagerRental coordinator agent RentalCoordinatorAgentRetail service RetailServiceRental sales manager RentalSalesManagerTo use itPurchasing manager TradePurchasingManagerAccountant LedgerAccountantAccounting manager LedgerAccountingManagerRental purchasing manager RentalPurchasingManagerChief executive officer CompanyChiefExecutiveOfficerGive people one of these roles. On this system, 14 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=PriceDiscAdmTable_Purch
Integrate withTradeAgreementJournalHeaderEntity data entity Microsoft data model
Data migrationTradeAgreementJournalHeaderEntity (Trade agreement journal headers): loaded for each company. It covers the journal header only, not the price and discount lines.TradeOpenTradeAgreementJournalHeaderV2Entity (Trade agreement journal table V2): loaded for each company. It covers the open journal headers only.Load order: Load trade agreements after vendors, released products and the price/discount groups, as journals that you then validate and post, so the prices become active before the first purchase orders after cut-over.Load first: Vendors V2, Released products V2, Vendor price/discount groups, Item discount groups, Trade agreement journal namesMicrosoft Learn
Table definitionPriceDiscAdmTable columns and relations Microsoft data model
Everyone

8Sources