Database SQL Operation: HearingRepresentative.searchActiveHearingRepAndCaseParticipantRoleByHearingID
Description: | Retrieves a list the IDs of participantRole, concernRole and HearingRepresentative for a given hearing ID. |
Sterotype: | nsmulti |
SELECT
HearingRepresentative.hearingRepresentativeID,
HearingRepresentative.caseParticipantRoleID,
CaseParticipantRole.participantRoleID,
HearingRepresentative.versionNo
INTO
:hearingRepresentativeID,
:caseParticipantRoleID,
:participantRoleID,
:versionNo
FROM
HearingRepresentative,
CaseParticipantRole
WHERE HearingRepresentative.hearingID = :hearingID
AND CaseParticipantRole.recordStatus = :recordStatus
AND HearingRepresentative.caseParticipantRoleID = CaseParticipantRole.caseParticipantRoleID
|