var relId = this.getID();
var relType = this.getType();
var result = aras.evalMethod("MyValidations", this); // call validation Method
if (typeof result == "object" ) {
return null; // abort main function
}
// run main Method
Method 2: MyValidations
var thisItm = inDom;
var relId = thisItm.getID();
var relType = thisItm.getType();
if (relType == "Part"){
return aras.AlertError("Not possible");
}
return; // = no Object
Any feedback welcomed!
Angela