{"title":"Walkthrough of service contracts for service items","url":"https://jonas-paprotka.de/docs/contoso-coffee/service/service-contract-flow/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/contoso-coffee/service/service-contract-flow, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/contoso-coffee/service/service-contract-flow","source":{"name":"Business Central application docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-docs","commit":"46907ace177f8d31deba47a2fdb57c3336e66252","date":"2026-11-19"},"checked":"2026-11-19","description":"Use Contoso Coffee demo data to create and invoice a service contract, assign a skilled resource, and record and post service work.","date":"2026-11-12","meta":{"topic":"how-to"},"outline":[{"level":1,"title":"Walkthrough of service contracts for service items","slug":"walkthrough-of-service-contracts-for-service-items","at":0,"chars":6044},{"level":2,"title":"Prerequisites","slug":"prerequisites","at":357,"chars":324},{"level":2,"title":"Create service items","slug":"create-service-items","at":681,"chars":787},{"level":3,"title":"Scenario","slug":"scenario","at":705,"chars":124},{"level":3,"title":"Steps","slug":"steps","at":829,"chars":581},{"level":3,"title":"Results","slug":"results","at":1410,"chars":58},{"level":2,"title":"Invoice a service contract","slug":"invoice-a-service-contract","at":1468,"chars":1268},{"level":3,"title":"Scenario","slug":"scenario-1","at":1498,"chars":1130},{"level":3,"title":"Results","slug":"results-1","at":2628,"chars":108},{"level":2,"title":"Create a service order for a service contract and assign resources","slug":"create-a-service-order-for-a-service-contract-and-assign-resources","at":2736,"chars":2105},{"level":3,"title":"Scenario","slug":"scenario-2","at":2806,"chars":180},{"level":3,"title":"Steps","slug":"steps-1","at":2986,"chars":1724},{"level":3,"title":"Results","slug":"results-2","at":4710,"chars":131},{"level":2,"title":"Complete the time entry for the service order and post the service order","slug":"complete-the-time-entry-for-the-service-order-and-post-the-service-order","at":4841,"chars":976},{"level":3,"title":"Scenario","slug":"scenario-3","at":4917,"chars":127},{"level":3,"title":"Steps","slug":"steps-2","at":5044,"chars":655},{"level":3,"title":"Results","slug":"results-3","at":5699,"chars":118},{"level":2,"title":"Related information","slug":"related-information","at":5817,"chars":227}],"text":"# Walkthrough of service contracts for service items\nThis walkthrough demonstrates several core processes:\n Create service items through sales\n Create and invoice a service contract\n Create a service order for a service contract\n Assign a resource based on skill\n Complete a time entry for the service order\n Post consumption for the contract service order\n## Prerequisites\nOn the Contoso Demo Tool page, generate all data for the Service module. This walkthrough uses the default module configuration and a prepaid monthly contract template so you can invoice the contract before completing the service work. See Introduction to Contoso Coffee demo data<../contoso-coffee-intro>.\n## Create service items\n### Scenario\nSusan, the order processor, posts a sales order selling an item that is configured to generate a service item.\n### Steps\n1. Check that Item has Service Item Group selected.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Items, and then choose the related link.\n 1. Select the item S-100 and open it.\n 1. Check that the Service Item Group field is set to SERVICE.\n1. Post the Sales Order to create the service item for the customer.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Sales Orders, and then choose the related link.\n 1. Select the order for customer 10000. The external document number is SVC-1.\n 1. Choose the Post action to ship the item to the customer.\n### Results\nA service item is created for customer 10000.\n## Invoice a service contract\n### Scenario\nCharles, the service manager, creates a service contract to invoice for regular maintenance visits.\n1. Create the Service Contract for the new service item.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Service Contracts, and then choose the related link.\n 1. Choose the New action.\n 1. In the confirmation dialog, choose Yes to create contract using template.\n 1. Select Prepaid Contract - Monthly.\n 1. In the Customer No. field, enter 10000.\n 1. On the Service FastTab, in the Service Order Type field, enter MAINTEN.\n 1. On the lines, select the service item created when you posted the sales order, and enter the following information:\n Service Item No.|Line Value\n The service item created for customer 10000|6000\n 1. Choose the Sign Contract action and confirm the signing.\n 1. Choose Yes to confirm creation of a service invoice. You receive a confirmation message with the service invoice number.\n1. Post the service invoice.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Service Invoices, and then choose the related link.\n 1. Locate the service invoice and choose the Post action.\n### Results\n A signed service contract is created, with ledger entries\n A posted service invoice is created\n## Create a service order for a service contract and assign resources\n### Scenario\nCharles, the service manager, creates service orders for regular maintenance orders under a service contract, and then reviews the Dispatch Board page to assign them.\n### Steps\n1. Run the service orders that fulfill the obligations of active service contracts.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Create Contract Service Orders, and then choose the related link.\n 1. Enter 01 in the Starting Date field. It will be transformed into beginning of the month based on work date.\n 1. Enter the ending date of the month in the Ending Date field.\n 1. Choose OK to confirm creation of service orders. You receive a confirmation message with the number of created service orders.\n1. Review the orders awaiting assignment on the Dispatch Board page.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Dispatch Board, and then choose the related link.\n 1. The Dispatch Board page shows all open service orders, along with the No. of Allocations to show whether the service orders are assigned to a resource.\n 1. Choose the Show Documents action to open a service order. The Service Item Lines FactBox shows which resources are skilled at working with this item.\n1. Assign a resource to the service order.\n 1. From the service order, choose the line action Resource Allocations.\n 1. Enter the following information for the resource allocation. RESOURCE2 has the PLUMBING skill required by item S-100.\n  Service Item No.|Resource No.|Allocation Date|Allocated Hours\n  The service item created for customer 10000|RESOURCE2|Work date.<br> A fast way to enter the work date is to enter some or all of the word work in the language in which you use Business Central. For example, in English, you can enter w.|1\n 1. The status of the allocation changes to Active.\n 1. Refresh the Dispatch Board page to show that the No of Allocations changed from 0 to 1 for the service order.\n### Results\n Service orders are created for the service contracts\n Service orders are allocated to a resource to complete the work\n## Complete the time entry for the service order and post the service order\n### Scenario\nThe service technician registers their time directly against the service order, then marks the order as finished.\n### Steps\n1. Locate the service order, and enter the time on the service line.\n 1. Select Search (Alt+Q) in the upper-right corner, enter Service Orders, and then choose the related link.\n 1. Locate the service order that you want to enter time for.\n 1. Choose the line action Service Line.\n 1. Enter the following information:\n  Type|No.|Quantity|Qty.to Consume\n  Resource|RESOURCE2|2|2\n 1. Return to the service order. On the service item line, set Repair Status Code to FINISHED.\n1. On the service order, post the consumption.\n 1. Choose the Post action to complete the service order, select the Ship and Consume action, and then choose the OK button.\n### Results\n Service ledger entries are created and associated with the service item, service contract, and resource.\n## Related information\nIntroduction to Contoso Coffee Demo Data<../contoso-coffee-intro>\n/service-service\nFind free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>"}