project BLF > class BRole > business logic query RoleByNameActiveDescr

Description

RoleByNameActiveDescr; Query returning the


Parameters


icRoleDescriptioncharacterRoleDescription
ilRoleIsActivelogicalRoleIsActive
icRoleNamecharacterName fo the Role


query condition


  each Role where
Role.RoleDescription = icRoleDescription AND
Role.RoleIsActive = ilRoleIsActive AND
Role.RoleName = icRoleName

      first BusComponent (outer-join) where
BusComponent.BusComponent_ID = Role.BusComponent_ID AND


query resultset tqRoleByNameActiveDescr


field namedata typedb fielddescription
tiRole_IDintegerRole.Role_IDRecord ID
tcRoleNamecharacterRole.RoleNameRole Name
tcRoleDescriptioncharacterRole.RoleDescriptionRoleDescription
tlRoleIsActivelogicalRole.RoleIsActiveAct
tiBusComponent_IDintegerBusComponent.BusComponent_IDBusComponent_ID
tcBusComponentCodecharacterBusComponent.BusComponentCodeComponent
tcBusComponentLabelcharacterBusComponent.BusComponentLabelLabel
api annotation:test annotation for BusComponentLabel
tcRoleBusComponentConceptcharacterRole.RoleBusComponentConcept(unused)
ti_sequenceintegercalculatedprimary index
tc_rowidcharactercalculated = rowid(Role),rowid(BusComponent)


Internal usage


BLF
method BRole.ApiGetRolesForExport
method BUserRole.ValidateComponent
method BUserRole.ValidateComponentDefaultRole
method BWorkObject.GetRoleScopeFields