How to check whether a clause is active for a particular time period
I need to check all clauses and see if any clause is active for one year.
I tried implementing a script as follows,
Scripting Context: Collection Validation
Application Context: xxx
Instance Type: Any
Document Type: Any
clauseList = doc.getClauseColln();
throw doc.createApplicationException(" ", "clause list is "+clauseList);
But its not returning anything.
How to test this script?
Please guide me to implement this functionality.
Edited by: Saloni on Dec 20, 2011 2:14 PM
Edited by: Saloni on Dec 20, 2011 2:32 PM
Edited by: Saloni on Dec 20, 2011 2:41 PM