BeyondERP.Newsletter
Menu

Setup step on the Service agreements page · Service management

Set up a service agreement

Record what service the customer gets, how often, and on which project it is invoiced.

See how to set it up Back to Service management

Used by
Service dispatcher, Service delivery manager, Sales manager and 1 more role
Business process
Receive service requests
Menu item
SMAAgreementTableListPage
Main table
SMAAgreementTable
Data entity
None for this page's own settings
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 generates the planned orders”, 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 list page where you create and maintain service agreements, which define the resources used in a typical service visit and how those resources are invoiced to the customer, with header settings and agreement lines.
What you do hereUse this page to set up each agreement with its project, agreement ID and group, create or copy its lines, attach service objects and tasks, suspend it when needed, and generate the planned service orders for a period.
ExampleFor example, BEAT signs a one-year lift maintenance contract with a customer: you create an agreement on the customer's project with a Monthly service interval on one Hour line of 2 hours, then run Planned service orders for January to March and get three service orders.
Service 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 a service agreement

Record what service the customer gets, how often, and on which project it is invoiced.

Steps from Microsoft

  1. Go to Service management > Service agreements > Service agreements.
  2. Select New, enter a description and select the project in the Project ID field.
  3. Fill in the rest of the header fields, such as the service agreement group, and select Save.
  4. On the Relations tab, select Service objects or Service tasks to create the relations that can be used on the lines.
  5. In the lower half of the page, add service agreement lines manually or copy them from a service template or another agreement.
  6. Select Save to save the lines and close the page.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Project IDThe project the agreement is attached to; transactions are posted and invoiced through it.Microsoft Learn ProjId
Service agreement groupThe group used to sort and filter agreements; the default from Service management parameters is suggested.Microsoft Learn AgreementGroupId
SuspendedStops all service order creation from this agreement and stops all attached lines.Microsoft Learn Suspended
Combine service ordersHow automatically created service order lines are grouped into service orders (by agreement, task, employee or object).Microsoft Learn GroupBy
Service template groupEntering a template group makes the agreement a template whose lines can be copied elsewhere.Microsoft Learn TemplateGroupId
Service level agreementAssigns time limits for completing manually created service orders under this agreement.Microsoft Learn ServiceLevelAgreementId
Service interval (line)The frequency at which service order lines are created from the agreement line.Microsoft Learn
Stopped (line)Stops service order creation for that single agreement line.Microsoft Learn

Common errors and fixes

MessageWhat to do
Planned service orders creates no orders for an agreement.Check that the agreement is not Suspended, that the line is not Stopped, and that the period you entered falls inside the agreement and line start and end dates. Microsoft Learn

Test checklist

  1. Create a service agreement with a Project ID, Service agreement group and Start date; add one Hour line with a Service interval.
  2. On the Relations tab add a service object and a service task, then select them on the line.
  3. Select Deliver > Planned service orders for a one-month period and check service orders are created.
  4. Set Suspended to Yes and run Planned service orders again: check no new service orders are created.
  5. Set Stopped on one line and try to copy that line into another agreement: check it can't be copied.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up a service agreementChoose Combine service orders on the agreement header before you generate orders, for example by service object when each site gets its own visit.Combine service orders decides how the lines generated from the agreement are grouped into service orders: by agreement, task, employee or object.How should generated service order lines be combined into service orders?Generating a year of orders with the wrong grouping and then having to delete and recreate them.Test: Agreement generates the planned orders

Number sequences

ReferenceShared or per companyNote
Service agreementPer companyNew records on this page take their Service agreement from the SMAAgreementId reference; BEAT uses number sequence Serv_3. Checked in Dynamics 365

Feature management and licence

Licence or add-inIn this system 4 roles can open this page, among them Service dispatcher, Service delivery manager, Sales manager and Sales representative.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own service agreements. Microsoft data model
Can it be undoneHard to reverse: Orders already generated keep the grouping they were created with; changing it means deleting and recreating them.
If you change it laterSuspending an agreement blocks automatic and manual creation of service orders from it and stops every attached line; stopping a line also prevents that line from being copied into another agreement or order. Microsoft Learn
Technical architect

6Technical

Menu itemSMAAgreementTableListPage Checked in Dynamics 365
FormSMAAgreementTable Checked in Dynamics 365
TableSMAAgreementTableShown as “SERVICE AGREEMENTS” in Record infoKey field: AgreementIdChecked in Dynamics 365
Data entitiesSMAServiceAgreementHeaderEntityService agreement headers (The agreement header fields only, not the agreement lines.) Microsoft data model
Who can open it

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

  • RoleService dispatcherSMADispatcher
    • DutyInquire into service agreement masterSMAServiceAgreementMasterInquire
      • PrivilegeView service agreement detailsSMAAgreementDetailsView
  • RoleService delivery managerSMAServiceDeliveryManager
    • DutyInquire into service agreement masterSMAServiceAgreementMasterInquire
      • PrivilegeView service agreement detailsSMAAgreementDetailsView
    • DutyMaintain service agreement masterSMAServiceAgreementMasterMaintain
      • PrivilegeMaintain service agreement detailsSMAAgreementDetailsMaintain
  • RoleSales managerTradeSalesManager
    • DutyInquire into service agreement masterSMAServiceAgreementMasterInquire
      • PrivilegeView service agreement detailsSMAAgreementDetailsView
  • RoleSales representativeTradeSalesRepresentative
    • DutyInquire into service agreement masterSMAServiceAgreementMasterInquire
      • PrivilegeView service agreement detailsSMAAgreementDetailsView
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itService delivery manager SMAServiceDeliveryManagerTo use itService dispatcher SMADispatcherSales manager TradeSalesManagerSales representative TradeSalesRepresentativeGive people one of these roles. On this system, 4 roles can open this page.Checked in Dynamics 365
Actions on the pageService agreementDeliver: Create, Service ordersChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=SMAAgreementTableListPage
Data migrationSMAServiceAgreementHeaderEntity (Service agreement headers): loaded for each company. It carries the agreement headers; the agreement lines are a separate load.Load order: Load service agreement headers after the projects, customers, service agreement groups and service level agreements they use. Load the agreement lines after the headers, and the service intervals and time windows before the lines.Load first: Projects, Service agreement groups, Service intervals, Time windowMicrosoft Learn
Table definitionSMAAgreementTable columns and relations Microsoft data model
Everyone

8Sources