diff --git a/core/src/main/java/base/org/erpya/lve/util/LVEUtil.java b/core/src/main/java/base/org/erpya/lve/util/LVEUtil.java index aa8fffd..b91c95b 100644 --- a/core/src/main/java/base/org/erpya/lve/util/LVEUtil.java +++ b/core/src/main/java/base/org/erpya/lve/util/LVEUtil.java @@ -146,7 +146,7 @@ public static String processBusinessPartnerValue(Properties context, int clientI throw new AdempiereException("@LVEInvalidBPValue@"); } // Validate segments - Matcher matcherforKey = Pattern.compile("^[JVEGjveg]+$", Pattern.CASE_INSENSITIVE | Pattern.DOTALL).matcher(value.substring(0, 1)); + Matcher matcherforKey = Pattern.compile("^[JVEGXjvegx]+$", Pattern.CASE_INSENSITIVE | Pattern.DOTALL).matcher(value.substring(0, 1)); if(!matcherforKey.find()) { // Error throw new AdempiereException("@LVEInvalidBPValue@");