dbo.RPS_PAfterMigrationTasks
SQL_STORED_PROCEDURE
Created 2025-06-27T18:01:16.663 · modified 2026-04-14T23:20:45.387 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@GenProcID | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| BaseTree | OBJECT_OR_COLUMN | ||
| BaseTreeHasRPSReport | OBJECT_OR_COLUMN | ||
| QBM_PDBQueueInsert_Bulk | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YDBQueueRaw | TYPE |
Source excerpt
First extracted SQL definition lines from the exported source. Use the full source page for complete context.
1 create procedure RPS_PAfterMigrationTasks (@GenProcID varchar(38) ) as begin SET XACT_ABORT OFF BEGIN TRY declare @DBQueueElements_01 QBM_YDBQueueRaw 2 insert into @DBQueueElements_01 (object, subobject, genprocid) select x.uid, x.subobject, @GenProcID from ( select y.UID_Org as uid , 'RPS-K-OrgHasRPSReport' 3 as subobject from BaseTree y where y.UID_Org like '___-%' and y.XUserUpdated like 'QBM_PBufferT_Process%' and y.XDateUpdated > GETUTCDATE() -1 union 4select y.UID_Org as uid , 'RPS-K-OrgHasRPSReport' as subobject from BaseTreeHasRPSReport y where y.UID_Org like '___-%' and y.XUserUpdated like 'QBM_PBufferT_Process%' 5 and y.XDateUpdated > GETUTCDATE() -1 ) as x exec QBM_PDBQueueInsert_Bulk 'QER-K-AllChildrenOfOrg', @DBQueueElements_01 END TRY BEGIN CATCH exec QBM_PSessionErrorAdd 6 default RAISERROR ('', 18, 1) WITH NOWAIT END CATCH endLabel: return end 7
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:45.387
inserts DBQueue tasks has TRY/CATCH error handling
Summary: calls QBM_PDBQueueInsert_Bulk, QBM_PSessionErrorAdd; writes INSERT into; reads/joins BaseTree, BaseTreeHasRPSReport
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@GenProcID | varchar(38) | input |
DML targets
INSERT intoCalled routines
Read/join references
SQL dependency metadata
Config/session
Config: None extracted.
Session: None extracted.
DBQueue/tasks
RPS-K-OrgHasRPSReport QER-K-AllChildrenOfOrgTemp tables / referenced variables
Temp: None extracted.
Variables: @GenProcID @DBQueueElements_01
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.