Source: projects/identity-management/oim-kb-update/sandbox-host/2026-04-27-eset-and-itshop-flagcheck-file-evidence.md

> Source: projects/identity-management/oim-kb-update/sandbox-host/2026-04-27-eset-and-itshop-flagcheck-file-evidence.md

Goal

Find shipped (installed) OneIM 10.0 SQL artifacts on the sandbox host that explain:

Access path / constraints

Evidence (file paths)

RMS triggers (ESet + BaseTreeHasESet)

Generic flag-check procedure (QER)

Key excerpts (minimal)

RMS_TUESet calls QER_PIsForITShopFlagCheck for ESet

From ...\RMS_TESet.sql (around lines 41–67 in the shipped file):

if update(isForITShop) or update(isITShopOnly) begin
  ... insert into @FlagTest(...)
  exec QER_PIsForITShopFlagCheck 'ESet', @FlagTest
  ...
end

QER_PIsForITShopFlagCheck references BaseTreeHasESet

From ...\QER_PIsForITShopFlagCheck.sql (around lines 92–98 in the shipped file):

... join ESetHasEntitlement ... join BaseTreeHasESet ...
... where ... i.IsITShopOnlyNew = 1 ...
raiserror '#LDS#Change cannot take place because the resource belongs to a package which is assigned to a base tree outside the IT Shop.|'

Why this matters (troubleshooting)