BeyondERP.Newsletter
Menu

Transaction page · Accounts payable

Purchase agreements

A purchase agreement is a contract that commits the organization to buy a specified quantity or amount over time through multiple purchase orders, in exchange for special prices and discounts.

Read the guide Back to Accounts payable

Used by
Purchasing agent, Purchasing Agent - Public Sector, Materials manager and 6 more roles
Business process
Create purchasing policies in Dynamics 365 Supply Chain Management
Menu item
PurchAgreementListPage
Main table
PurchAgreementHeader
Data entity
PurchPurchaseAgreementHeaderV2Entity
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, “Agreement price flows to a released order”, to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it9 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA purchase agreement is a contract that commits the organization to buy a specified quantity or amount over time through multiple purchase orders, in exchange for special prices and discounts.
What you do hereUse this page to create, apply, and follow up on purchase agreements with vendors, including commitment lines, validity period, and activation of the agreement.
ExampleFor example, BEAT signs a one-year agreement with vendor BEAT-1004 for 10,000 units at 4.50 USD with Max is enforced, and releases 12 monthly orders from it, so no order can go above the agreed quantity.
Purchase agreements 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

Set up purchase agreements

Commit to quantities or amounts with a vendor in exchange for agreed prices.

Steps from Microsoft

  1. Go to Accounts payable > Purchase orders > Purchase agreements.
  2. Select New, then select the Vendor account and the Purchase agreement classification.
  3. On the General FastTab, enter the Expiration date and a Document title, and check the Default commitment.
  4. Select OK, then select Add line and enter the item number, quantity and unit price.
  5. On the line details, set Max is enforced if purchases must not go over the quantity.
  6. On the Action Pane, select Purchase agreement > Confirmation, set Mark agreement as effective to Yes, and select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Purchase agreement classificationGroups the agreement by type and can supply the responsible workers.Microsoft Learn Name
Expiration dateThe default end date for all commitment lines on the agreement.Microsoft Learn
Default commitmentThe commitment type used on new lines: product quantity, product value, category value or value.Microsoft Learn DefaultAgreementLineType
Max is enforcedStops order lines from going over the committed quantity or amount.Microsoft Learn
Price and discount is fixedKeeps order line prices the same as the agreement; changing them breaks the link.Microsoft Learn
Mark agreement as effectiveActivates the agreement so it can be used.Microsoft Learn

Common errors and fixes

MessageWhat to do
Orders don't get the agreement priceThe agreement must be effective: confirm it with Mark agreement as effective set to Yes, and create the order from the agreement. Microsoft Learn

Test checklist

  1. Create an agreement for 100 units with Max is enforced and make it effective.
  2. Create a purchase order from it for 60 units and check the agreement price on the line.
  3. Try a second order for 50 units.
  4. Check that the system stops the quantity above the 40 remaining.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up purchase agreementsCreate one agreement per negotiated contract, set Max is enforced where the contract caps the quantity, and make it effective before orders are released.Only an effective agreement gives its prices to orders released from it, and Max is enforced stops orders above the commitment.What kind of commitment should the agreement use?Forgetting to mark the agreement as effective: orders then use normal prices.Test: Agreement price flows to a released order

Feature management and licence

Licence or add-inIn this system 9 roles can open this page, among them Materials manager, Production manager, Production supervisor and Project 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 undoneHard to reverse: Released orders keep their lines; changing financial dimensions on the agreement affects only new orders. Microsoft Learn
If you change it laterChanging financial dimensions on the agreement affects only new orders, not orders already released. Microsoft Learn
Technical architect

6Technical

Menu itemPurchAgreementListPage Checked in Dynamics 365
FormPurchAgreement Checked in Dynamics 365
TablePurchAgreementHeaderShown as “Purchase agreement” in Record infoKey field: RecIdChecked in Dynamics 365
Data entitiesPurchPurchaseAgreementHeaderV2EntityPurchase agreements V2 Microsoft data model PurchPurchaseAgreementLineV2EntityPurchase agreement lines V2 (the agreement lines) Microsoft data model
Who can open it

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

  • RoleMaterials managerInventMaterialsManager
    • DutyMaintain production flow service masterLeanProductionFlowServiceMaintain
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RoleProduction managerProdProductionManager
    • DutyMaintain production flow service masterLeanProductionFlowServiceMaintain
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RoleProduction supervisorProdProductionSupervisor
    • DutyMaintain service receipts kanban executionKanbanExecutionServiceReceiptsMaintain
      • PrivilegeView purchase agreementsPurchAgreementListView
    • DutyMaintain kanban purchase orders scheduleKanbanSchedulePurchaseOrdersMaintain
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RoleProject managerProjProjectManager
    • DutyInquire into purchase agreement masterAgreementPurchaseAgreementMasterInquire
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RoleProcess engineerRouteProcessEngineer
    • DutyMaintain production flow service masterLeanProductionFlowServiceMaintain
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RoleBuying agentTradeBuyingAgent
    • DutyInquire into purchase agreement masterAgreementPurchaseAgreementMasterInquire
      • PrivilegeView purchase agreementsPurchAgreementListView
    • DutyMaintain purchase order release from agreementsPurchaseAgreementReleasePurchaseOrder
      • PrivilegeView purchase agreementsPurchAgreementListView
  • RolePurchasing managerTradePurchasingManager
    • DutyInquire into purchase agreement masterAgreementPurchaseAgreementMasterInquire
      • PrivilegeView purchase agreementsPurchAgreementListView
    • DutyMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
      • PrivilegeMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
  • RolePurchasing agentVendPurchasingAgent
    • DutyMaintain purchase agreement masterAgreementPurchaseAgreementMasterMaintai
      • PrivilegeMaintain purchase agreementsPurchAgreementListMaintain
    • DutyMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
      • PrivilegeMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
  • RolePurchasing Agent - Public SectorVendPurchasingAgent_PSN
    • DutyMaintain purchase agreement masterAgreementPurchaseAgreementMasterMaintai
      • PrivilegeMaintain purchase agreementsPurchAgreementListMaintain
    • DutyMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
      • PrivilegeMaintain all purchase requisitionsPurchReqPurchaseRequisitionMaintainAll
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itPurchasing Agent - Public Sector VendPurchasingAgent_PSNPurchasing agent VendPurchasingAgentTo use itPurchasing manager TradePurchasingManagerBuying agent TradeBuyingAgentProject manager ProjProjectManagerProduction supervisor ProdProductionSupervisorProcess engineer RouteProcessEngineerGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Actions on the pagePurchase agreement: New, Maintain, Generate, Intercompany, Related informationGeneral: Set upOptions: Personalize, Page options, ShareChecked in Dynamics 365
Security administrator · Solution architect

7Advanced Security configuration

Each button below opens a menu item. Start from a standard security role, or from an empty one, and choose what the new role gets for each button: remove it, or an access level. Then create the file that System administration > Security > Security configuration > Data > Import reads. The file holds a copy of the role and copies of only the duties and privileges that change. Everything else stays the standard object.

This demo uses Microsoft's standard roles. To do the same on your own system, with your own roles, use the Chrome extension or the bookmark.

Purchasing agent (VendPurchasingAgent) can use 7 of these buttons. You can also give it buttons it does not have.

Purchase agreement tab

On your own system, the Advanced Security configuration bookmark does the same with your real roles, including your own: click a button on the live page to see who can use it and what to change.

Built from Microsoft's standard security definitions for version 10.0.49 and the buttons seen on this page in a working system. Add-ons, your own roles and later versions can differ. Beyond ERP is not affiliated with Microsoft. Buttons without a menu item, such as Post, are not listed: security roles cannot change them this way.

Developer

8Developer

Open it by URLhttps://<your-environment>/?mi=PurchAgreementListPage
Integrate withPurchPurchaseAgreementHeaderV2Entity data entity Microsoft data model
Data migrationPurchPurchaseAgreementHeaderV2Entity (Purchase agreements V2): loaded for each company.Microsoft Learn
Table definitionPurchAgreementHeader columns and relations Microsoft data model
Everyone

9Sources