BeyondERP.Newsletter
Menu

Setup step on the Service templates page · Service management

Build reusable service templates

Keep standard sets of service lines that can be copied into agreements and orders.

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_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 isA 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 hereUse 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.
ExampleFor 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.
Service templates 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

Build reusable service templates

Keep standard sets of service lines that can be copied into agreements and orders.

Steps from Microsoft

  1. Go to Service management > Service agreements > Service templates.
  2. Create a service agreement that will act as the template.
  3. Create the required lines on it.
  4. Attach the service agreement to a service template group in the Service template group field.
  5. Make sure no service orders are attached to the agreement, because an agreement with orders cannot be a template.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Service template groupThe group that makes the agreement a template and sorts templates in the tree view.Microsoft Learn
Service agreementThe identifier of the agreement that serves as the template.Microsoft Learn AgreementId
Project IDThe project the template agreement is attached to.Microsoft Learn ProjId

Common errors and fixes

MessageWhat 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

  1. Create a new agreement with lines, attach it to a service template group and mark it as a template.
  2. Try to mark an agreement that already has service orders as a template; check it is refused.
  3. 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.
  4. Try to create planned service orders from the template; check none are generated.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Build reusable service templatesBuild 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.Where do template lines come from?Turning a live customer agreement into a template, which is refused once it has orders.Test: Copy template lines

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: A template must stay free of service orders.
If you change it laterMarking 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 itemSMAAgreementTableListPage_Template 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 agreement: New, Show, Copy, Cost prices, Sales prices, RelationsDeliver: Create, Service ordersChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=SMAAgreementTableListPage_Template
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