dbo.RPS_TUDialogConfigParm
Database TriggerSQL_TRIGGERSandbox DB
Interpretation
- Database trigger. Treat parent table and enqueue/object-layer calls as the main relation points.
- DBQueue relation detected. Follow the task procedure and referenced-by list for async processing.
Relations
- Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4
- References QBM_PDBQueueInsert_Single
- Trigger parent table: DialogConfigParm
Typed Edges
- queues DBQueue task QBM_ZRecalculate at line 4 Single DBQueue insert -> QBM-K-CommonReCalculate / QBM_ZRecalculate at line 4
- trigger on table DialogConfigParm Trigger parent table: DialogConfigParm
- references source dbo.QBM_FGISessionContext source text reference
- references source dbo.QBM_PDBQueueInsert_Single source text reference
- references source dbo.QBM_PSessionErrorAdd source text reference
References
Referenced By
- No direct source references extracted.
Complete Source
1CREATE trigger RPS_TUDialogConfigParm2 ON DialogConfigParm FOR3UPDATE NOT FOR Replication4AS5BEGIN6 BEGIN TRY7 IF EXISTS(8 SELECT TOP 1 19 FROM inserted)10 GOTO start11 IF EXISTS(12 SELECT TOP 1 113 FROM deleted)14 GOTO start15 RETURN start:16 DECLARE @GenProcID varchar(38)17 SELECT @GenProcID = dbo.QBM_FGISessionContext('')18 IF EXISTS(19 SELECT TOP 1 120 FROM dialogconfigparm p21 JOIN deleted d22 ON p.uid_configparm = d.uid_configparm AND(isnull(d.value, N '') <> isnull(p.value, N '') OR isnull(d.IsEnabledResulting,23 0) <> isnull(p.IsEnabledResulting, 0))24 WHERE25 p.IsPreprocessorCondition = 1)26 BEGIN27 EXEC QBM_PDBQueueInsert_Single 'QBM-K-CommonReCalculate',28 'RPS-K-PrepropRPSReport',29 '',30 @GenProcID31 END32 END TRY33 BEGIN CATCH34 EXEC QBM_PSessionErrorAdd DEFAULT35 RAISERROR('',36 18,37 1)38 WITH NOWAIT39 END CATCH40END
Open raw exported source
1 create trigger RPS_TUDialogConfigParm on DialogConfigParm for Update not for Replication as begin BEGIN TRY if exists (select top 1 1 from 2inserted) goto start if exists (select top 1 1 from deleted) goto start return start: declare @GenProcID varchar(38) select @GenProcID = dbo.QBM_FGISessionContext3('') if exists (select top 1 1 from dialogconfigparm p join deleted d on p.uid_configparm = d.uid_configparm and ( isnull(d.value,N'') <> isnull(p.value4,N'') or isnull(d.IsEnabledResulting,0)<> isnull(p.IsEnabledResulting,0) ) where p.IsPreprocessorCondition = 1 ) begin exec QBM_PDBQueueInsert_Single 5'QBM-K-CommonReCalculate', 'RPS-K-PrepropRPSReport', '', @GenProcID end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH6 NOWAIT END CATCH end 7