Select fp.ID from FirmPersons fp join Firms f on fp.Parent_ID = f.ID where f.Firm_ID is null and f.Hidden = 'N' and fp.Person_ID = :PersonID
Generated by ABRA Software a.s. 27.10.2021 16:34:09