diff --git a/CUST/YKPN/export/pincode2nedap.js b/CUST/YKPN/export/pincode2nedap.js index 6a73203878..122a4c9ab4 100644 --- a/CUST/YKPN/export/pincode2nedap.js +++ b/CUST/YKPN/export/pincode2nedap.js @@ -42,7 +42,14 @@ try { v_van = oRs("v_van").Value; v_tot = oRs("v_tot").Value; v_template = oRs("template").Value; - v_countergroup = oRs("countergroup").Value; + if (oRs("countergroup").Value == null ) + { + v_countergroup = ""; + } + else + { + v_countergroup = oRs("countergroup").Value; + } v_bez_bezoekers_key = oRs("bez_bezoekers_key").Value; var XMLReq= ''