Merge pull request 'refactor: refs #7418 Item type refactor' (!2658) from 7418-itemType into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2658 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
1afce8124f
|
@ -3232,7 +3232,6 @@ INSERT IGNORE INTO vn.itemType
|
||||||
workerFk = 103,
|
workerFk = 103,
|
||||||
isInventory = TRUE,
|
isInventory = TRUE,
|
||||||
life = 10,
|
life = 10,
|
||||||
density = 250,
|
|
||||||
itemPackingTypeFk = NULL,
|
itemPackingTypeFk = NULL,
|
||||||
temperatureFk = 'warm';
|
temperatureFk = 'warm';
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,9 @@ AS SELECT `it`.`id` AS `tipo_id`,
|
||||||
`it`.`workerFk` AS `Id_Trabajador`,
|
`it`.`workerFk` AS `Id_Trabajador`,
|
||||||
`it`.`life` AS `life`,
|
`it`.`life` AS `life`,
|
||||||
`it`.`isPackaging` AS `isPackaging`,
|
`it`.`isPackaging` AS `isPackaging`,
|
||||||
`it`.`density` AS `density`,
|
|
||||||
`it`.`isInventory` AS `inventory`,
|
`it`.`isInventory` AS `inventory`,
|
||||||
`it`.`created` AS `odbc_date`,
|
`it`.`created` AS `odbc_date`,
|
||||||
`it`.`making` AS `confeccion`,
|
`it`.`making` AS `confeccion`,
|
||||||
`it`.`temperatureFk` AS `Temperatura`,
|
`it`.`temperatureFk` AS `Temperatura`,
|
||||||
`it`.`promo` AS `promo`,
|
`it`.`promo` AS `promo`
|
||||||
`it`.`maneuver` AS `maneuver`,
|
|
||||||
`it`.`target` AS `target`,
|
|
||||||
`it`.`topMargin` AS `top_margin`,
|
|
||||||
`it`.`profit` AS `profit`
|
|
||||||
FROM `vn`.`itemType` `it`
|
FROM `vn`.`itemType` `it`
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
ALTER TABLE vn.itemType
|
||||||
|
CHANGE maneuver maneuver__ double DEFAULT 0.21 NOT NULL COMMENT '@deprecated 2024-07-01 refs #7418',
|
||||||
|
CHANGE target target__ double DEFAULT 0.15 NOT NULL COMMENT '@deprecated 2024-07-01 refs #7418',
|
||||||
|
CHANGE topMargin topMargin__ double DEFAULT 0.3 NOT NULL COMMENT '@deprecated 2024-07-01 refs #7418',
|
||||||
|
CHANGE profit profit__ double DEFAULT 0.02 NOT NULL COMMENT '@deprecated 2024-07-01 refs #7418',
|
||||||
|
CHANGE density density__ double DEFAULT 167 NOT NULL COMMENT '@deprecated 2024-07-01 refs #7418 Almacena el valor por defecto de la densidad en kg/m3 para el calculo de los portes aereos, en articulos se guarda la correcta';
|
Loading…
Reference in New Issue