var warningItem = myInnovator.newItem("Variable", "get");
warningItem.setAttribute("where", "[variable].name='NuSalesOrderNotReleasedYet'");
warningItem = warningItem.apply();
var warningMessage = warningItem.getProperty("value", "");
top.aras.AlertError(warningMessage);