This article demonstrates adding an asynchronous call from the cases edit view to simulate returning an SLA computed date. Everything here is shown except creating the actual logic to determine the date a case should be closed by. There are several steps that must be completed.
• Create a custom field to hold the date
• Create the logic to determine SLA date
This document has step by step instructions.