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 ('06','2020','01',0,'1','0','1','0',null,'0','0104','0','0','0','0','0',null,null,null,null,null,null,null,null,'0');
insert into tsubsistematransacciones (cidioma,csubsistema,ctransaccion,versiontransaccion,fhasta,versioncontrol,fdesde,descripcion) values ('ES','06','2020','01',fncfhasta(),0,fncsysdate(),'Solicitud de Préstamos Asociados a Línea');
insert into tcompaniatransacciones (cpersona_compania, csubsistema, ctransaccion, versiontransaccion, versioncontrol) values (2,'06','2020','01',0);
insert into ttransaccionmultidescripcion (cidioma,csubsistema, ctransaccion, versiontransaccion, fhasta, versioncontrol, fdesde, descripcionmultiple,glosa)values('ES','06','2020','01',fncfhasta(),0,fncsysdate(),'Solicitud de Préstamos Asociados a Línea','Esta transacción permite realizar una solicitud de préstamos asociados a una línea de crédito');
insert into tcomandosid (COMANDO, TIPOCOMANDO)
values ('com.fitbank.creditline.query.GetAvailableBalance', 'CON');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('01', '9063', '01', 1, 0, 'I', 'com.fitbank.fin.query.ThreadLocalStart', 1, '0', 'CON', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('01', '9063', '01', 2, 0, 'I', 'com.fitbank.creditline.query.GetAvailableBalance', 2, '0', 'CON', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('01', '9063', '01', 3, 0, 'I', 'com.fitbank.fin.query.ThreadLocalClose', 3, '0', 'CON', '1', '', '');
insert into tcomandosid (COMANDO, TIPOCOMANDO)
values ('com.fitbank.creditline.acco.GetCreditLineforClient', 'CON');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('01', '9064', '01', 1, 0, 'I', 'com.fitbank.creditline.acco.GetCreditLineforClient', 1, '0', 'CON', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 1, 0, 'I', 'com.fitbank.person.sequence.DocumentPerson', 1, '0', 'MAN', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 2, 0, 'I', 'com.fitbank.person.PersonImageManagement', 2, '0', 'MAN', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 3, 0, 'I', 'com.fitbank.solicitude.CommonSolicitude', 3, '0', 'MAN', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 4, 0, 'I', 'com.fitbank.loan.maintenance.ExpireSolicitudeLiquidation', 4, '0', 'MAN', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 5, 0, 'I', 'com.fitbank.loan.maintenance.CustomerDocuments', 5, '0', 'MAN', '1', '', '');
insert into tcomandosmantenimiento (CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION, SCOMANDO, VERSIONCONTROL, EVENTO, COMANDO, ORDEN, USACACHE, TIPOCOMANDO, ACTIVADO, CANALESEXCLUIDOS, PARAMETRO)
values ('06', '2020', '01', 6, 0, 'I', 'com.fitbank.processor.maintenance.MaintenanceProcessor',6, '0', 'MAN', '1', '', '');
insert into tentidad (TNAME, PAC, ENTITY, JAVAEXTENDS, JAVAIMPLEMENTS, INSERTDML, CREATEREFERENCES, OPTIMISTICLOCKING, UPDATEDML, HISTORY, PROJECT)
values ('TSOLICITUDCREDITOOPERACIONES', 'soli.creditline', 'Tcreditsolicitudeoperations', '', '', '', '0', '1', '', '1', 'psolicitude');
DELETE from tformatolistavalorestitulo where listavalor = 'operacionesfecha';
DELETE from tformatolistavaloresetiquetas where listavalor = 'operacionesfecha';
DELETE from tformatolistavalorescampos where listavalor = 'operacionesfecha';
DELETE from tformatolistavalorescamposid where listavalor = 'operacionesfecha';
DELETE from tformatolistavalores where listavalor = 'operacionesfecha';
DELETE from tformatolistavaloresid where listavalor = 'operacionesfecha';
--tformatolistavaloresid
insert into tformatolistavaloresid (LISTAVALOR, CPERSONA_COMPANIA, CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION)
values ('operacionesfecha', 2, '01', '9066', '01');
--tformatolistavalores
insert into tformatolistavalores (LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, XML, ALIASTABLA)
values ('operacionesfecha', fncfhasta(), 0, fncsysdate(), '
', 'lov');
--tformatolistavalorescamposid
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('operacionesfecha', 'FECHAAPERTURA');
--tformatolistavalorescampos
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('operacionesfecha', 'FECHAAPERTURA', fncfhasta(), 0, fncsysdate(), 0, 1, '', '0', '', '');
insert into tformatolistavaloresetiquetas (CIDIOMA, LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ETIQUETA)
values ('ES', 'operacionesfecha', 'FECHAAPERTURA', fncfhasta(), 0, fncsysdate(), 'Fecha Apertura');
insert into tformatolistavalorestitulo (CIDIOMA, LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, TITULO)
values ('ES', 'operacionesfecha', fncfhasta(), 1, fncsysdate(), 'LISTA VALORES OPERACIONE FECHA');
DELETE from tformatolistavalorestitulo where listavalor = 'tcuenta';
DELETE from tformatolistavaloresetiquetas where listavalor = 'tcuenta';
DELETE from tformatolistavalorescampos where listavalor = 'tcuenta';
DELETE from tformatolistavalorescamposid where listavalor = 'tcuenta';
DELETE from tformatolistavalores where listavalor = 'tcuenta';
DELETE from tformatolistavaloresid where listavalor = 'tcuenta';
--tformatolistavaloresid
insert into tformatolistavaloresid (LISTAVALOR, CPERSONA_COMPANIA, CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION)
values ('tcuenta', 2, '01', '0002', '01');
--tformatolistavalores
insert into tformatolistavalores (LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, XML, ALIASTABLA)
values ('tcuenta', fncfhasta(), 0, fncsysdate(), '
', 'lov');
--tformatolistavalorescamposid
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('tcuenta', 'CCUENTA');
--tformatolistavalorescampos
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('tcuenta', 'CCUENTA', fncfhasta(), 0, fncsysdate(), 0, 1, '', '0', '', '');
insert into tformatolistavaloresetiquetas (CIDIOMA, LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ETIQUETA)
values ('ES', 'tcuenta', 'CCUENTA', fncfhasta(), 0, fncsysdate(), 'Cuenta');
insert into tformatolistavalorestitulo (CIDIOMA, LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, TITULO)
values ('ES', 'tcuenta', fncfhasta(), 1, fncsysdate(), 'LISTA VALORES DE CUENTA');
DELETE from tformatolistavalorestitulo where listavalor = 'monedacreditline';
DELETE from tformatolistavaloresetiquetas where listavalor = 'monedacreditline';
DELETE from tformatolistavalorescampos where listavalor = 'monedacreditline';
DELETE from tformatolistavalorescamposid where listavalor = 'monedacreditline';
DELETE from tformatolistavalores where listavalor = 'monedacreditline';
DELETE from tformatolistavaloresid where listavalor = 'monedacreditline';
--tformatolistavaloresid
insert into tformatolistavaloresid (LISTAVALOR, CPERSONA_COMPANIA, CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION)
values ('monedacreditline', 2, '01', '0002', '01');
--tformatolistavalores
insert into tformatolistavalores (LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, XML, ALIASTABLA)
values ('monedacreditline', fncfhasta(), 0, fncsysdate(), '
', 'lov');
--tformatolistavalorescamposid
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('monedacreditline', 'MONTOMAXIMO');
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('monedacreditline', 'MONTOMINIMO');
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('monedacreditline', 'PLAZOMAXIMO');
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('monedacreditline', 'PLAZOMINIMO');
--tformatolistavalorescampos
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('monedacreditline', 'MONTOMAXIMO', fncfhasta(), 0, fncsysdate(), 0, 2, '', '0', '', '');
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('monedacreditline', 'MONTOMINIMO', fncfhasta(), 0, fncsysdate(), 0, 1, '', '0', '', '');
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('monedacreditline', 'PLAZOMAXIMO', fncfhasta(), 0,fncsysdate(), 0, 4, '', '0', '', '');
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('monedacreditline', 'PLAZOMINIMO', fncfhasta(), 0, fncsysdate(), 0, 3, '', '0', '', '');
insert into tformatolistavaloresetiquetas (CIDIOMA, LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ETIQUETA)
values ('ES', 'monedacreditline', 'MONTOMINIMO', fncfhasta(), 0, fncsysdate(), 'Monto Mínimo');
insert into tformatolistavalorestitulo (CIDIOMA, LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, TITULO)
values ('ES', 'monedacreditline', fncfhasta(), 1, fncsysdate(), 'LISTA VALORES MONEDA PRODUCTOS');
DELETE from tformatolistavalorestitulo where listavalor = 'lineacreditosaldo';
DELETE from tformatolistavaloresetiquetas where listavalor = 'lineacreditosaldo';
DELETE from tformatolistavalorescampos where listavalor = 'lineacreditosaldo';
DELETE from tformatolistavalorescamposid where listavalor = 'lineacreditosaldo';
DELETE from tformatolistavalores where listavalor = 'lineacreditosaldo';
DELETE from tformatolistavaloresid where listavalor = 'lineacreditosaldo';
--tformatolistavaloresid
insert into tformatolistavaloresid (LISTAVALOR, CPERSONA_COMPANIA, CSUBSISTEMA, CTRANSACCION, VERSIONTRANSACCION)
values ('lineacreditosaldo', 2, '01', '9063', '01');
--tformatolistavalores
insert into tformatolistavalores (LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, XML, ALIASTABLA)
values ('lineacreditosaldo', fncfhasta(), 0, fncsysdate(), '
', 'lov');
--tformatolistavalorescamposid
insert into tformatolistavalorescamposid (LISTAVALOR, CAMPO)
values ('lineacreditosaldo', 'CGRUPOPRODUCTO');
--tformatolistavalorescampos
insert into tformatolistavalorescampos (LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ANCHO, ORDEN, ALINEACION, CRITERIO, TIPODATO, FORMATO)
values ('lineacreditosaldo', 'CGRUPOPRODUCTO', fncfhasta(), 0, fncsysdate(), 0, 1, '', '0', '', '');
insert into tformatolistavaloresetiquetas (CIDIOMA, LISTAVALOR, CAMPO, FHASTA, VERSIONCONTROL, FDESDE, ETIQUETA)
values ('ES', 'lineacreditosaldo', 'CGRUPOPRODUCTO', fncfhasta(), 0, fncsysdate(), 'Cgrupoproducto');
insert into tformatolistavalorestitulo (CIDIOMA, LISTAVALOR, FHASTA, VERSIONCONTROL, FDESDE, TITULO)
values ('ES', 'lineacreditosaldo', fncfhasta(), 1, fncsysdate(), 'LISTA VALORES LINEA DE CREDITO');