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

How use location field value in header tab of master agreement

Hello Expert,

I am newly using CLM. We got one requirement to disable diversity if location of the agreement is non US. Now i am trying to use the location field but i do not find the method IAPI JAVADOC under contactIbean. I can see the location field in LineItemIbean interface.

Kindly help me to use the location filed of agreement in the script definition.

Thanks much in advance for your help. Looking forward for your expertise answer.

Regards,

Gurvi.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2011 at 09:43 AM

    Hi

    In order to retrive the location field from MA use simple getExtensionField method for e.g. doc.getExtensionField("LOCATION").get()

    However do take note that this method would retrieve reference to Location object. In order to retrieve display name, locate location Ibean and find the location object reference.

    Regards

    Mudit Saini

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Try the below mentioned code:

      logMsg = Logger.createLogMessage(session);

      MALocation=doc.getExtensionField("LOCATION").get();

      LocationHome = IBeanHomeLocator.lookup(session,MALocation);

      Location1 = LocationHome.find(MALocation);

      LocationValue = Location1.getDisplayName();

      logMsg.setLogMessage("****LocationValue:"+ LocationValue );

      Logger.info(logMsg);

      Regards

      Mudit Saini

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.