ARAI#53093 -- Fix voor hallen met voorloop-nul, koppeling Gielissen

svn path=/Customer/trunk/; revision=42469
This commit is contained in:
Robin Stoker
2019-05-09 14:32:19 +00:00
parent c74aed1905
commit 5034a57638

View File

@@ -8923,7 +8923,7 @@ BEGIN
(SELECT SUBSTR(psubject,
INSTR(psubject, ' ', v_standnrpos, 1) + 1,
INSTR(psubject, ' ', v_standnrpos, 2) - INSTR(psubject, ' ', v_standnrpos, 1) - 1) STNR FROM DUAL) SUB
WHERE AVS.STANDNUMMER = v_gebcode || '.' || SUB.STNR;
WHERE AVS.STANDNUMMER = fac.safe_to_number (v_gebcode) || '.' || SUB.STNR;
END IF;