IDEMPIERE-127 Implement Recent Items dashboard
http://jira.idempiere.com/browse/IDEMPIERE-127
This commit is contained in:
parent
234d2d3aa5
commit
96dc429d26
|
@ -247,6 +247,12 @@ public class MRecentItem extends X_AD_RecentItem
|
||||||
recordIdentifier = recordIdentifier + "_" + po.get_ValueAsString("Value");
|
recordIdentifier = recordIdentifier + "_" + po.get_ValueAsString("Value");
|
||||||
if (po.get_ColumnIndex("Name") > 0)
|
if (po.get_ColumnIndex("Name") > 0)
|
||||||
recordIdentifier = recordIdentifier + "_" + po.get_ValueAsString("Name");
|
recordIdentifier = recordIdentifier + "_" + po.get_ValueAsString("Name");
|
||||||
|
if (recordIdentifier.length() == 0)
|
||||||
|
recordIdentifier = "_" + po.toString();
|
||||||
|
if (recordIdentifier.length() == 0)
|
||||||
|
recordIdentifier = "_[" + po.get_ID() + "]";
|
||||||
|
if (recordIdentifier.length() == 0)
|
||||||
|
recordIdentifier = "_[no identifier]";
|
||||||
|
|
||||||
return windowName + ": " + recordIdentifier.substring(1);
|
return windowName + ": " + recordIdentifier.substring(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue