flowchart TD
Start([Event Occurs in Codebase]) --> EventCall[Call Generic Event Function]
EventCall --> EventParams[Pass: BusinessModuleId, BaseEntityId,<br/>PairingId, RecordId]
EventParams --> ValidateModule{Validate Business Module<br/>IsActive?}
ValidateModule -->|Invalid| LogModuleError[Log Error:<br/>Invalid Business Module]
LogModuleError --> EndError1([End - Error Logged])