CREATE OR REPLACE DEFINER=`root`@`localhost`
	SQL SECURITY DEFINER
	VIEW `vn2008`.`pago_sdc`
AS SELECT `ei`.`id` AS `pago_sdc_id`,
	`ei`.`amount` AS `importe`,
	`ei`.`dated` AS `fecha`,
	`ei`.`dueDated` AS `vencimiento`,
	`ei`.`entityFk` AS `entity_id`,
	`ei`.`ref` AS `ref`,
	`ei`.`rate` AS `rate`,
	`ei`.`companyFk` AS `empresa_id`,
	`ei`.`financialProductTypefk` AS `financialProductTypefk`,
	`ei`.`upperBarrier` AS `upperBarrier`,
	`ei`.`lowerBarrier` AS `lowerBarrier`,
	`ei`.`strike` AS `strike`
FROM `vn`.`exchangeInsurance` `ei`