Is GetPicklistBusComp Method works only in Active Business object?
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?