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 is
A 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 here
Use 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.
Example
For 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.
The page in Dynamics 365. page title tab to open what to set or check
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
Go to Service management > Service agreements > Service agreements.
Select New, enter a description and select the project in the Project ID field.
Fill in the rest of the header fields, such as the service agreement group, and select Save.
On the Relations tab, select Service objects or Service tasks to create the relations that can be used on the lines.
In the lower half of the page, add service agreement lines manually or copy them from a service template or another agreement.
The project the agreement is attached to; transactions are posted and invoiced through it.Microsoft Learn
ProjId
Service agreement group
The group used to sort and filter agreements; the default from Service management parameters is suggested.Microsoft Learn
AgreementGroupId
Suspended
Stops all service order creation from this agreement and stops all attached lines.Microsoft Learn
Suspended
Combine service orders
How automatically created service order lines are grouped into service orders (by agreement, task, employee or object).Microsoft Learn
GroupBy
Service template group
Entering a template group makes the agreement a template whose lines can be copied elsewhere.Microsoft Learn
TemplateGroupId
Service level agreement
Assigns 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
Message
What 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
Create a service agreement with a Project ID, Service agreement group and Start date; add one Hour line with a Service interval.
On the Relations tab add a service object and a service task, then select them on the line.
Select Deliver > Planned service orders for a one-month period and check service orders are created.
Set Suspended to Yes and run Planned service orders again: check no new service orders are created.
Set Stopped on one line and try to copy that line into another agreement: check it can't be copied.
Choose 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.
Hard to reverse: Orders already generated keep the grouping they were created with; changing it means deleting and recreating them.
If you change it later
Suspending 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 item
SMAAgreementTableListPageChecked in Dynamics 365
Form
SMAAgreementTableChecked in Dynamics 365
Table
SMAAgreementTableShown as “SERVICE AGREEMENTS” in Record infoKey field: AgreementIdChecked in Dynamics 365
Data entities
SMAServiceAgreementHeaderEntityService 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
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 it
To 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 page
Service agreementDeliver: Create, Service ordersChecked in Dynamics 365
SMAServiceAgreementHeaderEntity (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