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

16 lines
453 B
MySQL
Raw Normal View History

CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`iva_codigo`
AS SELECT `tc`.`id` AS `id`,
`tc`.`dated` AS `fecha`,
`tc`.`code` AS `codigo`,
`tc`.`taxTypeFk` AS `iva_tipo_id`,
`tc`.`rate` AS `iva`,
`tc`.`equalizationTax` AS `recargo`,
`tc`.`type` AS `tipo`,
`tc`.`link` AS `link`,
`tc`.`isActive` AS `isActive`,
`tc`.`updated` AS `updated`,
`tc`.`transactionCode` AS `transactionCode`
FROM `vn`.`taxCode` `tc`