initializeListeners(); select cdr_dstName from tbl_CDR_Distributors with (nolock) where cdr_recordId = and ownerId = and fsl_tablecode = update tbl_CDR_Distributors set crmActive = 'N', crmActiveBy = , crmActiveDate = , crmActiveReason = where cdr_recordid = and ownerId = and fsl_tablecode = delete from tbl_DW_CRMDistributors#_tableSuffix# where ownerId = and ownerType = and cdr_recordid = select count(*) installed from tbl_SYS_EventListeners where ownerId = and ownerType = and eventSubjectType = 'CDR' and eventName = 'DistributorDeleted' insert into tbl_SYS_EventListeners ( ownerId, ownerType, eventSubjectType, eventName, listenerPath ) values( , , , , )