Created
January 10, 2017 16:54
-
-
Save suspecie/73ee27481a8780b4af3755fe4c19c20b to your computer and use it in GitHub Desktop.
permissoes_lancamento_contabil
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
INSERT INTO `AccountingTransactionDescriptionProfile`(`id_descricao_transacao_contabil`,`id_perfil`) | |
VALUES ((SELECT 1 FROM AccountingTransactionDescription where des = 'MIGRACAO DE DADOS'),117); | |
INSERT INTO AccountingTransactionDescriptionEnvironment(id_descricao_transacao_contabil, id_empresa) SELECT | |
id_descricao_transacao_contabil , | |
id_empresa | |
FROM | |
AccountingTransactionDescription | |
LEFT JOIN erp_empresa e ON 1 = 1 | |
WHERE e.stat <> 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment