This commit is contained in:
parent
af06ef30d4
commit
7a021c9ac6
|
@ -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`
|
|
||||||
|
|
Loading…
Reference in New Issue