IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2006)

- fix for broken PackIn on AD_Menu.Parent_ID
This commit is contained in:
Carlos Ruiz 2023-09-13 12:37:27 +02:00 committed by GitHub
parent 826b47d6a4
commit 5dfd3cca8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 18 deletions

View File

@ -181,6 +181,7 @@ public class PoFiller{
String value = e.contents.toString();
String columnName = qName;
if (value != null && value.trim().length() > 0) {
if (po.get_ColumnIndex(columnName) >= 0) {
MColumn col = MColumn.get(ctx.ctx, po.get_TableName(), columnName, po.get_TrxName());
if (col == null) {
POInfo poInfo = POInfo.getPOInfo(ctx.ctx, po.get_Table_ID(), po.get_TrxName());
@ -199,7 +200,6 @@ public class PoFiller{
return -1;
}
}
if (po.get_ColumnIndex(columnName) >= 0) {
MTable foreignTable = null;
String refTableName;
if (isMulti)