Hi
How to change form value when I add RelationShip. I need add Relationship to trigger change form value.
Code: handleItemChange("_qai_model", "CV1000");
I setting this method in RelationshipType Grid Events "OnInsertRow". But when I insert relationship row system show error message.
Error Message:
message:"handleItemChange is not defined"
stack:"ReferenceError: handleItemChange is not defined
hi Michelle
you can use
parent.thisItem.setProperty("property name",value to set);
and to avoid refresh of item to see changed value of form field you can use
//refresh item
var item = top.aras.getItemById("parent item name", parent.thisItem.getID(), 0);
top.aras.uiReShowItemEx(parent.thisItem.getID(), item);
hi Michelle
you can use
parent.thisItem.setProperty("property name",value to set);
and to avoid refresh of item to see changed value of form field you can use
//refresh item
var item = top.aras.getItemById("parent item name", parent.thisItem.getID(), 0);
top.aras.uiReShowItemEx(parent.thisItem.getID(), item);