Update 002 REINTEGRAR DUPLICADOS.sql

This commit is contained in:
darwin_quiroz 2025-07-23 11:17:14 -05:00
parent fd039e65c4
commit 5fd60004e9

View File

@ -5,18 +5,19 @@ if OBJECT_ID('tempdb.dbo.#reintegrar') is not null
/*OBTENEMOS LOS RECAUDACION IDS A REINTEGRAR DE ACUERDO AL ANÁLISIS DEL SCRIPT 001 VERIFICAR CONVENIO*/ /*OBTENEMOS LOS RECAUDACION IDS A REINTEGRAR DE ACUERDO AL ANÁLISIS DEL SCRIPT 001 VERIFICAR CONVENIO*/
--exec [dbo].[telus_recaudacion_registro_pago_reintegro] 18, 802284, 'Se reintegra por intemitencia de datos con el Portal.';
select * into #reintegrar from recaudacion_registro_pago where usuario_id = 430 select * into #reintegrar from recaudacion_registro_pago where usuario_id = 430
and recaudacion_id in ( and recaudacion_id in (
728498, 674705,
728499, 674706,
728500, 674707,
728501, 674708,
728502, 674709,
728503, 674710,
728504, 674711,
728505, 674712,
734004, 674713,
734005 674714
) )
order by recaudacion_id desc order by recaudacion_id desc