-- Parametrizacion de comandos para 14-3005 y 14-6004 -- TCOMANDOSID insert into TCOMANDOSID (COMANDO, TIPOCOMANDO) values ('com.fitbank.fixedAssets.maintenance.ChangeAssetStatus', 'MAN'); -- TCOMANDOS insert into TCOMANDOS (COMANDO, TIPOCOMANDO, FHASTA, CIDIOMA, FDESDE, DESCRIPCION, VERSIONCONTROL) values ('com.fitbank.fixedAssets.maintenance.ChangeAssetStatus', 'MAN', fncfhasta, 'ES', fncsysdate, 'Comando para actualizar el estado de un activo fijo a dado de baja', 0); -- TCOMANDOSMANTENIMIENTO delete from TCOMANDOSMANTENIMIENTO where csubsistema='14' and ctransaccion='3005'; Insert into TCOMANDOSMANTENIMIENTO (CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION,SCOMANDO,EVENTO,COMANDO,ORDEN,USACACHE,TIPOCOMANDO,ACTIVADO,CANALESEXCLUIDOS,PARAMETRO,VERSIONCONTROL,EJECUTADOPOR) values ('14','3005','01',1,'I','com.fitbank.fixedAssets.maintenance.CompleteProvision',1,'0','MAN','1',null,null,0,'F'); insert into tcomandosmantenimiento (csubsistema,ctransaccion,versiontransaccion,scomando,evento,comando,orden,usacache,tipocomando,activado,canalesexcluidos,parametro,versioncontrol,ejecutadopor) values ('14','3005','01',2,'I','com.fitbank.processor.maintenance.MaintenanceProcessor',2,'0','MAN','1',null,null,0,'F'); Insert into TCOMANDOSMANTENIMIENTO (CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION,SCOMANDO,EVENTO,COMANDO,ORDEN,USACACHE,TIPOCOMANDO,ACTIVADO,CANALESEXCLUIDOS,PARAMETRO,VERSIONCONTROL,EJECUTADOPOR) values ('14','3005','01',3,'I','com.fitbank.fixedAssets.maintenance.ChangeAssetStatus',3,'0','MAN','1',null,null,0,'F'); delete from TCOMANDOSMANTENIMIENTO where csubsistema='14' and ctransaccion='6004'; Insert into TCOMANDOSMANTENIMIENTO (CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION,SCOMANDO,EVENTO,COMANDO,ORDEN,USACACHE,TIPOCOMANDO,ACTIVADO,CANALESEXCLUIDOS,PARAMETRO,VERSIONCONTROL,EJECUTADOPOR) values ('14','6004','01',1,'I','com.fitbank.fixedAssets.maintenance.CompleteProvision',1,'0','MAN','1',null,null,0,'F'); insert into tcomandosmantenimiento (csubsistema,ctransaccion,versiontransaccion,scomando,evento,comando,orden,usacache,tipocomando,activado,canalesexcluidos,parametro,versioncontrol,ejecutadopor) values ('14','6004','01',2,'I','com.fitbank.processor.maintenance.MaintenanceProcessor',2,'0','MAN','1',null,null,0,'F'); Insert into TCOMANDOSMANTENIMIENTO (CSUBSISTEMA,CTRANSACCION,VERSIONTRANSACCION,SCOMANDO,EVENTO,COMANDO,ORDEN,USACACHE,TIPOCOMANDO,ACTIVADO,CANALESEXCLUIDOS,PARAMETRO,VERSIONCONTROL,EJECUTADOPOR) values ('14','6004','01',3,'I','com.fitbank.fixedAssets.maintenance.ChangeAssetStatus',3,'0','MAN','1',null,null,0,'F'); -- Paarametrizacion redefinicion de contabilidad activos fijos update tcatalogocuentas set estructuracodigo='18020106' where codigocontable='18020102'; update tcatalogocuentas set estructuracodigo='4505150106' where codigocontable='4505020101'; update tcuentacontable set nombrecuenta='DEPRECI.EDIFICIOS COOPERATIVA' where codigocontable='4505020101'; update tcuentacontable set nombrecuenta='Pérdida Venta Muebles y Enseres' where codigocontable in ('4701050101','4701050102','4701050201','4701050203','4701050204','4701050205','4701050202'); update tcuentacontable set nombrecuenta='Pérdida en venta de Eq. De oficina, Electrógeno, Contra Incendios y Médico' where codigocontable in ('4701050301','4701050302','4701050303','4701050304'); update tcatalogocuentas set estructuracodigo='56010103' where codigocontable in ('5601050101','5601050102','5601050201','5601050202','5601050203','5601050204','5601050205'); update tcuentacontable set nombrecuenta='Utilidad Venta Muebles y Enseres' where codigocontable in ('5601050101','5601050102','5601050201','5601050202','5601050203','5601050204','5601050205'); update tcuentacontable set nombrecuenta='Utilidad en venta de Eq. De oficina, Electrógeno, Contra Incendios y Médico' where codigocontable in ('5601050301','5601050302','5601050303','5601050304');