select count(A.virtualpos_id) from posshops7 A LEFT join posshops H ON H.id=A.parent_id where A.virtualpos_id is not null and h.useshifts='A' and A.ID like :SiteMask
Generated by ABRA Software a.s. 27.10.2021 16:34:30