First of all, I am very new in dynamics crm.
I have situation where I have to calculate the age of person where case occurred and involved person type is "Complainant"
For that we have 3 Custome Entity
new_Case
Occurrence Date
new_involvePerson
Involved Person Type(following are types)
- Complainant
- Supervisor
- Investigator
and New_person
- DOB
Now, user update the Occurrence Date in Incident, I have to calculate age of complainant Involved Person
Is it possible to do in Javascript OnSave when Incident Case save? Or do i have to create a workflow or Plug-in? Is it possible to get the sample code
Thanks in advance