projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4c5b3
)
SL::Helper::ShippedQty: SQL Fehler im stock_fill_up query
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 26 Jul 2017 09:07:57 +0000
(11:07 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 26 Jul 2017 11:43:46 +0000
(13:43 +0200)
SL/Helper/ShippedQty.pm
patch
|
blob
|
history
diff --git
a/SL/Helper/ShippedQty.pm
b/SL/Helper/ShippedQty.pm
index
cf1c70b
..
80ee73d
100644
(file)
--- a/
SL/Helper/ShippedQty.pm
+++ b/
SL/Helper/ShippedQty.pm
@@
-61,7
+61,7
@@
my $stock_item_links_query = <<'';
ORDER BY oi.trans_id, oi.position
my $stock_fill_up_doi_query = <<'';
- SELECT doi.id, doi.delivery_order_id, doi.position, doi.parts_id, doi.description, doi.reqdate, doi.serialnumber, i.qty,
i
.unit
+ SELECT doi.id, doi.delivery_order_id, doi.position, doi.parts_id, doi.description, doi.reqdate, doi.serialnumber, i.qty,
p
.unit
FROM delivery_order_items doi
INNER JOIN parts p ON p.id = doi.parts_id
INNER JOIN delivery_order_items_stock dois ON dois.delivery_order_item_id = doi.id