From 9c050dc58bc4dd7b862b3a8280c47b96b9271722 Mon Sep 17 00:00:00 2001 From: julio Date: Tue, 3 Aug 2021 19:13:45 +0000 Subject: [PATCH] bug#21498 - caso especifico do beneficio de nao cobrar valor extra do asiento pricing dev:Lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@108141 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20210803_1553__mantis21498.sql | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/db/migration/V20210803_1553__mantis21498.sql diff --git a/src/db/migration/V20210803_1553__mantis21498.sql b/src/db/migration/V20210803_1553__mantis21498.sql new file mode 100644 index 000000000..6665d5b34 --- /dev/null +++ b/src/db/migration/V20210803_1553__mantis21498.sql @@ -0,0 +1,14 @@ +declare + dup_val_on_index exception; + except_02291 exception; + + pragma exception_init (dup_val_on_index , -00001); + pragma exception_init (except_02291 , -02291); +begin + execute immediate + 'INSERT INTO GP_PRICING_BEN_CL_TARI(PRICINGBENCLTARI_ID,NOMEBENEFICIO,DESCBENEFICIO,USUARIO_ID,FECMODIF,ACTIVO) + VALUES (GP_PRICING_BEN_C_TAR_CTRL_SEQ.NEXTVAL, ''ISENCAO_POLTRONA'',''Não pagamento da marcação de poltrona'',-1,SYSDATE,1)'; + exception + when dup_val_on_index then null; + when except_02291 then null; +end;