Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Not what you were looking for? View more on this topic or Ask a question