SELECT
AppealRelationship.appealRelationshipID,
AppealRelationship.versionNo,
AppealRelationship.continueBenefitsIndicator,
AppealRelationship.priorAppealCaseID,
AppealRelationship.caseID,
AppealRelationship.statusCode,
caseTypeCode
INTO
:appealRelationshipID,
:versionNo,
:continueBenefitsIndicator,
:priorAppealCaseID,
:caseID,
:statusCode,
:caseTypeCode
FROM
AppealRelationship,
CaseHeader
WHERE AppealRelationship.caseID = CaseHeader.caseID
AND AppealRelationship.appealCaseID = :appealCaseID
AND AppealRelationship.recordStatus = :recordStatus
|