projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79eeff9
)
Missing semicolon. Forgot the other file.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2016 11:14:18 +0000
(12:14 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Mon, 15 Feb 2016 11:14:18 +0000
(12:14 +0100)
sql/alter2.4.sql
patch
|
blob
|
history
diff --git
a/sql/alter2.4.sql
b/sql/alter2.4.sql
index 5d4f649cb0d20b7e029fdf778d6ccbf6319940b0..936745ba25d29d8428582e0365ae17c494041014 100644
(file)
--- a/
sql/alter2.4.sql
+++ b/
sql/alter2.4.sql
@@
-297,7
+297,7
@@
UPDATE `0_sys_prefs` SET `name`='default_wip_act' WHERE `name`='default_assembly
UPDATE `0_wo_issue_items` i, `0_stock_moves` m
SET i.unit_cost=m.standard_cost
- WHERE i.unit_cost=0 AND i.stock_id=m.stock_id AND m.trans_no=i.issue_id AND m.`type`=28 AND m.qty=-i.qty_issued
+ WHERE i.unit_cost=0 AND i.stock_id=m.stock_id AND m.trans_no=i.issue_id AND m.`type`=28 AND m.qty=-i.qty_issued
;
UPDATE `0_wo_requirements` r, `0_stock_moves` m
SET r.unit_cost=m.standard_cost