IDEMPIERE-3282 - recent itens with incorrect label
This commit is contained in:
parent
16f4f75364
commit
2d14bf3ba2
|
@ -303,11 +303,11 @@ public class MRecentItem extends X_AD_RecentItem
|
|||
}
|
||||
|
||||
if (recordIdentifier.length() == 0) {
|
||||
if (po.get_ColumnIndex("DocumentNo") > 0)
|
||||
if (po.get_ColumnIndex("DocumentNo") != -1)
|
||||
recordIdentifier.append(" ").append(po.get_ValueAsString("DocumentNo"));
|
||||
if (po.get_ColumnIndex("Value") > 0)
|
||||
if (po.get_ColumnIndex("Value") != -1)
|
||||
recordIdentifier.append(" ").append(po.get_ValueAsString("Value"));
|
||||
if (po.get_ColumnIndex("Name") > 0)
|
||||
if (po.get_ColumnIndex("Name") != -1)
|
||||
recordIdentifier.append(" ").append(po.get_ValueAsString("Name"));
|
||||
if (recordIdentifier.length() == 0)
|
||||
recordIdentifier.append(" ").append(po.toString());
|
||||
|
|
Loading…
Reference in New Issue