Related item property in the main search grid?

Hi, maybe it is a silly question but I can't manage it. I have a relationship item "Part Integration" and it has a customized property "integration_number". I want this to be visible in the main Part search grid. I tried to uncheck hidden1 and hidden2 but nothing happens. thank you in advance Duygu
Parents
  • Hi OEAKDEMIR, This should work. Innovator inn = this.getInnovator(); string my_type = this.getType(); string my_id = this.getID(); Item relation = inn.newItem(my_type,"get"); relation.setAttribute("id", my_id); relation = relation.apply(); string E_no = relation.getProperty("_uzay_rel_e_no"); string source_id = relation.getProperty("source_id"); Item sourcePart = inn.newItem("Part","edit"); sourcePart.setAttribute("id",source_id); sourcePart.setProperty("reference_designator",E_no); sourcePart = sourcePart.apply(); if (sourcePart.isError()) { return inn.newError("no of items found = " + sourcePart.getItemCount()); } return this;
Reply
  • Hi OEAKDEMIR, This should work. Innovator inn = this.getInnovator(); string my_type = this.getType(); string my_id = this.getID(); Item relation = inn.newItem(my_type,"get"); relation.setAttribute("id", my_id); relation = relation.apply(); string E_no = relation.getProperty("_uzay_rel_e_no"); string source_id = relation.getProperty("source_id"); Item sourcePart = inn.newItem("Part","edit"); sourcePart.setAttribute("id",source_id); sourcePart.setProperty("reference_designator",E_no); sourcePart = sourcePart.apply(); if (sourcePart.isError()) { return inn.newError("no of items found = " + sourcePart.getItemCount()); } return this;
Children
No Data