dbo.ATT_PAttestationHelperFill_i
SQL_STORED_PROCEDURE
Created 2025-06-27T18:01:11.607 · modified 2026-04-14T23:20:42.280 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@SlotNumber | int | no |
@isNewDecisionLevel | int | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| ATT_PAttestationHelperFill | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YCursorBuffer | TYPE | ||
| QBM_YDBQueueCurrent | TYPE | ||
| QBMDBQueueCurrent | OBJECT_OR_COLUMN | ||
| dbo | QBM_FGISessionErrorRethrow | OBJECT_OR_COLUMN |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1create procedure ATT_PAttestationHelperFill_i (@SlotNumber int , @isNewDecisionLevel int ) as begin declare @UID_AttestationCase varchar(38) 2declare @GenProcID varchar(38) declare @DebugLevel char(1) = 'W' declare @ElementBuffer QBM_YCursorBuffer declare @ElementCount int declare @ElementIndex 3 int declare @DBQueueCurrent QBM_YDBQueueCurrent declare @SQLCmdWithRetry nvarchar(max) SET XACT_ABORT OFF BEGIN TRY insert into @DBQueueCurrent(UID_DialogDBQueue 4, UID_Parameter, UID_SubParameter, GenProcID) select UID_DialogDBQueue, UID_Parameter, UID_SubParameter, GenProcID from QBMDBQueueCurrent cu with (readpast 5) where cu.SlotNumber = @SlotNumber if @@rowcount = 0 begin goto EndLabel end insert into @ElementBuffer (UID1, UID2) select uid_parameter, GenprocID from 6 @DBQueueCurrent p select @ElementCount = @@ROWCOUNT select @ElementIndex = 1 while @ElementIndex <= @ElementCount begin select top 1 @UID_AttestationCase 7 = bu.UID1 , @GenProcID = bu.UID2 from @ElementBuffer bu where bu.ElementIndex = @ElementIndex exec ATT_PAttestationHelperFill @UID_AttestationCase, @GenprocID 8, @isNewDecisionLevel = @isNewDecisionLevel select @ElementIndex += 1 end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default declare @Rethrow varchar 9(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH endLabel: return end 10
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:42.280
has TRY/CATCH error handling
Summary: calls ATT_PAttestationHelperFill, QBM_PSessionErrorAdd; writes INSERT into; reads/joins QBMDBQueueCurrent
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@SlotNumber | int | input |
@isNewDecisionLevel | int | input |
DML targets
INSERT intoCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
None extracted.Temp tables / referenced variables
Temp: None extracted.
Variables: @SlotNumber @isNewDecisionLevel @UID_AttestationCase @GenProcID @DebugLevel @ElementBuffer @ElementCount @ElementIndex @DBQueueCurrent @SQLCmdWithRetry @rowcount @ROWCOUNT @GenprocID @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 object | Relation | Evidence |
|---|---|---|
| dbo.ATT_ZAttestationHelperFill | SQL expression dependency | OBJECT_OR_COLUMN |
| dbo.ATT_ZAttestationHelperFill_NL | SQL expression dependency | OBJECT_OR_COLUMN |
| dbo.ATT_ZAttestationHelperFill | source text reference | SQL_STORED_PROCEDURE |
| dbo.ATT_ZAttestationHelperFill_NL | source text reference | SQL_STORED_PROCEDURE |