
                update dbo.RegistryCache
                set registry_id = '70101000031012',registrytype_id = '13',lpu_id = '44',registry_begdate = '2022-02-01 00:00:00',registry_enddate = '2022-02-28 00:00:00',orgsmo_id = '1044677',lpuunitset_id = NULL,registry_num = '2',registry_accdate = '2022-03-01 00:00:00',registrystatus_id = '1',registry_sum = '4907737.8699999',registry_isactive = '2',registry_errorcount = NULL,registry_errorcommoncount = NULL,registry_recordcount = '2818',pmuser_insid = '372690913876',pmuser_updid = '372690913876',registry_insdt = '2022-02-20 20:04:37.468326',registry_upddt = '2022-03-01 02:33:42.896087',registry_exportpath = NULL,registry_expdt = NULL,registry_xmlexportpath = NULL,registry_xmlexpdt = NULL,registry_sumr = NULL,registry_sumf = NULL,registry_downdt = NULL,pmuser_downid = NULL,registry_isneedreform = NULL,katnasel_id = '70101000000001',orgrschet_id = NULL,registrystactype_id = NULL,registry_recordpaidcount = NULL,registry_kdcount = NULL,registry_kdpaidcount = NULL,registry_deleted = NULL,pmuser_delid = NULL,registry_deldt = NULL,registrycheckstatus_id = '70101000000001',registry_task = NULL,lpubuilding_id = NULL,paytype_id = NULL,registry_sumpaid = '4786583.3299999',registry_checkstatusdate = NULL,registry_checkstatustfomsdate = NULL,registry_senddt = NULL,drugfinance_id = NULL,whsdocumentcostitemtype_id = NULL,org_id = NULL,org_mid = NULL,orgrschet_mid = NULL,registry_filenum = NULL,dispclass_id = NULL,registrygrouptype_id = NULL,registry_xmlexppatherr = NULL,registry_isrepeated = '1',registry_rid = NULL,registry_persfincount = NULL,registry_persfinpaycount = NULL,registry_persfinsum = NULL,registry_exportsign = NULL,registry_iszno = '1',registry_counterr = NULL,registry_islocked = NULL,registry_packnum = '9',lpu_cid = NULL,registry_isfap = NULL,registry_ismek = NULL,RegistryCache_GenCount = coalesce(RegistryCache_GenCount, 0) + 1
                where RegistryCache_id = '70101000004814'
                returning 0 as "Error_Code", '' as "Error_Msg";
            
