UPDATE estaventasuc SET ventaneta = (ventagen-(ventarec+devoluciones)) WHERE codsuc = '' AND periodo = '';







UPDATE sucursales SET diaoperativo = '01/06/2025' , ultcierre = '2025-05-31 21:48:23' , version = '10.2.47.88' , consecactualfve = '54378' , resolactualfve = '0' WHERE sucursalid = 99;
UPDATE resolucionesdian SET consecactualsuc = '54378' , resolactualsuc = '0' WHERE sucursalid = 99;

