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*/
--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
and recaudacion_id in (
728498,
728499,
728500,
728501,
728502,
728503,
728504,
728505,
734004,
734005
674705,
674706,
674707,
674708,
674709,
674710,
674711,
674712,
674713,
674714
)
order by recaudacion_id desc