Siebel Object Interfaces Reference > Interfaces Reference > Application Methods >

LookupValue


Finds a row in S_LST_OF_VAL where the TYPE column matches the type argument, the CODE column matches the lang_ind_code argument, and the LANG_ID column matches the language code of the currently active language. This function is used to obtain the translation of the specified untranslated value in the specified LOV into the currently active language.

Syntax

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

Argument
Description
type
Type as specified in the List of Values administration view.
lang_ind_cd
Language independent code value as specified in the List of Values administration view.

Returns

Returns a string containing the display value (the VAL column) for the row.

Used With

COM Data Control, Java Data Bean, Mobile/Dedicated Web Client Automation Server, Server Script

Example

The following eScript example returns the display value for currently active language for the account role of "Consultant".

var LOVText=TheApplication().InvokeMethod ("LookupValue","ACCOUNT_ROLE","Consultant");


 Siebel Object Interfaces Reference 
 Published: 18 June 2003