SUTF#30467 Vervaldatum bij import ook vullen als inkoopprijs leeg is

svn path=/Database/trunk/; revision=22622
This commit is contained in:
Peter Feij
2014-09-22 13:39:16 +00:00
parent 2544e36a58
commit 397e733494

View File

@@ -564,7 +564,7 @@ AS
VALUES (p_bes_srtdeel_key, p_bes_srtdeel_prijs, p_bes_srtdeel_inkprijs
); -- geen einddatum
IF v_currentprijs IS NOT NULL AND v_currentinkprijs IS NOT NULL
IF v_currentprijs IS NOT NULL OR v_currentinkprijs IS NOT NULL
THEN
SELECT MIN (bes_srtdeel_prijs_key)
INTO loldkey