Database SQL Operation: CaseEvidenceGroupLink.readByTypeTreeAndRelatedID
Description: | Reads details of an evidence link by caseEvidenceTreeID, evidenceType and relatedID. |
Sterotype: | ns |
SELECT
CaseEvidenceGroupLink.caseEvidenceGroupLinkID,
CaseEvidenceGroupLink.caseEvidenceGroupID,
CaseEvidenceGroupLink.isEditableInTreeInd,
CaseEvidenceGroupLink.evidenceTypeInstanceID,
CaseEvidenceGroupLink.versionNo
INTO
:caseEvidenceGroupLinkID,
:caseEvidenceGroupID,
:isEditableInTreeInd,
:evidenceTypeInstanceID,
:versionNo
FROM
CaseEvidenceGroup,
CaseEvidenceGroupLink
WHERE CaseEvidenceGroup.caseEvidenceTreeID = :caseEvidenceTreeID
AND CaseEvidenceGroupLink.caseEvidenceGroupID = CaseEvidenceGroup.caseEvidenceGroupID
AND CaseEvidenceGroupLink.evidenceType = :evidenceType
AND CaseEvidenceGroupLink.relatedID = :relatedID
|