fix(payrollCenter): refs #6738
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-04-18 09:13:15 +02:00
parent af06ef30d4
commit 7a021c9ac6
1 changed files with 4 additions and 9 deletions

View File

@ -1,12 +1,7 @@
CREATE OR REPLACE DEFINER=`root`@`localhost` CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER SQL SECURITY DEFINER
VIEW `vn`.`payrollCenter` VIEW `vn`.`payrollCenter`
AS SELECT `b`.`cod_centro` AS `codCenter`, AS SELECT `b`.`workCenterFkA3` AS `codCenter`,
`b`.`Centro` AS `name`, `b`.`companyFkA3` AS `companyCode`
`b`.`nss_cotizacion` AS `nss`, FROM `vn`.`payrollWorkCenter` `b`
`b`.`domicilio` AS `street`,
`b`.`poblacion` AS `city`,
`b`.`cp` AS `postcode`,
`b`.`empresa_id` AS `companyFk`,
`b`.`codempresa` AS `companyCode`
FROM `vn2008`.`payroll_centros` `b`