Merge pull request 'refs #6842 sql mod sage' (!2050) from 6842-sageMod into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2050 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
779c075102
|
@ -592,13 +592,13 @@ INSERT INTO `vn`.`supplierAccount`(`id`, `supplierFk`, `iban`, `bankEntityFk`)
|
||||||
VALUES
|
VALUES
|
||||||
(241, 442, 'ES111122333344111122221111', 128);
|
(241, 442, 'ES111122333344111122221111', 128);
|
||||||
|
|
||||||
INSERT INTO `vn`.`company`(`id`, `code`, `supplierAccountFk`, `workerManagerFk`, `companyCode`, `sage200Company`, `expired`, `companyGroupFk`, `phytosanitary` , `clientFk`)
|
INSERT INTO `vn`.`company`(`id`, `code`, `supplierAccountFk`, `workerManagerFk`, `companyCode`, `expired`, `companyGroupFk`, `phytosanitary` , `clientFk`)
|
||||||
VALUES
|
VALUES
|
||||||
(69 , 'CCs', NULL, 30, NULL, 0, NULL, 1, NULL , NULL),
|
(69 , 'CCs', NULL, 30, 0, NULL, 1, NULL , NULL),
|
||||||
(442 , 'VNL', 241, 30, 2 , 1, NULL, 2, 'VNL Company - Plant passport' , 1101),
|
(442 , 'VNL', 241, 30, 1, NULL, 2, 'VNL Company - Plant passport' , 1101),
|
||||||
(567 , 'VNH', NULL, 30, NULL, 4, NULL, 1, 'VNH Company - Plant passport' , NULL),
|
(567 , 'VNH', NULL, 30, 4, NULL, 1, 'VNH Company - Plant passport' , NULL),
|
||||||
(791 , 'FTH', NULL, 30, NULL, 3, '2015-11-30', 1, NULL , NULL),
|
(791 , 'FTH', NULL, 30, 3, '2015-11-30', 1, NULL , NULL),
|
||||||
(1381, 'ORN', NULL, 30, NULL, 7, NULL, 1, 'ORN Company - Plant passport' , NULL);
|
(1381, 'ORN', NULL, 30, 7, NULL, 1, 'ORN Company - Plant passport' , NULL);
|
||||||
|
|
||||||
INSERT INTO `vn`.`taxArea` (`code`, `claveOperacionFactura`, `CodigoTransaccion`)
|
INSERT INTO `vn`.`taxArea` (`code`, `claveOperacionFactura`, `CodigoTransaccion`)
|
||||||
VALUES
|
VALUES
|
||||||
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
-- Auto-generated SQL script #202403061303
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=0
|
||||||
|
WHERE id=69;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=1
|
||||||
|
WHERE id=442;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=4
|
||||||
|
WHERE id=567;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=2
|
||||||
|
WHERE id=791;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=3
|
||||||
|
WHERE id=792;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=5
|
||||||
|
WHERE id=965;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=7
|
||||||
|
WHERE id=1381;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=3
|
||||||
|
WHERE id=1463;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=8
|
||||||
|
WHERE id=2142;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=6
|
||||||
|
WHERE id=2393;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET companyCode=9
|
||||||
|
WHERE id=3869;
|
||||||
|
|
||||||
|
-- Auto-generated SQL script #202403061311
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=69;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=442;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=567;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=791;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=792;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=965;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=1381;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=1463;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=2142;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=2393;
|
||||||
|
UPDATE vn.company
|
||||||
|
SET sage200Company=NULL
|
||||||
|
WHERE id=3869;
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE vn.company CHANGE sage200Company sage200Company__ int(2) DEFAULT NULL NULL COMMENT '@deprecated 06/03/2024';
|
||||||
|
ALTER TABLE vn.company MODIFY COLUMN sage200Company__ int(2) DEFAULT NULL NULL COMMENT '@deprecated 06/03/2024';
|
Loading…
Reference in New Issue