dbo.QER_PITShop_PRNodesMove
SQL_STORED_PROCEDURE
Created 2025-06-27T18:01:06.737 · modified 2026-04-14T23:20:39.257 · source: live DB sys.objects/sys.sql_expression_dependencies.
Parameters
| Name | Type | Output |
|---|---|---|
@PRNodes | QBM_YSingleGUID | no |
@UID_OrgBOTarget | varchar | no |
Referenced objects
| Schema | Object | Column/minor | Class |
|---|---|---|---|
| BaseTreeHasObject | OBJECT_OR_COLUMN | ||
| ITShopOrg | OBJECT_OR_COLUMN | ||
| QBM_PSessionErrorAdd | OBJECT_OR_COLUMN | ||
| QBM_YCursorBuffer | TYPE | ||
| QBM_YParameterList | TYPE | ||
| QBM_YSingleGUID | TYPE | ||
| QER_PITShopProductNodeCreate_b | OBJECT_OR_COLUMN | ||
| QER_PITShopProductNodeMove | OBJECT_OR_COLUMN | ||
| dbo | QBM_FGIGuidIsValid | OBJECT_OR_COLUMN | |
| dbo | QBM_FGISessionContext | 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.
1 create procedure QER_PITShop_PRNodesMove (@PRNodes QBM_YSingleGUID readonly , @UID_OrgBOTarget varchar(38) ) as begin declare @UID_OrgPRSource 2 varchar(38) declare @ElementBuffer QBM_YCursorBuffer declare @ElementCount int declare @ElementIndex int declare @ObjectKeyElements QBM_YParameterList 3 declare @GenProcID varchar(38) SET XACT_ABORT OFF BEGIN TRY select @GenProcID = dbo.QBM_FGISessionContext('') insert into @ElementBuffer (UID1, ObjectKey1 4) select n.UID_SingleGuid, bho.ObjectKey from @PRNodes n join ITShopOrg pr on n.UID_SingleGuid = pr.UID_ITShopOrg and pr.ITShopInfo = 'PR' join BaseTreeHasObject 5 bho on n.UID_SingleGuid = bho.UID_Org where dbo.QBM_FGIGuidIsValid(pr.UID_ITShopOrg) & 2 = 0 and bho.InheritInfo = 1 select @ElementCount = @@ROWCOUNT 6 select @ElementIndex = 1 insert into @ObjectKeyElements(Parameter1) select bu.ObjectKey1 from @ElementBuffer bu exec QER_PITShopProductNodeCreate_b @UID_OrgBOTarget 7, @ObjectKeyElements, @GenProcID while @ElementIndex <= @ElementCount begin select top 1 @UID_OrgPRSource = bu.UID1 from @ElementBuffer bu where bu.ElementIndex 8 = @ElementIndex exec QER_PITShopProductNodeMove @UID_OrgPRSource, @UID_OrgBOTarget select @ElementIndex += 1 end END TRY BEGIN CATCH exec QBM_PSessionErrorAdd 9 default declare @Rethrow varchar(1000) = dbo.QBM_FGISessionErrorRethrow() RAISERROR (@Rethrow, 18, 1) WITH NOWAIT END CATCH ende: 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:39.257
uses session context values has TRY/CATCH error handling
Summary: calls QER_PITShopProductNodeCreate_b, QER_PITShopProductNodeMove, QBM_PSessionErrorAdd; writes INSERT into; reads/joins ITShopOrg, BaseTreeHasObject
Declared parameters
| Parameter | Type | Direction |
|---|---|---|
@PRNodes | qbm_ysingleguid | input |
@UID_OrgBOTarget | varchar(38) | input |
DML targets
INSERT intoRead/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: @PRNodes @UID_OrgBOTarget @UID_OrgPRSource @ElementBuffer @ElementCount @ElementIndex @ObjectKeyElements @GenProcID @ROWCOUNT @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.QER_PITShop_BoardMove | SQL expression dependency | OBJECT_OR_COLUMN |
| dbo.QER_PITShop_BoardMove | source text reference | uses session context values, has TRY/CATCH error handling |