salix/db/routines/vn2008/views/account_conciliacion.sql

14 lines
498 B
MySQL
Raw Permalink Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`account_conciliacion`
AS SELECT `ar`.`id` AS `idaccount_conciliacion`,
`ar`.`supplierAccountFk` AS `Id_Proveedores_account`,
`ar`.`operationDated` AS `Fechaoperacion`,
`ar`.`valueDated` AS `FechaValor`,
`ar`.`amount` AS `importe`,
`ar`.`concept` AS `Concepto`,
`ar`.`debitCredit` AS `DebeHaber`,
`ar`.`calculatedCode` AS `id_calculated`,
`ar`.`created` AS `odbc_date`
FROM `vn`.`accountReconciliation` `ar`