Skip to Content

How to check whether a clause is active for a particular time period

Hi All,

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

External ID:section_active_period

Application Context: xxx

Display Name:section_active_period

Description:

Script Version:

Class: Section(1803)

Instance Type: Any

Document Type: Any

Target: CLAUSES

Script:

import com.frictionless.api.contractgen.SectionIBeanIfc;

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.

Thanks,

Saloni

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 20, 2011 at 05:20 PM

    Hi,

    Can you explain what you mean by Active Clause? In E-Sourcing terms all clauses which are in Approved phase are the ones available for selection by the end user.

    There are 3 OOB queries under clauses which can pull up those which are Approved or not.

    Separately in Analysis section there is a report called Search all contract documents using a specific clause which can tell us which clauses have been used or not by the user.

    Thanks,

    Vikram

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vikram,

      Is it possible to modify the mail notification content? Right now it just mentions that report is executed and attach the report in mail. What if, we want mail message to be more descriptive. Also, can the mail recepients be dynamic based on field values(created by) in report?

      Please guide.

      Thanks,

      Saloni