Reference queries can't be used in BAQ reports?

While I am still mostly thrilled with the new reference query functionality I have ran into one major problem. If you try to use a BAQ that references another BAQ as a data source, either in a BAQ report or an RDD report with a BAQ data source, it gives an error about nested queries not being supported. Support can reproduce this but they won’t submit it to development unless I give them detailed steps on how to recreate the baqs (they won’t use the baqs I uploaded to the case and apparently don’t know how to use their own software).

Anybody else tried this and gotten it to work?
Known limitation?

I’ve used the BAQ as a datasource, but only for BAQ dataview/grid use. I hadn’t taken it as far as a report yet. That seems like an unfortunate limitation. Hopefully they get that working.

Same - it works fine in a dashboard.

I could see perhaps being required to add the reference BAQ as a datasource to the RDD… but a flat out “not supported” error is pretty discouraging.

I don’t think this is a bug. From a technical perspective the way that RDDs are built I can see how this would be difficult to implement.
They’ll probably send you down the ideas route. But note that RDDs can already use multiple BAQs as a data source (even before this function existed) so you can fairly reasonably re-create that in the RDD itself

I get that but, it doesn’t work in a BAQ report either, where you can only have one BAQ, so it doesn’t make sense.

And no I don’t want to rewrite my entire BAQ in an rdl.

1 Like

I assume you reported it with detailes steps?

Not yet, not sure why I need to tell support how to create a baq? It’s really exhausting to have to explain stuff like that. I provided the baqs so if they really need the steps they can just look at the baqs I provided and add the same tables and columns?

You attach baq and desctibe how you created report

No, they want the steps to create the BAQs.
image

No, if BAQs work in BAQ designer, then this part is fine. if you attached them. If no, explain what referenced queries options you used - temp table,
Then explain how report was created.

Maybe you can tell support that. I already explained earlier in the case how I used the baqs to create the report. I tested both RDD report and BAQ report.

I don’t have access to the cases as support, i am in developement. So i cannot go and look until it is sent to us.

It looks like they did submit it PRB0279018

Waitaminute is this working in the current production Epicor version? I’ve seen it mentioned a couple of times now in ways that don’t sound like someone’s playing around in a future version preview.

I’m using 2023.2 current.

Huh. Same here, SaaS so always up to date. BAQ is borked in Kinetic and web view and support told me that’s how it is until version 2024.something.

It’s not the BAQ that doesn’t work - the baq is fantastic. Its just using it in a report that is giving me an error.

Problem PRB0279018 have been updated:
PD State have been updated to: Accepted – Not Yet Planned
Fixed in Release have been updated to: 4.3.200

1 Like

We are currently testing 2023.2 and are thinking of upgrading our test environment to 2024 soon. Is this issue fixed in version 2024?