BeyondERP.Newsletter
Menu

Setup step on the Trade agreement journals page · Accounts receivable

Use trade agreement journals for customer prices

Enter and post customer-specific sales prices as trade agreement journal lines.

See how to set it up Back to Accounts receivable

Used by
Accounts receivable manager, Chief executive officer, Accountant and 11 more roles
Business process
Develop sales pricing strategy
Menu item
PriceDiscAdmTable_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, “Customer price from a trade agreement journal”, 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 isThe list of trade agreement journals, in which sales prices and discounts agreed with customers are entered as journal lines and then posted.
What you do hereUse it to create a trade agreement journal, add lines for the customer (or group, or all customers), product, quantity range, price and validity dates, then validate and post it.
ExampleFor example, BEAT agrees with customer C-1001 a price of 12.50 for item SP-200 from 100 to 499 units, valid from 1 January. The manager enters one journal line with Party code type Table, From 100, To 499 and Amount in currency 12.50, validates it and posts 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

Use trade agreement journals for customer prices

Enter and post customer-specific sales prices as trade agreement journal lines.

Steps from Microsoft

  1. Go to Accounts receivable > Setup > Trade agreement journals and select New.
  2. In the Name field, select a trade agreement journal name whose Default relation is Price (sales).
  3. On the Action Pane, select Lines.
  4. In the Party code type field, select Table, Group or All, and in the Account selection field, select the customer or price group.
  5. In the Product code type field, select Table and in the Item relation field, select the product.
  6. In the From and To fields, enter the quantity range, in Amount in currency enter the price, and in From date enter the date it starts.
  7. Select Save, then Validate and Validate selected lines.
  8. Select Post.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
Party code typeWho the price is for: one customer (Table), a customer price group (Group), or all customers (All).Microsoft Learn
Product code typeMust be Table for a sales price, because a price is set per product.Microsoft Learn
FromThe minimum quantity the customer must order to get the price.Microsoft Learn
ToThe maximum quantity above which the price no longer applies.Microsoft Learn
Amount in currencyThe agreed price.Microsoft Learn
From dateThe date from which the agreement is valid.Microsoft Learn

Common errors and fixes

MessageWhat to do
The price isn't used on a sales orderThe order quantity is outside the From and To range, or the order date is before the From date. Check the line on View trade agreements for the product. Microsoft Learn
A posted trade agreement price is ignored on an order linked to a sales agreementSales agreement prices and discounts override trade agreements. Remove the link to the sales agreement line or change the sales agreement. Microsoft Learn

Test checklist

  1. Create a journal with a journal name whose Default relation is Price (sales).
  2. Add a line for one customer and product with a From quantity, a price and a From date, then validate and post.
  3. Open the released product and select Sell > View trade agreements: the new price shows.
  4. Create a sales order for the customer with a quantity inside the range and check the unit price.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Use trade agreement journals for customer pricesUse a journal name with Default relation Price (sales); enter Party code type Table for one customer, Group for a customer price group or All for the list price, always with Product code type Table.A sales price is an absolute value per product, so Product code type must be Table; the party code decides whether the price applies to one customer, a price group or everyone.At which level should agreed sales prices be kept?Posting prices with the wrong Party code type, for example All instead of Table, so a price agreed with one customer becomes the list price for every customer.Test: Customer price from a trade agreement journal

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-inIn this system 15 roles can open this page, among them Chief executive officer, Accounts receivable manager, Accountant and Accounting manager.

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 before posting: Lines can be changed and validated until the journal is posted.
If you change it laterPosting the journal makes its lines active trade agreements that price new sales order lines; review them from Released products > Sell > View trade agreements. Prices on a sales agreement linked to an order still override them. Microsoft Learn
Technical architect

6Technical

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

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

  • RoleChief executive officerCompanyChiefExecutiveOfficer
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleAccounts receivable managerCustInvoiceAccountsReceivableManager
    • DutyEnable quotation to sales order processSalesQuotationToSalesOrderProcessEnable
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
  • RoleAccountantLedgerAccountant
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleAccounting managerLedgerAccountingManager
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • RoleMCRTestUserRole no duty on this page is assigned to this role directly
  • 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
  • RolePurchasing managerTradePurchasingManager
    • DutyReview purchase order process performancePurchOrderProcessPerformanceReview
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
  • 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
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain product prices and discount masterPriceDiscProductPriceDiscMasterMaintain
      • PrivilegeMaintain trade agreement journalsPriceDiscAdmTableMaintain
    • DutyApprove product prices and discountsPriceDiscProductPricesDiscountsApprove
      • PrivilegeView trade agreement journalsPriceDiscAdmTableView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRental manager RentalManagerAccounts receivable manager CustInvoiceAccountsReceivableManagerRental coordinator agent RentalCoordinatorAgentSales manager TradeSalesManagerRetail service RetailServiceTo use itAccounting manager LedgerAccountingManagerAccountant LedgerAccountantChief executive officer CompanyChiefExecutiveOfficerRental representative RentalRepresentativeRental purchasing manager RentalPurchasingManagerGive people one of these roles. On this system, 14 roles can open this page.Checked in Dynamics 365
Actions on the pageButtons: LinesChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PriceDiscAdmTable_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.Microsoft Learn
Table definitionPriceDiscAdmTable columns and relations Microsoft data model
Everyone

8Sources