Returns the latest stop date of service accruals as of the Calculation Date for a Person for a specified Service Definition.
GETSVCENDLATEST("ServiceDefName")
"ServiceDefName": the name of the Service Definition for which you need to get the latest end date. This needs to be enclosed in quotes.
GETSVCENDLATEST("serviceCredited") returns the latest date that service stopped accruing for the Service Definition, serviceCredited