Service dispatcher, Service delivery manager, Sales manager and 1 more role
Business process
Receive service requests
Menu item
SMAAgreementTableListPage_Template
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, “Copy template lines”, 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 that shows the service agreements that are defined as templates, whose lines can later be copied into other service agreements or into service orders.
What you do here
Use this page to maintain template agreements grouped under service template groups, so that repeated set-ups (for example identical equipment at several sites) can be copied instead of re-entered.
Example
For example, a BEAT customer has identical service lifts at five sites: you build one template agreement with a quarterly 4-hour Hour line and copy its lines into the five site agreements.
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
Build reusable service templates
Keep standard sets of service lines that can be copied into agreements and orders.
Steps from Microsoft
Go to Service management > Service agreements > Service templates.
Create a service agreement that will act as the template.
Create the required lines on it.
Attach the service agreement to a service template group in the Service template group field.
Make sure no service orders are attached to the agreement, because an agreement with orders cannot be a template.
The group that makes the agreement a template and sorts templates in the tree view.Microsoft Learn
Service agreement
The identifier of the agreement that serves as the template.Microsoft Learn
AgreementId
Project ID
The project the template agreement is attached to.Microsoft Learn
ProjId
Common errors and fixes
Message
What to do
An agreement can't be marked as a template.
It already has service orders attached. Create a new agreement for the template instead of reusing a live customer agreement. Microsoft Learn
Test checklist
Create a new agreement with lines, attach it to a service template group and mark it as a template.
Try to mark an agreement that already has service orders as a template; check it is refused.
On another agreement copy lines from the template; check the template groups show as a tree and the lines with their object and task relations are copied.
Try to create planned service orders from the template; check none are generated.
Build each template as a dedicated agreement that will never have service orders.An agreement with service orders can't be made a template, and no orders are generated from a template.
Hard to reverse: A template must stay free of service orders.
If you change it later
Marking an agreement as a template stops service orders from being generated from it, and an agreement that already has service orders cannot be made a template. Microsoft Learn
Technical architect
6Technical
Menu item
SMAAgreementTableListPage_TemplateChecked 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 agreement: New, Show, Copy, Cost prices, Sales prices, RelationsDeliver: 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