project BLF > class BSODViolationRule1 > business logic query ViolationsByRole


Parameters


iiRoleIDinteger


query condition


  each SODViolation1 where
SODViolation1.Role_ID = iiRoleID

      first SODCategory1 (inner-join) where
SODCategory1.SODCategory_ID = SODViolation1.SODCategory1_ID AND

      first SODCategory2 (inner-join) where
SODCategory2.SODCategory_ID = SODViolation1.SODCategory2_ID AND

      first SODExclusion (inner-join) where
SODExclusion.SODCategory1_ID = SODViolation1.SODCategory1_ID AND
SODExclusion.SODCategory2_ID = SODViolation1.SODCategory2_ID AND


query resultset tqViolationsByRole


field namedata typedb fielddescription
tiSODCategory_IDintegerSODCategory1.SODCategory_IDrecord ID
tiSODCategory_ID1integerSODCategory2.SODCategory_IDrecord ID
tcSODCategoryCode1characterSODCategory1.SODCategoryCodeSOD category code
tcSODCategoryCode2characterSODCategory2.SODCategoryCodeSOD category code
tcSODCategoryDescription1characterSODCategory1.SODCategoryDescriptionSOD category description
tcSODCategoryDescription2characterSODCategory2.SODCategoryDescriptionSOD category description
tcSODExclusionLevelcharacterSODExclusion.SODExclusionLevelExclusion Level


Internal usage


BLF
method BSODReport.SODViolations