fixes bug#11299
dev:thiago qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@82431 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
2f42841021
commit
a9f12e0a23
|
@ -0,0 +1,7 @@
|
||||||
|
declare
|
||||||
|
dup_val_on_index exception;
|
||||||
|
pragma exception_init (dup_val_on_index , -00001);
|
||||||
|
begin
|
||||||
|
execute immediate 'insert into funcion_sistema (funcionsistema_id,sistema_id,nombfuncion,descruta,activo,fecmodif,usuario_id) values
|
||||||
|
(funcion_sistema_seq.nextval,2,''ADM > CONFIGURCAO COMERCIAL > PRESTACAO CONTAS > RECALCULO DE COMISSAO > AUTORIZACAO > PERMITE CALCULO TODAS AGENCIAS'',''COM.RJCONSULTORES.ADM.CALCULODIARIOCOMISSAO.AUTORIZACAOCALCULOTODASAGENCIAS'',1,sysdate,1)';
|
||||||
|
end;
|
|
@ -0,0 +1,26 @@
|
||||||
|
declare
|
||||||
|
column_exists exception;
|
||||||
|
pragma exception_init (column_exists , -01430);
|
||||||
|
begin
|
||||||
|
execute immediate 'ALTER TABLE COMISSAO_RECEITA MODIFY(
|
||||||
|
BPR NUMBER(13,2),
|
||||||
|
GAP NUMBER(13,2),
|
||||||
|
IMPGAP NUMBER(13,2),
|
||||||
|
INTERNET NUMBER(13,2),
|
||||||
|
CANCELADOS NUMBER(13,2),
|
||||||
|
CANCELGAP NUMBER(13,2),
|
||||||
|
DEVOLVIDOS NUMBER(13,2),
|
||||||
|
DEVGAP NUMBER(13,2),
|
||||||
|
EXCESSO_BAGAGEM NUMBER(13,2),
|
||||||
|
SEG_OPCIONAL NUMBER(13,2),
|
||||||
|
RECEITA_OUTROS NUMBER(13,2),
|
||||||
|
DEVOLVIDOS_ORIGEM NUMBER(13,2),
|
||||||
|
DEVOLVIDOS_ORIGEM_GAP NUMBER(13,2),
|
||||||
|
QTDE_IMPGAP NUMBER(13,2),
|
||||||
|
COMISSAO_BPR NUMBER(13,2),
|
||||||
|
COMISSAO_ENTREGA_PASSAGEM NUMBER(13,2),
|
||||||
|
COMISSAO_ENTREGA_BAGAGEM NUMBER(13,2),
|
||||||
|
COMISSAO_SEG_OPCIONAL NUMBER(13,2),
|
||||||
|
COMISSAO_OUTROS NUMBER(13,2))';
|
||||||
|
exception when column_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue