Operation Details
Description: @deprecated Since Curam 6.0, relaced by readCurrentStatusByCaseID1. Method that reads the current case status record for a given case identifier. The most recent status record has 'end date' field of null.
Sterotype: ns
SQL
SELECT
  caseID,
  statusCode,
  reasonCode,
  startDate,
  endDate,
  startDateTime,
  endDateTime,
  caseStatusID,
  comments,
  userName,
  versionNo,
  relatedID
INTO
  :caseID,
  :statusCode,
  :reasonCode,
  :startDate,
  :endDate,
  :startDateTime,
  :endDateTime,
  :caseStatusID,
  :comments,
  :userName,
  :versionNo,
  :relatedID 
FROM
  CaseStatus 
WHERE caseID = :caseID 
  AND endDate IS NULL