LookupValue Method for an Application

If all of the following items are true, then the LookupValue method locates a row in the S_LST_OF_VAL table:

  • The value in the TYPE column matches the value in the type argument.

  • The value in the CODE column matches the value in the lang_ind_code argument.

  • The value in the LANG_ID column matches the language code of the currently active language.

You can use this method to get the translation of the untranslated value in the LOV to the language that is currently active.

The LookupValue method returns a string that contains the display value from the VAL column for the row. If it does not find the display value, then it returns the language independent code as the value. If no language independent code value exists for the row, then this method returns a null value.

Format

val = Application.InvokeMethod("LookupValue", type, lang_ind_cd)

The following table describes the arguments for the LookupValue method.

Argument Description

type

The type that is specified in the List of Values administration view.

lang_ind_cd

Value for the language independent code that is specified in the List of Values administration view.

Used With

To use the LookupValue method, you can use an Application.InvokeMethod call with the following interfaces:

  • COM Data Control

  • Siebel Java Data Bean

  • Mobile Web Client Automation Server

  • Server Script

Examples

The following example is in Siebel eScript:

var LOVText = TheApplication().InvokeMethod("LookupValue","SR_AREA","Network");