Created
July 30, 2019 20:37
-
-
Save AndyDaSilva52/b6a656378a4afd2775fa58439ddc9820 to your computer and use it in GitHub Desktop.
#Mega Agendas de Integração - TRIGGER definir sempre um usuário fixo que é utilizado na integração dos movimentos - Modelo que permite múltiplas agendas rodando ao mesmo tempo em diferentes servidores#MegaERP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create or replace TRIGGER MGCLI.T_CLI_GLO_AGENDAINTMULTI | |
BEFORE INSERT OR UPDATE ON MGGLO.GLO_AGENDAINTMULTI | |
REFERENCING OLD AS OLD NEW AS NEW | |
FOR EACH ROW | |
BEGIN | |
:NEW.AIM_IN_USUARIOINTEGRA := 1; | |
END; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment