-- creacion de la transaccion para consulta especial insert into tsubsistematransaccionesid (csubsistema, ctransaccion, versiontransaccion, ordenmenu, presentarenmenu, interna, formulariobase, afectainmovilizacion, cgrupotransaccion, presentarenreverso, cnivelmenu, listavalor, usacache, sumacomponentes, provision, completarrubros, lotegenerico, verificanivelseguridad, cusuario_ingreso, fingreso, acumulacontador, pagina, origendestino, controlaefectivo, requiereautorizacion) values ('01','9051','01',0,'0','1','1','0',null,null,null,'1','0',null,'0','0',null,'0',null,null,null,null,null,null,'0'); insert into tsubsistematransacciones (cidioma,csubsistema,ctransaccion,versiontransaccion,fhasta,versioncontrol,fdesde,descripcion) values ('ES','01','9051','01',fncfhasta(),0,fncsysdate(),'LISTA VALORES - consulta tasa'); insert into tcompaniatransacciones (cpersona_compania, csubsistema, ctransaccion, versiontransaccion, versioncontrol) values (2,'01','9051','01',0); -- creacion de la lista de valores para consultar la tasa mediante Json DELETE from tformatolistavalorestitulo where listavalor = 'tasa'; DELETE from tformatolistavaloresetiquetas where listavalor = 'tasa'; DELETE from tformatolistavalorescampos where listavalor = 'tasa'; DELETE from tformatolistavalorescamposid where listavalor = 'tasa'; DELETE from tformatolistavalores where listavalor = 'tasa'; DELETE from tformatolistavaloresid where listavalor = 'tasa'; insert into tformatolistavaloresid(LISTAVALOR,CPERSONA_COMPANIA,CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION) values ('tasa',2,'01','9051','01'); insert into tformatolistavalores(LISTAVALOR,FHASTA,VERSIONCONTROL,FDESDE,XML,ALIASTABLA) values ('tasa',fncfhasta(),0,fncsysdate(),' ','lov'); insert into tformatolistavalorescamposid(LISTAVALOR,CAMPO) values ('tasa','CCUENTA'); insert into tformatolistavalorescampos(LISTAVALOR,CAMPO,FHASTA,VERSIONCONTROL,FDESDE,ANCHO,ORDEN,ALINEACION,CRITERIO,TIPODATO,FORMATO) values ('tasa','CCUENTA',fncfhasta(),0,fncsysdate(),0,1,null,'1',null,null); insert into tformatolistavaloresetiquetas(CIDIOMA,LISTAVALOR,CAMPO,FHASTA,VERSIONCONTROL,FDESDE,ETIQUETA) values ('ES','tasa','CCUENTA',fncfhasta(),0,fncsysdate(),'Tasa del Producto'); insert into tformatolistavalorestitulo(CIDIOMA,LISTAVALOR,FHASTA,VERSIONCONTROL,FDESDE,TITULO) values ('ES','tasa',fncfhasta(),0,fncsysdate(),'Tasa del Producto'); -- parametrizacion de la transaccion y comando Insert into TCOMANDOSID (COMANDO,TIPOCOMANDO) values ('com.fitbank.fin.query.ObtainRate','CON'); Insert into TCOMANDOS (COMANDO,TIPOCOMANDO,FHASTA,CIDIOMA,VERSIONCONTROL,FDESDE,DESCRIPCION) values ('com.fitbank.fin.query.ObtainRate','CON',fncfhasta(),'ES',0,fncsysdate(),'Obtiene la tasa de un producto'); delete from tcomandosmantenimiento where csubsistema = '01' and ctransaccion = '9051'; Insert into TCOMANDOSMANTENIMIENTO (CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION,SCOMANDO,VERSIONCONTROL,EVENTO,COMANDO,ORDEN,USACACHE,TIPOCOMANDO,ACTIVADO,CANALESEXCLUIDOS,PARAMETRO) values ('01','9051','01',1,0,'F','com.fitbank.fin.query.ObtainRate',1,'0','CON','1',null,null);