Export of AD_Element_ID reference is not correct, search column for AD_Element is ColumnName, not Name.
This commit is contained in:
parent
f552160532
commit
1fa4f0c384
|
@ -232,7 +232,7 @@ public class PoExporter {
|
||||||
tableName = columnName.substring(0, columnName.length() - 3);
|
tableName = columnName.substring(0, columnName.length() - 3);
|
||||||
if (tableName.equalsIgnoreCase("ad_table")) {
|
if (tableName.equalsIgnoreCase("ad_table")) {
|
||||||
searchColumn = "TableName";
|
searchColumn = "TableName";
|
||||||
} else if (tableName.equalsIgnoreCase("ad_column")) {
|
} else if (tableName.equalsIgnoreCase("ad_column") || tableName.equalsIgnoreCase("ad_element")) {
|
||||||
searchColumn = "ColumnName";
|
searchColumn = "ColumnName";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -268,7 +268,7 @@ public class PoExporter {
|
||||||
if (searchColumn.endsWith("_ID")) {
|
if (searchColumn.endsWith("_ID")) {
|
||||||
if (tableName.equalsIgnoreCase("ad_table")) {
|
if (tableName.equalsIgnoreCase("ad_table")) {
|
||||||
searchColumn = "TableName";
|
searchColumn = "TableName";
|
||||||
} else if (tableName.equalsIgnoreCase("ad_column")){
|
} else if (tableName.equalsIgnoreCase("ad_column") || tableName.equalsIgnoreCase("ad_element")){
|
||||||
searchColumn = "ColumnName";
|
searchColumn = "ColumnName";
|
||||||
} else {
|
} else {
|
||||||
int AD_Table_ID = MTable.getTable_ID(tableName);
|
int AD_Table_ID = MTable.getTable_ID(tableName);
|
||||||
|
|
Loading…
Reference in New Issue