2024-08-20 08:06:10 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost`
|
2024-01-15 11:31:03 +00:00
|
|
|
SQL SECURITY DEFINER
|
|
|
|
VIEW `vn`.`paymentExchangeInsurance`
|
2024-04-24 07:53:31 +00:00
|
|
|
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`
|