Calculate SLA by custom field