UPDATE PARCMPSUP
SET IDBLALTAFAUT = 'S'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')
/
UPDATE PARCMPSUP
SET IDBLBAFDTPRO = 'S'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')
/
UPDATE PARCMPSUP
SET IDBLBAFDTPRO = 'S'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')
/
UPDATE PARCMPSUP
SET IDBLBAFMDPRO = 'S'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')
/
UPDATE PARASUPRI
SET IDCONSAFNECC = 'S'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')
/
UPDATE PARASUPRI
SET IDUTPOSESTNC = 'N'
WHERE
  EXISTS(SELECT CDFILIAL FROM PARAMGERAL WHERE IDSISDOS = '3')  
/