AnsweredAssumed Answered

How to pass an error message to the Clarity application?

Question asked by jeff.christensen on Mar 2, 2011
Latest reply on Aug 1, 2011 by mansriva
We've built a custom object in Clarity and now we want to enforce a business rule that only one row in the subobject can be marked as 'active' at a time. We've built a trigger that tests for this condition, but now the question is how to pass the error to the application? We've located the 'messages_en.properties' file in the Clarity\Resource folder, but we're not clear on how to define the error key in SQL. Is there another translation file that converts error numbers to the alphanumeric handles in the messages_en.properties file?

Outcomes