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`
SQL SECURITY DEFINER
VIEW `vn`.`payrollCenter`
AS SELECT `b`.`cod_centro` AS `codCenter`,
`b`.`Centro` AS `name`,
`b`.`nss_cotizacion` AS `nss`,
`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`
AS SELECT `b`.`workCenterFkA3` AS `codCenter`,
`b`.`companyFkA3` AS `companyCode`
FROM `vn`.`payrollWorkCenter` `b`