While running the SSRS report got following error
" BI Services problem"
Solution:
1) Full CIL Compilation( if not started BI service) then process 2nd step
2) Stop AOS services
3) Delete the XPPIL folder
4) Start the AOS services
public
Common lookupReference(FormReferenceControl _formReferenceControl)
{
SysReferenceTableLookup sysRefTableLookup;
Query lookupQuery =
new
Query();
QueryBuildDataSource lookupQueryDataSource;
// Construct the SysRefTableLookup object
sysRefTableLookup = SysReferenceTableLookup::newParameters(tableNum(MyTable), _formReferenceControl)
// Add the field list that will be displayed on the lookup form
sysRefTableLookup.addLookupfield(fieldNum(MyTable, MyFirstField));
sysRefTableLookup.addLookupfield(fieldNum(MyTable, MySecondField));
// Construct the query's data source
lookupQueryDataSource = lookupQuery.addDataSource(tableNum(MyTable));
// Add ranges to the query data source
lookupQueryDataSource.addRange(fieldNum(MyTable, MyFirstField)).value(queryValue(
''
));
lookupQueryDataSource.addRange(fieldNum(MyTable, MySecondField)).value(queryNotValue(
''
));
// Pass the query to the lookup object
sysRefTableLookup.parmQuery(lookupQuery);
return
sysRefTableLookup.performFormLookup();
}