3605-invoiceIn_intrastat3 #921

Merged
carlosjr merged 10 commits from 3605-invoiceIn_intrastat3 into dev 2022-04-11 10:40:20 +00:00
1 changed files with 0 additions and 20 deletions
Showing only changes of commit a152e22f6e - Show all commits

View File

@ -1,22 +1,2 @@
DROP VIEW `vn`.`invoiceInIntrastat__`;
RENAME TABLE `vn`.`invoiceInIntrastat` TO `vn`.`invoiceInIntrastat__`;
CREATE OR REPLACE
ALGORITHM = UNDEFINED
DEFINER=`root`@`localhost`
VIEW `vn`.`invoiceInIntrastat` AS
SELECT
`id`.`id` AS `id`,
`id`.`recibida_id` AS `invoiceInFk`,
`id`.`neto` AS `net`,
`id`.`intrastat_id` AS `intrastatFk`,
`id`.`importe` AS `amount`,
`id`.`unidades` AS `stems`,
`id`.`Paises_Id` AS `countryFk`,
`id`.`odbc_date` AS `dated`,
`id`.`valorestadistico` AS `statisticalValue`
FROM
`vn2008`.`intrastat_data` `id`;
INSERT INTO salix.ACL (model,property,accessType,permission,principalType,principalId)
vicent marked this conversation as resolved Outdated

update sql folder to fallas or the current version, basically a version yet to be merged.

update sql folder to fallas or the current version, basically a version yet to be merged.
VALUES ('InvoiceInIntrastat','*','*','ALLOW','ROLE','employee');