Skip to content

Commit

Permalink
Se agrega X para extranjeros sin documentos
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Apr 15, 2024
1 parent c2f6d9a commit 53ded1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/base/org/erpya/lve/util/LVEUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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@");
Expand Down

0 comments on commit 53ded1c

Please sign in to comment.