Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Is GetPicklistBusComp Method works only in Active Business object?

edited Apr 21, 2014 12:00PM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered

Experts

I have a custom business service and inside the business service try to add the following like it fails with this error message:

   OBO             = TheApplication().GetBusObject("BO name");

   OBC             = OBO.GetBusComp("BC name");

  oPickBC       = OBC.GetPicklistBusComp("FieldName")

error at line oPickBC

error message :

---------------------------

Siebel

---------------------------

This operation is not allowed when there are no records displayed.Please execute a query that returns at least one record or add a new record.(SBL-DAT-00215)

-----------------------------

 

  the same code if i use active business object it works.

  OBO          = TheApplication().ActiveBusObject();

  OBC          = OBO.GetBusComp("BC name");

  oPickBC    = OBC.GetPicklistBusComp("FieldName")

Is there any workaround to bypass this issue?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center