It doesn’t look like Dynamics allows for recurring appointments. I found a tutorial for recurring service activities, but I don’t really follow the portion where it sends a SOAP object. If anyone can help I would appreciate it
It doesn’t look like Dynamics allows for recurring appointments. I found a tutorial for
Share
It is possible to create reccuring appointments in MS CRM 4.0 without using workflow.
I have done one implementation for creating reccuring service activity. I have added two new fields in the Service Activity entity.
Please read the detailed implementation below:
Entity Name: serviceappointment
Add two new Fields
New Field 1
Field Label: Recurring Frequency
Field Name: new_recurringactivity
Requirement Level: No Constraint
Field TYpe: picklist
Field Values:
1 – Daily
2 – Weekly
3 – Fortnightly
4 – Monthly
5 – Bi-Monthly
6 – Quarterly
7 – Half Yearly
8 – Yearly
New Field 2
Field Label: Recurring End Date
Field Name: new_recurringenddate
Field Type: datetime
Field Format: Date Only
Requirement Level: No Constraint
Purpose of the new fields
Field Name: new_recurringactivity
Purpose: This field will accept recurring frequency from the user.
Field Name: new_recurringenddate
Purpose: This field will accept the date from the user. It will not create any activity beyond the date. Otherwise it will go in a endless loop.
CODE SNIPPET 1
CODE SNIPPET 2
// Add this code snippet to the OnSave event of the Service Activity
Some More Explanation
Please note in the above code snippet I am taking resources as user. So for that I have used in the code snippet
If you are considering equipments as your resources then use
Also note that if you want to accept multiple resources then you need to change the value in the “participationtypemask” node.
Since I am expecting 1 resource so I have kept the value as 1.
Let me know if this helps.
If you can’t see the code properly then you can also visit http://social.microsoft.com/forums/en-US/crmdevelopment/thread/3f020e02-cd86-44b2-9cff-36e6cdafc8d8/
Regards,
Sarbashish Bhattacharjee