params.besgroep_key werd verkeerd doorgegeven (maar ging toevallig wel goed door globalen)
svn path=/Website/branches/v2017.3/; revision=37127
This commit is contained in:
@@ -244,7 +244,7 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
: "")
|
||||
+ (params.besgroep_key
|
||||
? " AND g.bes_srtgroep_key = " + besgroep_key
|
||||
? " AND g.bes_srtgroep_key = " + params.besgroep_key
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
: "")
|
||||
+ (params.item_key
|
||||
@@ -332,7 +332,7 @@ function bes_voorraad_list (pautfunction, params)
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
: "")
|
||||
+ (params.besgroep_key
|
||||
? " AND g.bes_srtgroep_key = " + besgroep_key
|
||||
? " AND g.bes_srtgroep_key = " + params.besgroep_key
|
||||
+ " AND (sd.bes_srtdeel_vervaldatum IS NULL OR sd.bes_srtdeel_vervaldatum > SYSDATE)"
|
||||
: "")
|
||||
+ (params.item_key
|
||||
|
||||
Reference in New Issue
Block a user