3384-item_basic-data add field genericFk #807
|
@ -821,7 +821,6 @@ INSERT INTO `vn`.`item`(`id`, `typeFk`, `size`, `inkFk`, `stems`, `originFk`, `d
|
|||
UPDATE `vn`.`itemTaxCountry` SET `taxClassFk` = 2
|
||||
WHERE `itemFk` IN(4, 5, 6, 7, 11, 12, 13, 14, 15, 16, 71);
|
||||
|
||||
|
||||
INSERT INTO `vn`.`priceFixed`(`id`, `itemFk`, `rate0`, `rate1`, `rate2`, `rate3`, `started`, `ended`, `bonus`, `warehouseFk`, `created`)
|
||||
VALUES
|
||||
(1, 1, 0, 0, 2.5, 2, CURDATE(), DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 0, 1, CURDATE()),
|
||||
|
@ -2422,6 +2421,5 @@ INSERT INTO `vn`.`expeditionScan` (`id`, `expeditionFk`, `scanned`, `palletFk`)
|
|||
|
||||
CALL `cache`.`last_buy_refresh`(FALSE);
|
||||
|
||||
-- Update the genericFk after insert of the items
|
||||
UPDATE `vn`.`item` SET `genericFk` = 9
|
||||
UPDATE `vn`.`item` SET `genericFk` = 9
|
||||
WHERE `id` = 2;
|
Loading…
Reference in New Issue