This commit is contained in:
parent
153e002cb8
commit
3e8fbce34d
|
@ -23,17 +23,18 @@ SET id = CASE id
|
|||
WHEN 7001010000 THEN 7001101000
|
||||
WHEN 7000080000 THEN 7000008000
|
||||
WHEN 7001080000 THEN 7000108000
|
||||
WHEN 7002080000 THEN 7000208000
|
||||
WHEN 7000090000 THEN 7000009000
|
||||
WHEN 7000100000 THEN 7000010000
|
||||
WHEN 7002090000 THEN 7000209000
|
||||
WHEN 7002100000 THEN 7000210000
|
||||
WHEN 7001090000 THEN 7000109000
|
||||
WHEN 7001100000 THEN 7000110000
|
||||
WHEN 7000120000 THEN 7000012000
|
||||
WHEN 7002120000 THEN 7000212000
|
||||
WHEN 7000130000 THEN 7000013000
|
||||
WHEN 7000140000 THEN 7000014000
|
||||
WHEN 7002080000 THEN 7001208000
|
||||
WHEN 7000090000 THEN 7001009000
|
||||
WHEN 7000100000 THEN 7001010000
|
||||
WHEN 7002090000 THEN 7001209000
|
||||
WHEN 7002100000 THEN 7001210000
|
||||
WHEN 7001090000 THEN 7001109000
|
||||
WHEN 7001100000 THEN 7001110000
|
||||
WHEN 7000120000 THEN 7001012000
|
||||
WHEN 7002120000 THEN 7001212000
|
||||
WHEN 7000130000 THEN 7001013000
|
||||
WHEN 7000140000 THEN 7001014000
|
||||
WHEN 7000008000 THEN 7040008000
|
||||
ELSE id
|
||||
END
|
||||
WHERE id IN (7000010000, 7000020000, 7000030000, 7000040000, 7000050000,
|
||||
|
@ -42,4 +43,4 @@ WHERE id IN (7000010000, 7000020000, 7000030000, 7000040000, 7000050000,
|
|||
7001070000, 7001030000, 7001040000, 7001050000, 7001020000,
|
||||
7001010000, 7000080000, 7001080000, 7002080000, 7000090000,
|
||||
7000100000, 7002090000, 7002100000, 7001090000, 7001100000,
|
||||
7000120000, 7002120000, 7000130000, 7000140000);
|
||||
7000120000, 7002120000, 7000130000, 7000140000, 7000008000);
|
|
@ -23,18 +23,19 @@ UPDATE vn.balanceNestTree
|
|||
WHEN 7001020000 THEN 7001102000
|
||||
WHEN 7001010000 THEN 7001101000
|
||||
WHEN 7000080000 THEN 7000008000
|
||||
WHEN 7001080000 THEN 7000108000
|
||||
WHEN 7002080000 THEN 7000208000
|
||||
WHEN 7000090000 THEN 7000009000
|
||||
WHEN 7000100000 THEN 7000010000
|
||||
WHEN 7002090000 THEN 7000209000
|
||||
WHEN 7002100000 THEN 7000210000
|
||||
WHEN 7001090000 THEN 7000109000
|
||||
WHEN 7001100000 THEN 7000110000
|
||||
WHEN 7000120000 THEN 7000012000
|
||||
WHEN 7002120000 THEN 7000212000
|
||||
WHEN 7000130000 THEN 7000013000
|
||||
WHEN 7000140000 THEN 7000014000
|
||||
WHEN 7001080000 THEN 7001108000
|
||||
WHEN 7002080000 THEN 7001208000
|
||||
WHEN 7000090000 THEN 7001009000
|
||||
WHEN 7000100000 THEN 7001010000
|
||||
WHEN 7002090000 THEN 7001209000
|
||||
WHEN 7002100000 THEN 7001210000
|
||||
WHEN 7001090000 THEN 7001109000
|
||||
WHEN 7001100000 THEN 7001110000
|
||||
WHEN 7000120000 THEN 7001012000
|
||||
WHEN 7002120000 THEN 7001212000
|
||||
WHEN 7000130000 THEN 7001013000
|
||||
WHEN 7000140000 THEN 7001014000
|
||||
WHEN 7000008000 THEN 7040008000
|
||||
ELSE expenseFk
|
||||
END
|
||||
WHERE expenseFk IN (7000010000, 7000020000, 7000030000, 7000040000, 7000050000,
|
||||
|
@ -43,4 +44,4 @@ UPDATE vn.balanceNestTree
|
|||
7001070000, 7001030000, 7001040000, 7001050000, 7001020000,
|
||||
7001010000, 7000080000, 7001080000, 7002080000, 7000090000,
|
||||
7000100000, 7002090000, 7002100000, 7001090000, 7001100000,
|
||||
7000120000, 7002120000, 7000130000, 7000140000);
|
||||
7000120000, 7002120000, 7000130000, 7000140000, 7000008000);
|
|
@ -1,4 +1,4 @@
|
|||
/*CALL bs.ventas_contables_add(2021, 1);
|
||||
CALL bs.ventas_contables_add(2021, 1);
|
||||
CALL bs.ventas_contables_add(2021, 2);
|
||||
CALL bs.ventas_contables_add(2021, 3);
|
||||
CALL bs.ventas_contables_add(2021, 4);
|
||||
|
@ -35,4 +35,3 @@ CALL bs.ventas_contables_add(2023, 10);
|
|||
CALL bs.ventas_contables_add(2023, 11);
|
||||
CALL bs.ventas_contables_add(2023, 12);
|
||||
CALL bs.ventas_contables_add(2024, 1);
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue