12 lines
347 B
SQL
12 lines
347 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `vn2008`.`recibida_vencimiento`
|
|
AS SELECT `r`.`id` AS `id`,
|
|
`r`.`invoiceInFk` AS `recibida_id`,
|
|
`r`.`dueDated` AS `fecha`,
|
|
`r`.`bankFk` AS `banco_id`,
|
|
`r`.`amount` AS `cantidad`,
|
|
`r`.`foreignValue` AS `divisa`,
|
|
`r`.`created` AS `stamp`
|
|
FROM `vn`.`invoiceInDueDay` `r`
|