




DELETE FROM consolida5 WHERE PERIODO = '' AND CODSUCURSAL = '09';

DELETE FROM consolida4 WHERE CODSUCURSAL = '09' AND DIAOPERATIVO LIKE '%//';

DELETE FROM consolida6 WHERE CODSUCURSAL = '09' AND DIAOPERATIVO LIKE '%//';
UPDATE sucursales SET version = '10.2.47.88' , diaoperativo = '01/06/2025' , ultcierre = '2025-05-31 21:57:11' , 
	                   nomciudad = 'CUCUTA' , activa = 'CHECKED' , utlrecepauto = CURRENT_TIMESTAMP 
					   WHERE codigo = '09';
UPDATE sucursales SET consecactualfve = '62464' , resolactualfve = '0' WHERE sucursalid = 9;
UPDATE resolucionesdian SET consecactualsuc = '62464' , resolactualsuc = '0' WHERE sucursalid = 9;
