Skip to Content
author's profile photo Former Member
Former Member

How to make it mandatory to enter a value in a collection?

Is it possible in Wave 7 CLM - Contract Management to make it mandatory for a collection to have at least one record?

We have created a custom collection and placed it on the Supplier tab of agreements and we would now like to make it mandatory for at least one record to be entered into this collection.

So far, I have tried setting the UI_override on the field name of one of the fields in the collection to mandatory but that did not work.

In WYSIWYG for Master Agreements, collections are uneditable.

I have thought of creating an additional simple hidden field, making that mandatory and then developing a script to copy that field into the first field of the collection, but that seems to be an unnecessarily complex solution.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 12, 2011 at 08:24 AM

    Hello Chris,

    I think this can be acheived by writing a script that checks the size of the collection. If the size = 0, then raise an exception. This script can be made to execute On Validate target.

    Hope this helps.

    Thanks

    Devesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you. This is a good suggestion.

      I am hoping that there is also a configuration solution, rather than only a scripting solution, purely from a cost saving point of view. If not, it may be a suggestion for SAP to consider in future releases.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.