Skip to main content

Setting up Service Scheduling in MS CRM

The default MSCRM doesn't provide service scheduling by default, it needs to be set up and there are a number of steps involved as described below:

1) Create a Service, i.e. define a Service or a Job to be done
Go to MS CRM > Settings tab > Business Management > Services ( 3rd from top in the right side)
    
    Click New to Create a new service, you can see existing services in the list below
    Give name to the Service, choose how the time will appear in Calendar against that Service when scheduled, 
  • Default duration is usual time take to perform the service which is editable at the time of booking the Service
  • Start activities every ... lets you define time slots for the entire day for the Service , for example : for a service with default duration of 30 mins and start activities every hour starting from 9 AM will have time slots  such as : 9-9:30  , 10-10:10 like wise, hence it wont be possible to choose a 9:30-10 slot which may be the norm as per organization standards.


     Once you have entered the Service details, create a Resource Selection rule which is used to specify :

  • How many people are required to perform this task, ex. 2 or 3 engineers
  • Whether they need to belong the same geographic region

    Click on one of the parameters : Site , Resource, Resource Group etc, which will give the following pop up
     After choosing number of people and location details, choose a group of workforce - users who can work to perform    this Service
 

    If you have not created a Resource group, you can create one while creating the resource selection rule,   this will help to make it easy to add or remove users from the group


   
2) Set work hours and break timings for the workforce, i.e. CRM users.
Go to : Settings > Administration > Users > Select and open a user >
Click on "Work Hours" from the left nav link



Click on Set weekly schedule, choose What days the person works,
    Add Start and Finish timings routine, add break time in between

     
    Specify any restriction this staff has on the service jobs they can perform, ex. in this case, Darshana Goswami can not do TV Delivery. 





    3) After setting up workforce - user's working hours and Service & Resource rules, create a service activity and Schedule it 
     
       Go to MS CRM Workplace > Activities > New > Service Activity 
       Choose the Service, Customer, Resources ( will appear as per resource selection rule for the service on the right side on form assistant)

    Click on Schedule button to schedule this Service Activity

     Select one more resources based on the resource selection rule, clicking in find available time will automatically show all the possible time slots and un-booked resources


    Choose one of the time slots, Save the Service Activity



     The service activity will appear in Service Calendar for the booked resource -staff.



    hope this helps, let me know of any questions.

Comments

Anonymous said…
Thanks for your such an illustrative example :)
mjb said…
hi im evaluating Ms crm for a friend who has a small natural medicine practice. I havent worked out how to set up a yoga class that has 30 available positions where customers can enrol in one of those positions. any advice?
hero said…
Hi MJB,
You mean to say there are 30 different "courses" or "subjects" a customer an enrol for (one or more).

You can create an entity Yoga class and then create a child entity called Position.

Associate Yoga entity with Contact on a Many to 1 basis and then associate Position entity with Yoga on a Many to 1 basis.

this way you would be able to enrol customers for one or more positions, does that make sense?

If you have any more questions email me on

solutions.insystech@gmail.com.
Unknown said…
Really ,This is a wonderful post. I enjoyed the information lot. I will bookmark this page. Thanks for sharing this important information. Corporate Movie || Corporate Video Production || Ad Films Maker || Training Films

Popular posts from this blog

CRM 2011 Useful JavaScript tidbits

http://www.powerobjects.com/blog/2011/01/14/crm-2011-useful-javascript-tidbits/ Get the value from a CRM field var varMyValue = Xrm.Page.getAttribute(“CRMFieldSchemaName”).getValue() ; Set the value of a CRM field Xrm.Page.getAttribute(“po_CRMFieldSchemaName”).setValue(‘My New Value’); Hide/Show a tab/section Xrm.Page.ui.tabs.get(5).SetVisible(false); Xrm.Page.ui.tabs.get(5).SetVisible(true); Call the onchange event of a field Xrm.Page.getAttribute(“CRMFieldSchemaName”).fireOnChange(); Get the selected value of picklist Xrm.Page.getAttribute(“CRMFieldSchemaName”).getSelectedOption().text; Set the requirement level Xrm.Page.getAttribute(“CRMFieldSchemaName”).setRequiredLevel(“none”); Xrm.Page.getAttribute(“CRMFieldSchemaName”).setRequiredLevel(“required”); Xrm.Page.getAttribute(“CRMFieldSchemaName”).setRequiredLevel(“recommended”); Set the focus to a field Xrm.Page.getControl(“CRMFieldSchemaName”).setFocus(true); Stop an on save event event.returnValue = false; Return array

Abort event through plugins

Suppose you are writing a pre -event plugin in which you compare to  old and new values and on certain condition would like to cancel the Save or  Update and stop the execution, it was simple in CRM 3 with an Abort() method while in CRM 4, you have to manually raise and throw a  Invalid-Plugin-Exception, while this gives a dirty error message on your MSCRM screen, you can make it better by entering you own Message explaining why the record could not be saved: throw new InvalidPluginExecutionException("Execution has been stopped due to this reason");

Using MS CRM Calendar in your custom ASP .NET pages *** Not fully Supported Customisations ***

Hi, Have you been creating custom pages in line with MS CRM for creating , viewing and updating entity records ? Have you placed controls such as Date picker Lookup on your custom page and have tried in vein to make those look like MS CRM ? I found a way to use the same MS CRM calendar control as it appears in the application... For getting this calendar on your asp .net page, follow the steps below: 1) Create a copy of the date.js javascript file located in your-server/crmsite-folder/_static/_controls/datetime folder, give the copy some name like date_myapp.js. 2) Open the following .js files from different sub folders in side the  your-server/crmsite-folder/_static      folder :       Global.js       encodedecode.js       xmlutil.js       util.js       remotecommand.js              Copy and whole content of each file one by one and keep pasting the same to the end of your date_myapp.js file. 3) Now open any CRM entity record page, for example a new Account crea