UPDATE NOTAFISCAL
SET    CDSERIEENTR = 'Z1'
WHERE  IDENTRSAIDOP = 'E' AND
       (IDSISTEMA = 'DFE' OR IDSISTEMA IS NULL)
/
COMMIT
/

