Index Awareness not working in BOXI R2 while Scheduling

Hi

Environment: BOXI R2: WEBI

We have implemented index aware functionality in BOXI R2 environment.
We have created condition filter in which we have used “primary_key” parameter in @promt() syntax and equate this @prompt with id (for e.g. Country_id).

Condition filter syntax:

country_id in @Prompt('Country...?','C','Country\Country',multi,primary_key)

When we used this condition filter at report level, user can able to see LOV of country, and in where clause of final SQL query country ids are appeared. Thus our purpose of using ids instead of name in where clause of SQL query gets fulfilled.

Problem Statement:
But when user try to schedule this report and choose values in prompt while scheduling, county name get reflected (instead of country_id) in where clause of SQL query.
Thus scheduled report don’t have any data to show, as we country_ids get equated with Country Name.

We have tried to check the same with 3 different BO XI R2 environment, but got the same o/p as above. But strangely same thing is working in BOXI R 3.1 environment. We need to fix this issue on BOXI R 2 environment.

Awaiting for your suggestions.

Thanks in advance…


amar12312 :india: (BOB member since 2008-05-13)

We are facing same problem … :hb:
anyone got solution to this.
thanks in advance.


Vills :india: (BOB member since 2007-10-24)

I am also facing the same :hb: :hb: can anyone has solution /workaround ??


saurabhk (BOB member since 2007-12-25)

Has anyone verified that it’s a known bug or not with support?


Dave Rathbun :us: (BOB member since 2002-06-06)

I think its bug…
I have tested same on various environment from BO XI R2 SP2, and facing same error.


Vills :india: (BOB member since 2007-10-24)

Hi Dave,

Thanks for reply…

No, we have not verified this with support.

I think we have used undocumented feature “primary_key” in BOXI R2 SP2 environment, so this issue arised.
I think primary_key parameter feature is not working in BOXI R2 evironment.

Thanks…


amar12312 :india: (BOB member since 2008-05-13)

I suspect that you would find that it’s a bug.

The Index Aware feature requires that the user select from the List of Values in order to get the index key. If the user enters a value manually, Index Aware is not used. I suspect that the folks that wrote the code for scheduling reports (and building prompts to react to) did not take IA into account until 3.x.


Dave Rathbun :us: (BOB member since 2002-06-06)

yes in release note of BO XI R2 SP2 its not documented. however in release note of SP4, I guess it’s documented. so may be in release SP 4, hope that should be taken in account, hopefully.
(but not sure) if anybody having with SP4 can help us. I am not having SP4.
If this issue is resolved in SP4, then we can go ahead with that. (i.e. from SP2 to SP4)

Thanks in advance.


Vills :india: (BOB member since 2007-10-24)

Hi Vills,

Thanks for response…

We have kept service pack 4 for downloading… After installing it I will test and post the result.

Thanks…


amar12312 :india: (BOB member since 2008-05-13)

Hi, we are experiencing almost the same problem, and we are using XIR2 SP4 :frowning:

We can schedule a report with index aware prompts, but then we can’t subsequently re-schedule the same instance. We have to create a new schedule from the original instance or it doesn’t work :hb:

It generates a DB error as the selected prompt values (for just the index aware prompts) are not populated into the SQL statement :reallymad:

We also have another issue but I’ll create a new post about that (it’s to do with passing parameters to an index aware prompt through the opendocument syntax :roll_eyes: )


Peter Hughes :uk: (BOB member since 2005-11-21)