Operation Details |
Description: | The pre data access should set the statusCode to 'OPEN' |
Sterotype: | ns |
SQL |
SELECT COUNT(*) INTO :numberOfRecords FROM CaseHeader, CaseUserRole, OrgObjectLink WHERE OrgObjectLink.userName = :userName AND OrgObjectLink.orgObjectLinkID = CaseUserRole.orgObjectLinkID AND CaseUserRole.caseID = CaseHeader.caseID AND CaseHeader.statusCode = :statusCode AND CaseUserRole.typeCode = :typeCode |