Showing posts with label Siebel Scripting. Show all posts
Showing posts with label Siebel Scripting. Show all posts

Tuesday, December 22, 2009

Query LOV

Hi ,

There is a vanilla Function for querying LOV.

TheApplication.InvokeMethod("LookupValue", type, lang_inde_cd);
it returns 'Value' .

var LOV_Val=TheApplication().InvokeMethod("LookupValue","SR_SUBAREA","WASIN");

So don't query on LOV BC, use this vanilla BS.

Wednesday, November 11, 2009

More Customized Error

Following are two ways to show more customized error message

1.
TheApplication().RaiseErrorText(TheApplication().LookupMessage("UserDefinedError","X_Error");

2.
TheApplication().RaiseError("X_error");

3.In Siebel 8.0 , you can use customized message for validation also.

SetTimeOut()

Hi ,

Settimeout() function is used to resedule a function after a time period.

function RefreshBusComp()
{
this.InvokeMethod("RefreshApplet()");
Settimeout("RefreshBusComp()",2000);
}

Here settimeout() schedule itself after every 2 second.

Danish