Třídová akce

Kód:
4
Tělo:
SELECT 
  PF.Parent_ID
FROM 
  DPProtectedFields PF
  JOIN DPDefinitions DPD ON PF.Parent_ID = DPD.ID
WHERE
  PF.CLSID = :CLSID and
  PF.UpperFieldName = :UpperFieldName and
  DPD.IsActive = :IsActive and
  DPD.Hidden = 'N'
union all
SELECT 
  PF.Parent_ID
FROM 
  DPProtectedFields PF
  JOIN DPDefinitions DPD ON PF.Parent_ID = DPD.ID
WHERE
  PF.ReferenceCLSID = :CLSID and
  PF.ReferenceFieldName = :UpperFieldName and
  DPD.IsActive = :IsActive and
  DPD.Hidden = 'N'

Generated by ABRA Software a.s. 27.10.2021 16:34:08