STPH#37979: [BES] dubbele vermelding van bestelopdracht in scherm.

svn path=/Website/branches/v2016.2/; revision=31023
This commit is contained in:
Maykel Geerdink
2016-10-10 13:33:40 +00:00
parent 9efcca73c8
commit 06963ce05b

View File

@@ -139,8 +139,12 @@ function opdr_list (pautfunction, params)
+ ", bes_bestelling_parentkey"
+ ", bes_bestelopdr_opmerking"
+ ", bes_bestelopdr_delivery_opmerk"
+ ", boi.bes_bestelopdr_item_aantal"
+ ", boi.bes_bestelopdr_item_aantalontv"
+ ", (SELECT SUM(boi1.bes_bestelopdr_item_aantal)"
+ " FROM bes_bestelopdr_item boi1"
+ " WHERE boi1.bes_bestelopdr_key = boi.bes_bestelopdr_key) bes_bestelopdr_item_aantal"
+ ", (SELECT SUM(boi1.bes_bestelopdr_item_aantalontv)"
+ " FROM bes_bestelopdr_item boi1"
+ " WHERE boi1.bes_bestelopdr_key = boi.bes_bestelopdr_key) bes_bestelopdr_item_aantalontv"
+ " FROM bes_bestelopdr b"
+ ", prs_bedrijf be"
+ ", mld_adres ma"