Thursday, July 17, 2008

How to use the Language Independent Code in a script

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

The following eScript example finds a row in S_LST_OF_VAL where the TYPE column matches the type argument, the lang_ind_cd column matches the LIC. This function is used to obtain the translation of the specified value from the currently active language.

var LOVText=TheApplication().InvokeMethod("LookupValue","TODO_TYPE","Inbound");

No comments: