insert into iszl.t_package_type (packagetype, processname, processdescription, entities)
values
('29', 'HTMC_REFERRAL', 'Загрузка направлений на ВМП', (select EntityID from VCLib.T_ENTITIES where EntName = 'VMP_REFERRAL'))


