BeyondERP.Newsletter
Menu

Setup step on the Purchase agreements page · Procurement and sourcing

Create and activate a purchase agreement

Use this page to record a vendor commitment so its prices and discounts apply to purchase orders.

See how to set it up Back to Procurement and sourcing

Used by
Purchasing agent, Purchasing Agent - Public Sector, Materials manager and 6 more roles
Business process
Source and contract goods and services
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 applies and is enforced”, 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 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 purchase agreement with vendor BEAT-000123 for 12,000.00 kg of resin BEAT-ITM-0105 at 2.40 USD per kg, valid 1 January to 31 December, with Max is enforced. Each monthly purchase order of 1,000.00 kg created from the agreement gets the 2.40 USD price, and the Fulfillment tab shows 11,000.00 kg remaining after the first order.
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

Business processSource and contract goods and services
Menu pathProcurement and sourcing › Purchase agreements › Purchase agreements
Set up firstPurchase agreement classification Microsoft Learn
Used next byAll purchase orders Microsoft Learn
Related pagesPurchase agreement fulfillment report Microsoft Learn
In this processFollow up purchase agreement fulfillment
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

Create and activate a purchase agreement

Use this page to record a vendor commitment so its prices and discounts apply to purchase orders.

Steps from Microsoft

  1. Go to Procurement and sourcing > Purchase agreements > 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
The purchase agreement can't be selected on an existing purchase order.A purchase agreement can be selected only when the purchase order is created. Create a new order from the agreement. Microsoft Learn
The delivery address on the purchase order is cleared after applying the agreement.The agreement has no saved header defaults yet. Update and save a header field on the agreement, then select the agreement on the order again and answer Yes to the transfer prompt. Microsoft Learn

Test checklist

  1. Create a purchase agreement with a product quantity commitment, a validity period and Max is enforced set.
  2. Set Mark agreement as effective to Yes and confirm the agreement to store a version.
  3. Create a purchase order, select the agreement at creation and add the product; check price and discount come from the agreement.
  4. Check the Fulfillment tab shows the remaining quantity reduced by the order line.
  5. Try to exceed the committed quantity and confirm Max is enforced stops it.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Create and activate a purchase agreementChoose the Default commitment before you add lines, set Max is enforced on quantity commitments, and confirm the agreement each time it changes.The default commitment decides which line types you can add; Max is enforced stops order lines from going over the commitment; each confirmation stores a version you can share with the vendor.Which commitment type do agreements use?Creating the purchase order first and trying to add the agreement later. An agreement can be selected only when the order is created.Test: Agreement price applies and is enforced

Feature management and licence

Licence or add-inOn the live system, Purchasing agent, Purchasing manager and Buying agent use this page. Production and materials roles can view agreements.

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: An agreement can be closed and set back to Effective, but orders already released keep their terms.
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
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 VendPurchasingAgentPurchasing Agent - Public Sector VendPurchasingAgent_PSNTo use itPurchasing manager TradePurchasingManagerBuying agent TradeBuyingAgentProject manager ProjProjectManagerProduction supervisor ProdProductionSupervisorMaterials manager InventMaterialsManagerGive 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
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PurchAgreementListPage
Integrate withPurchPurchaseAgreementHeaderV2Entity data entity Microsoft data model
Data migrationPurchPurchaseAgreementHeaderV2Entity Agreement headers, loaded for each company.Load order: Load vendors, released products and purchase agreement classifications first, then the agreement headers, then their commitment lines, and mark the agreements effective in the target system. Load agreements before open purchase orders so new orders can be created from them.Load first: Vendors, Released products, Purchase agreement classificationMicrosoft data model
Table definitionPurchAgreementHeader columns and relations Microsoft data model
Everyone

8Sources