dbo.ATT_ZAttestationHelperFill_Cfg

SQL_STORED_PROCEDURE

Created 2025-06-27T18:01:11.623 · modified 2026-04-14T23:20:42.307 · source: live DB sys.objects/sys.sql_expression_dependencies.

Open formatted source/search result

Parameters

NameTypeOutput
@SlotNumberintno

Referenced objects

SchemaObjectColumn/minorClass
ATT_PAttestationHelperFillOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YCursorBufferTYPE
QBM_YDBQueueCurrentTYPE
QBMDBQueueCurrentOBJECT_OR_COLUMN
dboQBM_FGIConfigparmValueOBJECT_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 ATT_ZAttestationHelperFill_Cfg (@SlotNumber int) as begin  declare @UID_AttestationCase varchar(38) declare @GenProcID varchar
2(38) declare @DebugLevel char(1) = 'W' declare @reduce int = 0 declare @ElementBuffer QBM_YCursorBuffer declare @ElementCount int declare @ElementIndex
3 int declare @DBQueueCurrent QBM_YDBQueueCurrent BEGIN TRY select @reduce = case dbo.QBM_FGIConfigparmValue('QER\Attestation\ReducedApproverCalculation'
4) when 'NoRecalc' then 2 when 'CurrentLevel' then 1 else 0 end if @reduce = 2 begin goto endLabel end insert into @DBQueueCurrent(UID_DialogDBQueue, UID_Parameter
5, UID_SubParameter, GenProcID) select UID_DialogDBQueue, UID_Parameter, UID_SubParameter, GenProcID from QBMDBQueueCurrent cu with (readpast) where cu.SlotNumber
6 = @SlotNumber if @@rowcount = 0 begin goto EndLabel end insert into @ElementBuffer (UID1, UID2) select uid_parameter, GenprocID from @DBQueueCurrent p
7 select @ElementCount = @@ROWCOUNT select @ElementIndex = 1 while @ElementIndex <= @ElementCount begin select top 1 @UID_AttestationCase = bu.UID1 , @GenProcID
8 = bu.UID2 from @ElementBuffer bu where bu.ElementIndex = @ElementIndex exec ATT_PAttestationHelperFill @UID_AttestationCase, @GenprocID, @CurrentLevelOnly
9 = @reduce select @ElementIndex += 1 end  END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH endLabel: return
10 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:42.307

has TRY/CATCH error handling

Summary: calls ATT_PAttestationHelperFill, QBM_PSessionErrorAdd; writes INSERT into; reads/joins QBMDBQueueCurrent; uses config QER\Attestation\ReducedApproverCalculation

Declared parameters

ParameterTypeDirection
@SlotNumberintinput

DML targets

INSERT into

Read/join references

Config/session

Config: QER\Attestation\ReducedApproverCalculation

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @SlotNumber @UID_AttestationCase @GenProcID @DebugLevel @reduce @ElementBuffer @ElementCount @ElementIndex @DBQueueCurrent @rowcount @ROWCOUNT @GenprocID @CurrentLevelOnly

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.

No reverse dependencies extracted.