Reminders
Submitted by ppvs on Mon, 09/01/2012 - 13:19
Hi to all,
I wondered if anyone has had this happen.
I have printed our Vaccination reminders and I have found one for a pet that has had a change of ownership but the reminder has printed with the deactivated previous owners details on it not the new owner.
Could anyone advise what I should check to be sure it doesn't happen in the future.
Thanks
Bernie
Re: Reminders
Hi Bernie,
This will happen if you use the party.getPatientOwner(.) rather than the party:getPatientCurrentOwner(.) function in your letters. The former will return the owner at the time the reminder was created. The latter will always get the most recent owner.
So suggest check your reminder letters and make sure using correct function in field.
Cheers Tony
Re: Reminders
Hi
The two merge fields you will need are:
Current Owner Name: [party:getPartyFullName(party:getPatientCurrentOwner(.))]
Current Owner Address: [party:getCorrespondenceAddress(party:getPatientCurrentOwner(.))]
Cath
Re: Reminders
Thanks guys. I will get to fixing.
Bernie