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.

Open formatted source/search result

Parameters

NameTypeOutput
@PRNodesQBM_YSingleGUIDno
@UID_OrgBOTargetvarcharno

Referenced objects

SchemaObjectColumn/minorClass
BaseTreeHasObjectOBJECT_OR_COLUMN
ITShopOrgOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YCursorBufferTYPE
QBM_YParameterListTYPE
QBM_YSingleGUIDTYPE
QER_PITShopProductNodeCreate_bOBJECT_OR_COLUMN
QER_PITShopProductNodeMoveOBJECT_OR_COLUMN
dboQBM_FGIGuidIsValidOBJECT_OR_COLUMN
dboQBM_FGISessionContextOBJECT_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 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

ParameterTypeDirection
@PRNodesqbm_ysingleguidinput
@UID_OrgBOTargetvarchar(38)input

DML targets

INSERT into

Read/join references

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 objectRelationEvidence
dbo.QER_PITShop_BoardMoveSQL expression dependencyOBJECT_OR_COLUMN
dbo.QER_PITShop_BoardMovesource text referenceuses session context values, has TRY/CATCH error handling