IDEMPIERE-4342:[2pack]trim space on tables name of sql on packout detail (#130)

This commit is contained in:
hieplq 2020-06-30 18:35:13 +07:00 committed by GitHub
parent e057072bc7
commit 9ca83e7d94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -199,6 +199,9 @@ public class GenericPOElementHandler extends AbstractElementHandler {
for (int i = 1; i < components.length; i++) { for (int i = 1; i < components.length; i++) {
String tables[] = components[i].split("[>]"); String tables[] = components[i].split("[>]");
for (int nameIndex = 0; nameIndex < tables.length; nameIndex++) {
tables [nameIndex] = tables[nameIndex].trim();
}
exportDetail(ctx, document, po, tables); exportDetail(ctx, document, po, tables);
} }