Dynamics 365 Field Service agreements allow organizations to automatically generate work orders and invoices with predefined details, frequency, and date ranges. Agreements are most commonly used for maintenance schedules where an organization must perform daily, weekly, or monthly inspections on equipment.
Here are a few different ways agreements can be configured and used. The agreement generates:
To use agreements, you’ll need to:
Let’s walk through two scenarios to show how agreements can create work orders and invoices.
An organization must perform monthly maintenance on a piece of equipment they installed at a customer’s location for the next two years. They want to use Dynamics 365 Field Service to automatically generate the maintenance jobs in the middle of each month, with some flexibility. They want dispatchers to schedule the monthly maintenance jobs to the best and most appropriate field technicians and bill the customer for completed work at an agreed upon price.
We’ll use agreements – along with customer assets, incident types, and price lists – to configure this scenario.
From the main menu, go to Field Services > Agreements > +New.
Fill in your information. Use the handy tooltips as a guide.
The service account defines where the agreement work orders will take place, while the billing account defines who the invoice should be sent to. For more information, go to Create and manage accounts.
Defines if the agreement is currently being executed. Set to Estimate while building a new agreement and adding details. We’ll set to Active later when we’re ready to begin performing work orders and sending invoices.
Defines the duration of the agreement.
Specifies the price of all products and services related to an agreement and controls the price list populated on work orders and invoices generated from this agreement. Add all products and services that will be used during the agreement to the agreement price list. Agreements usually contain a negotiated price for goods and services that are reflected in an entirely new price list. The price list on resulting work orders and invoices can be manually updated as needed.
In the Other tab, you can enter more details such as the Service Territory resulting work orders should be part of, and Record Generation Time, which dictates the time of day work orders, invoices, and other records related to this agreement should be generated. This definition is important because some organizations don’t want agreements creating work orders in the middle of the working day. If no value is set, it defaults to the value in Field Service Settings.
Finally, Save.
Once the agreement has been created, specify how often work orders should be generated.
In the Booking Setups section, select +Add Booking Setup record.
Fill in your information to create the agreement schedule. Use the handy tooltips as a guide.
Name: Enter the name of the agreement schedule. For example, it could be “Monthly Maintenance.” Naming is important because an agreement can have multiple booking recurrences. For instance, the service organization may perform weekly and monthly maintenance as part of the same agreement.
Set to Yes to have this agreement automatically generate work orders. The system will generate work orders on a rolling basis. Generated work orders will appear in the active work order view with the status Open-Unscheduled. If set to No, you must manually generate the work order for each schedule date, as we’ll explore later in this article.
Dictates how many days before the expected service date the work order will be generated. If you choose a large number of days in advance, your backlog of work orders may become larger than desired; however, if you choose too few days in advance, you may not have time to prepare. If no value is entered at the agreement level, there’s an environment-wide setting in Field Service Settings > Agreement tab > Generate Agreement Work Order X Days in Advance. If this field also has no value, the work orders will be generated seven days in advance of the booking date at the record generation time entered on the agreement.
Work Order Type, Priority, Work Order Summary, and Work Location entered here are passed down to resulting work orders.
Auto Generate Booking: Set to Yes to have the system book generated work orders (regardless of auto generated or manually generated). If set to Yes, you must specify a Preferred Resource and Preferred Start Time for the booking. If set to No, the generated work orders must be scheduled through the normal scheduling process: manually, with the schedule assistant, or with Resource Scheduling Optimization.
Pre Booking Flexibility and Post Booking Flexibility fields specify how many days before and after the anticipated schedule date the work order is allowed to be scheduled. These will populate the Date Window Start and Date Window End fields on the generated work orders to aid the schedule assistant. For example, if you plan to perform monthly maintenance on the 8th of each month, and set pre and post-booking flexibility to seven days, then the work orders can be scheduled between the first and the 15th of each month.
Time Window Start and Time Window End can be specified to create a time window for generated work orders, and will be taken into account by the schedule assistant. (Example: Work order should be scheduled between 8 AM and 12 PM).
Define a pattern to create work orders based on the agreement.
Select Booking Recurrence in the command bar at the top.
Specify the Recurrence Pattern. For example, every week, every first Monday of the month, or every other Friday.
Set the Range of Recurrence. Define the Start Date and choose the End Date Behavior.
No End Date: Work orders are generated until the agreement end date.
End by: Stop generating work order after the recurrence end date.
End after # recurrences: Work order are generated until the specified number of recurrences is reached.
You can also define Custom Dates to generate work orders that should be performed in addition to a recurrence if a pattern doesn’t reflect your business needs. For example, to perform service on various holidays throughout the year. Custom date work orders won’t be generated, unless a recurrence is provided.
Select Save.
After setting up the Agreement to define the high-level details, and the Agreement Booking Setup to define a recurrence, the next step is to define the work that should be performed.
This definition is achieved by adding incident types, products, services, and service tasks to the agreement.
From the agreement booking setup, select +Add Agreement Booking incident record. Use the tooltips as a guide to specify the incident details, and then select Save & Close.
As you add incidents to the agreement, the related products, services, service tasks, and characteristics are added to the agreement and then to work orders as they’re generated. See note about the “Copy Incident Items to Agreement” in the configuration considerations at the end of this article.
If you don’t want to use incident types, you can add products, services, and service tasks directly to the agreement.
If you want to use agreements for customer asset maintenance, use agreement incidents.
By specifying a customer asset on the agreement incident, you can define recurring work that should be performed on specific equipment and build service history. You can also add multiple incident types to an agreement booking setup each with a customer asset.
Using the example of two incidents for monthly maintenance, organizations can:
Finally, after the high-level details, recurrence, and work are defined, the last step is to Activate the agreement to begin generating related records such as maintenance dates and work orders. This is typically done after manager review and customer acceptance. To add more details to the agreement status, consider using the Agreement Sub-Status values. Custom agreement substatuses can also be created.
From the agreement, set the System Status field to Active. Doing so triggers the creation of booking dates that represent the dates service should be performed.
As time approaches the booking dates, work orders will be generated based on the Generate Work Orders Days in Advance field. The booking date will then have a status of Processed, along with a lookup to the generated work order.
You also have the ability to manually generate work orders for each booking date. This is applicable if you set Auto Generate Work Orders to No, or for unique business cases where you must generate a work order earlier than defined.
If you decided to have the agreement Auto Generate Bookings, the work orders will be scheduled to the preferred resource when the work orders are generated.
As work orders are generated, they’ll appear among other work orders in the Active Work Orders view.
The generated work orders will have all the details specified on the agreement, such as price list, work order type, incident type(s), customer asset, and so on.
A lookup to the agreement will also be noted in the Settings section.
After selecting the work order Book button and triggering the schedule assistant, the Search Start and Search End time parameters will reflect the booking date.
After an agreement work order is performed by a field technician and closed by a manager, an invoice for completed work will be created as part of the normal work order invoicing process. This is true whether a work order is part of an agreement or not. For more information, see the article on work order life cycle and statuses.
Agreement invoices are used to automatically generate invoices for products and services. The invoices will be generated at a defined recurrence and contain the same products at the same price each time. The invoices are generated and billed regardless of whether any work orders are performed or not. It’s a similar model to how you may pay a monthly cell phone bill regardless of the number of phone calls or texts you send.
Let’s configure the scenario where a customer pays a field service organization a quarterly amount for a service plan.
You can add an agreement invoice to an existing agreement or add it to a new one. You can have an agreement with only an agreement invoice and no maintenance plan and even have multiple invoices for a single agreement.
In our example, we’ll add quarterly invoices to the agreement we created.
From the agreement, go to Invoice Setup > Add New Agreement Invoice Setup.
In the invoice products section, add the products you would like to bill the customer for regularly. The price of the invoice products will be derived from the price list on the agreement.
Next, define how often the invoices should be generated by selecting Invoice Recurrence at the top.
Select Save to apply the changes.
Because this agreement is already active, the invoice dates will generate after a short time but not immediately. If you added an agreement invoice setup to a new agreement or an existing one that has an estimate status, then you’ll need to activate the agreement.
Once the agreement is active, agreement invoice dates will generate after a short time.
It isn’t possible to manually generate agreement invoices like you can with agreement work orders.
In Field Service Settings, there are important defaults you can set for agreements that help administrators control how the system creates agreements. Agreement booking dates help organizations plan for maintenance. For more information, go to Agreement settings.
As agreement work increases, you’ll have to decide whether to add multiple agreement incidents to a single recurrence or to add multiple recurrences, each with one or more incidents. Here are a few things to consider:
Who will perform the work order(s)?: A single recurrence will create a single work order, whereas multiple recurrences will create multiple work orders, and work orders are performed by a single person. If you envision the agreement work being completed by a single person, then using a single recurrence may be better. One workaround is to use incident types with requirement group templates that help schedule single work orders to multiple resources.
Travel: If multiple recurrences create multiple work orders, then this may create more trips and more travel.
How are you tracking assets?: Some organizations prefer each work order to relate to a single customer asset. This way they know the time spent on a work order correlates to time spent servicing an asset, which helps with reporting. If so, you may choose to have multiple recurrences each creating one work order with a single incident related to a single asset.
Resource scheduling optimization automatically schedules work orders to optimize working hours and travel time. This includes work orders generated from agreements. If you’re interested in using Resource Scheduling Optimization to schedule agreement work orders, here are three options:
When deciding to use agreement invoices, you can create a new agreement to generate invoices, or add invoices to an existing service agreement. If the agreement invoices relate to scheduled maintenance, then we recommend having the agreement-generated work orders and the agreement-generated invoices as part of the same agreement.
Even if you have an agreement generating invoices, agreement work orders will still create invoices upon completion and Close-Posted status. If only the agreement invoices represent what should be billed to the customer, you’ll need to create a process to disregard or mitigate the work order invoices. This could be as simple as deactivating those invoices or using price lists and entitlements to ensure the work order subtotal and work order invoice is $0.
Entitlements are applied to work order pricing based on multiple factors such as service account, incident type, and customer asset categories. It’s common practice to create specific incident types for specific customers outlining custom work; one option is to apply an entitlement when the custom agreement incident type is added to a work order that makes the products and services $0 by discounting them 100%.
For more information, see Entitlements for work orders in Dynamics 365 Field Service.
It’s possible to import a booking recurrence pattern for an agreement booking setup (ABS) or agreement invoice setup (AIS).
For example, see a recurrence in the following screenshot.
If set to Yes, agreement items will be created.
If set to No, they won’t.
REQUEST
FOR A CALL BACK
Provide discussion information and we’ll get back to you as soon as possible
Econix InfoTech Ltd.
188 WILKINSON RD, UNIT 15, BRAMPTON ON L6T 4W9, Canada
Feel free fill the information for further discussion