Solved
Forum Discussion
Gopikrishnan
6 years agoAccelerator II
Hi
Not sure exactly this is what you are looking for but give a try
//In this below case, Part BOM is my relationship, customer is a property in Part BOM relationship and this method is attached to on search dialog event
var relID = inArgs.itemSelectedID;
var retObj = new Object();
if (relID)
{
var customerItem = this.newItem("Part BOM", "get");
customerItem.setID(relID);
customerItem.setAttribute('select','customer')
customerItem = customerItem.apply();
if (!customerItem.isError())
{
var sid = customerItem.getProperty("customer", "");
if (sid)
{
retObj["customer_sid"] = {filterValue: sid, isFilterFixed: true};
}
}
}
Thanks
Gopikrishnan R
- ddidonato6 years agoCreator II
That was it. Thank You!!