From b037f5d2e741c9dd1120b9d325edc39232d30a7e Mon Sep 17 00:00:00 2001 From: julio Date: Wed, 11 Jul 2018 12:48:25 +0000 Subject: [PATCH] fixes bug#11035 dev: julio qua: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -- Foi adicionionado a tela de empresa importo, a opção do calculo por data de Viagem ou data de emissao, porem essas alterações não foram feitas ainda na exportação bpe, pois a Guanabara ainda esta definindo como sera a aplicação disso para os filtros. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@83282 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20180706_1035__mantis11035.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/db/migration/V20180706_1035__mantis11035.sql diff --git a/src/db/migration/V20180706_1035__mantis11035.sql b/src/db/migration/V20180706_1035__mantis11035.sql new file mode 100644 index 000000000..07165d8bf --- /dev/null +++ b/src/db/migration/V20180706_1035__mantis11035.sql @@ -0,0 +1,16 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (INDTRIBEMISSAO NUMBER(1) DEFAULT 1 )'; + exception when column_exists then null; +end; +/ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'ALTER TABLE EMPRESA_IMPOSTO ADD (INDTRIBVIAGEM NUMBER(1) DEFAULT 0 )'; + exception when column_exists then null; +end; +/ \ No newline at end of file