fixes bug#0012471

dev: fabricio
qua: marcelo

Para a venda em aberto não foi possível validar por tipo de passagem. Em conversa com a Junia foi sugerido criar o campo telefone obrigatório no cadastro de linha, onde está sendo feita a validação. Em anexo segue a imagem.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@87059 d1611594-4594-4d17-8e1d-87c2c4800839
master
emerson 2018-11-14 20:07:50 +00:00
parent 811ee666bd
commit 211a4fab5a
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,7 @@
declare
object_exists exception;
pragma exception_init (object_exists , -01430);
begin
execute immediate 'ALTER TABLE RUTA ADD (INDTELEFONEOBRIGATORIO NUMBER(1,0) DEFAULT 0 NOT NULL)';
exception when object_exists then null;
end;

View File

@ -0,0 +1,7 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01430);
begin
execute immediate 'ALTER TABLE RUTA ADD (INDTELEFONEOBRIGATORIO NUMBER(1,0) DEFAULT 0 NOT NULL)';
exception when column_exists then null;
end;