dbo.QBM_PGUIDReplaceCustomizerFill

SQL_STORED_PROCEDURE

Created 2025-06-27T17:57:24.367 · modified 2026-04-14T23:20:27.280 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
No parameters.

Referenced objects

SchemaObjectColumn/minorClass
DialogCustomizerOBJECT_OR_COLUMN
DialogTableOBJECT_OR_COLUMN
DialogTableHasCustomizerOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBMClrTypeOBJECT_OR_COLUMN
dboQBM_FCVElementToObjectKey2OBJECT_OR_COLUMN
dboQBM_FGISessionErrorRethrowOBJECT_OR_COLUMN

Source excerpt

First extracted SQL definition lines from the exported source. Use the full source page for complete context.

Open full formatted source

1   create   procedure QBM_PGUIDReplaceCustomizerFill as begin declare @uid_customizer varchar(38) declare @XUser nvarchar(64) = object_name(@@procid
2) declare @Xdate datetime = getutcdate() SET XACT_ABORT OFF BEGIN TRY select top 1 @uid_customizer = m.UID_Customizer from DialogCustomizer m join QBMClrType
3 ct on m.UID_QBMClrType = ct.UID_QBMClrType where ct.FullTypeName = 'VI.Common.Customizer.ModuleGuids' insert into DialogTableHasCustomizer(UID_DialogTable
4, UID_Customizer, XObjectKey , XDateInserted, XDateUpdated, XUserInserted,XUserUpdated) select t.UID_DialogTable, @uid_customizer, dbo.QBM_FCVElementToObjectKey2
5 ('DialogTableHasCustomizer', 'UID_DialogTable', t.UID_DialogTable, 'UID_Customizer', @uid_customizer) , @Xdate, @Xdate, @XUser, @XUser from DialogTable
6 t with (readpast) where t.IsModuleGUIDAllowed = 1 and not exists (Select top 1 1 from DialogTableHasCustomizer h where h.UID_DialogTable = t.UID_DialogTable
7 and h.UID_Customizer = @uid_customizer ) delete DialogTableHasCustomizer  from DialogTableHasCustomizer h left outer join DialogTable t with (readpast
8) on h.UID_DialogTable = t.UID_DialogTable and t.IsModuleGUIDAllowed = 1 where h.UID_Customizer = @uid_customizer and t.UID_DialogTable is null END TRY
9 BEGIN CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT
10 END CATCH endLabel: return end 
11

Module relation graph

Loading module relation graph…

Source-derived context

Generated from exported SQL module definitions plus read-only sandbox sys.objects/sys.parameters/sys.sql_expression_dependencies metadata. This is factual source evidence, not a semantic guess.

provenance: SQL definition export provenance: sandbox DB metadata modified: 2026-04-14T23:20:27.280

has TRY/CATCH error handling

Summary: calls QBM_PSessionErrorAdd; writes INSERT DialogTableHasCustomizer, DELETE DialogTableHasCustomizer; reads/joins DialogCustomizer, QBMClrType, DialogTable, DialogTableHasCustomizer

Declared parameters

No declared parameters in sys.parameters for this object, or metadata was not available.

DML targets

INSERT DialogTableHasCustomizer DELETE DialogTableHasCustomizer

Called routines

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @uid_customizer @XUser @procid @Xdate @Rethrow

Referenced by / reverse dependencies

Generated from live DB metadata, FK rows, and exported SQL dependency/source extraction. This is factual linkage evidence, not inferred behavior.

Referencing objectRelationEvidence
dbo.QBM_TDDialogTableSQL expression dependencyOBJECT_OR_COLUMN
dbo.QBM_TIDialogTableSQL expression dependencyOBJECT_OR_COLUMN
dbo.QBM_TUDialogTableSQL expression dependencyOBJECT_OR_COLUMN
dbo.QBM_TDDialogTablesource text referenceinserts DBQueue tasks, uses session context values, has TRY/CATCH error handling
dbo.QBM_TIDialogTablesource text referenceinserts DBQueue tasks, uses session context values, has TRY/CATCH error handling
dbo.QBM_TUDialogTablesource text referenceinserts DBQueue tasks, uses session context values, has TRY/CATCH error handling