On Complete
field. I added this code and was able to improve the "refresh" behaviour:
var inn = this.getInnovator();
var parentItm = this.getType();
var parentID = this.getID();
// Get the config_id
var item = inn.newItem(parentItm, "get");
item.setID(parentID);
item.setAttribute("select","config_id");
item = item.apply();
var configID = item.getProperty("config_id");
// get the most recent part with config_id
var currentItm = inn.newItem(parentItm, "get");
currentItm.setProperty("config_id", configID);
currentItm.setProperty("is_current", "1");
currentItm = currentItm.apply();
// show new item in frame of previous item
aras.uiReShowItem(parentID,currentItm.getID(),'view','tab view');
On Complete
field. I added this code and was able to improve the "refresh" behaviour:
var inn = this.getInnovator();
var parentItm = this.getType();
var parentID = this.getID();
// Get the config_id
var item = inn.newItem(parentItm, "get");
item.setID(parentID);
item.setAttribute("select","config_id");
item = item.apply();
var configID = item.getProperty("config_id");
// get the most recent part with config_id
var currentItm = inn.newItem(parentItm, "get");
currentItm.setProperty("config_id", configID);
currentItm.setProperty("is_current", "1");
currentItm = currentItm.apply();
// show new item in frame of previous item
aras.uiReShowItem(parentID,currentItm.getID(),'view','tab view');