CREATE OR REPLACE TRIGGER USR_ATU_INSCRESTAD_SAP_ME
BEFORE INSERT OR UPDATE OF CDPAIS, SGESTADO, DSENDEIEST, DSCOMPENDIES, NMREPRINSEST,
                           NRTELEIEST, NMBAIRIEST, NRCEPIEST
   ON INSCRESTAD FOR EACH ROW
BEGIN
   :NEW.USR_IDINTEGRAMESAP := 'S';
END;
/

-- VERSAO --
BEGIN ATUVEROBJ('USR_ATU_INSCRESTAD_SAP_ME','6.02.XXX'); END;
/