dbo.QER_ZITShopMemberDelete

SQL_STORED_PROCEDURE

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

Open formatted source/search result

Parameters

NameTypeOutput
@SlotNumberintno

Referenced objects

SchemaObjectColumn/minorClass
BaseTreeOBJECT_OR_COLUMN
personinBaseTreeOBJECT_OR_COLUMN
PersonWantsOrgOBJECT_OR_COLUMN
QBM_PSessionErrorAddOBJECT_OR_COLUMN
QBM_YParameterListTYPE
QBMDBQueueCurrentOBJECT_OR_COLUMN
QER_PITShopOrderMove_bulkOBJECT_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_ZITShopMemberDelete (@SlotNumber int) as begin declare @DebugLevel char(1) = 'W' declare @PWOsToMove QBM_YParameterList
2     BEGIN TRY insert into @PWOsToMove (Parameter1, Parameter2, Parameter3, HasContentFull) select pwo.UID_PersonWantsOrg, null , x.GenProcID, 1 from (
3 select UID_Parameter as uid_person, UID_SubParameter as uid_OrgSH, GenProcID from QBMDBQueueCurrent p with (readpast) where p.SlotNumber = @SlotNumber
4 ) as x join PersonWantsOrg pwo on x.uid_person = pwo.UID_PersonOrdered and x.uid_OrgSH = pwo.UID_OrgParentOfParent where not exists (select top 1 1 from
5 BaseTree cu join personinBaseTree pio on cu.uid_parentorg = x.uid_OrgSH and cu.itshopInfo = 'CU' and pio.uid_org = cu.uid_org and pio.uid_person = x.uid_person
6 and pio.XOrigin > 0 ) exec QER_PITShopOrderMove_bulk @PWOsToMove END TRY BEGIN CATCH exec QBM_PSessionErrorAdd default RAISERROR ('', 18, 1) WITH NOWAIT
7 END CATCH end 
8

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.023

has TRY/CATCH error handling

Summary: calls QER_PITShopOrderMove_bulk, QBM_PSessionErrorAdd; writes INSERT into; reads/joins QBMDBQueueCurrent, PersonWantsOrg, BaseTree, personinBaseTree

Declared parameters

ParameterTypeDirection
@SlotNumberintinput

DML targets

INSERT into

Config/session

Config: None extracted.

Session: None extracted.

DBQueue/tasks

None extracted.

Temp tables / referenced variables

Temp: None extracted.

Variables: @SlotNumber @DebugLevel @PWOsToMove

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.