CREATE OR REPLACE
TRIGGER USR_MOVSOLEXT_ITEMSOLI_EXTRA
AFTER UPDATE OR INSERT
ON MOVSOLEXT FOR EACH ROW
BEGIN
   UPDATE ITEMSOLI
   SET IDITMSOLEXTRA = 'S'
   WHERE CDFILSOLI = :NEW.CDFILSOLEXT
     AND CDFILLAN = :NEW.CDFILLANCEXT
     AND NRSOLICMP = :NEW.NRSOLIMOVEXT;
END;
/

-- VERSAO --
BEGIN ATUVEROBJ('USR_MOVSOLEXT_ITEMSOLI_EXTRA','6.00.XXX'); END;
/
