IDEMPIERE-1297 2Pack: Remove code for the lookup of record and reference using business key. Fixed regression.

This commit is contained in:
Heng Sin Low 2013-08-26 13:33:16 +08:00
parent 93972b9c6e
commit cb926b2119
2 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@ public class ColumnElementHandler extends AbstractElementHandler {
filler.add("AD_Column_ID", new AttributesImpl()); filler.add("AD_Column_ID", new AttributesImpl());
filler.addString("IsSyncDatabase", "Y", new AttributesImpl()); filler.addString("IsSyncDatabase", "Y", new AttributesImpl());
filler.addTableReference("AD_Table_ID", "TableName", new AttributesImpl()); filler.addTableReference("AD_Table_ID", "AD_Table", new AttributesImpl());
filler.addTableReference("AD_Reference_Value_ID", "AD_Reference", new AttributesImpl()); filler.addTableReference("AD_Reference_Value_ID", "AD_Reference", new AttributesImpl());
excludes.add("IsSyncDatabase"); excludes.add("IsSyncDatabase");

View File

@ -197,8 +197,8 @@ public class PoExporter {
if (!preservedOrg) if (!preservedOrg)
addString("AD_Org_ID", "@AD_Org_ID@", new AttributesImpl()); addString("AD_Org_ID", "@AD_Org_ID@", new AttributesImpl());
else { else {
addTableReference(X_AD_Client.Table_Name, "Value", new AttributesImpl()); addTableReference("AD_Client_ID", X_AD_Client.Table_Name, new AttributesImpl());
addTableReference(X_AD_Org.Table_Name, "Value", new AttributesImpl()); addTableReference("AD_Org_ID", X_AD_Org.Table_Name, new AttributesImpl());
} }
} }
} }