parent
fad30eb56d
commit
6163cad8a5
|
@ -1,6 +1,6 @@
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||||
SQL SECURITY DEFINER
|
SQL SECURITY DEFINER
|
||||||
VIEW `vn2008`.`payroll_employee`
|
VIEW `vn2008`.`payroll_employee`
|
||||||
AS SELECT `pw`.`workerCodeFk` AS `CodTrabajador`,
|
AS SELECT `pw`.`workerFkA3` AS `CodTrabajador`,
|
||||||
`pw`.`companyCodeFk` AS `codempresa`
|
`pw`.`companyFkA3` AS `codempresa`
|
||||||
FROM `vn`.`payrollWorker` `pw`
|
FROM `vn`.`payrollWorker` `pw`
|
||||||
|
|
|
@ -2,7 +2,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||||
SQL SECURITY DEFINER
|
SQL SECURITY DEFINER
|
||||||
VIEW `vn2008`.`payroll_conceptos`
|
VIEW `vn2008`.`payroll_conceptos`
|
||||||
AS SELECT `pc`.`id` AS `conceptoid`,
|
AS SELECT `pc`.`id` AS `conceptoid`,
|
||||||
`pc`.`concept` AS `concepto`,
|
`pc`.`name` AS `concepto`,
|
||||||
`pc`.`isSalaryAgreed` AS `isSalaryAgreed`,
|
`pc`.`isSalaryAgreed` AS `isSalaryAgreed`,
|
||||||
`pc`.`isVariable` AS `isVariable`,
|
`pc`.`isVariable` AS `isVariable`,
|
||||||
`pc`.`isException` AS `isException`
|
`pc`.`isException` AS `isException`
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
ALTER TABLE IF EXISTS `vn2008`.`payroll_employee` RENAME `vn`.`payrollWorker`;
|
ALTER TABLE IF EXISTS `vn2008`.`payroll_employee` RENAME `vn`.`payrollWorker`;
|
||||||
|
|
||||||
ALTER TABLE IF EXISTS `vn`.`payrollWorker`
|
ALTER TABLE IF EXISTS `vn`.`payrollWorker`
|
||||||
CHANGE COLUMN IF EXISTS `CodTrabajador` `workerFkA3` int(11) NOT NULL COMMENT 'Columna que hace referencia a A3.',,
|
CHANGE COLUMN IF EXISTS `CodTrabajador` `workerFkA3` int(11) NOT NULL COMMENT 'Columna que hace referencia a A3.',
|
||||||
CHANGE COLUMN IF EXISTS `nss` `nss__` varchar(23) NOT NULL COMMENT '@Deprecated refs #6738 15/03/2024',
|
CHANGE COLUMN IF EXISTS `nss` `nss__` varchar(23) NOT NULL COMMENT '@Deprecated refs #6738 15/03/2024',
|
||||||
CHANGE COLUMN IF EXISTS `codpuesto` `codpuesto__` int(10) NOT NULL COMMENT '@Deprecated refs #6738 15/03/2024',
|
CHANGE COLUMN IF EXISTS `codpuesto` `codpuesto__` int(10) NOT NULL COMMENT '@Deprecated refs #6738 15/03/2024',
|
||||||
CHANGE COLUMN IF EXISTS `codempresa` `companyFkA3` int(10) NOT NULL COMMENT 'Columna que hace referencia a A3.',
|
CHANGE COLUMN IF EXISTS `codempresa` `companyFkA3` int(10) NOT NULL COMMENT 'Columna que hace referencia a A3.',
|
||||||
|
|
Loading…
Reference in New Issue