Home › Forums › Presentation › Jasper Reports › Detail Report – Configuring where to pull “Interactions” from.
Tagged: Detail Report, Reporting
- This topic has 3 replies, 3 voices, and was last updated 1 year, 1 month ago by Trevor Ball.
-
AuthorPosts
-
-
September 21, 2023 at 11:13 pm #23645Max WidmaierParticipant
We are looking to customize the detail report so that a user will see all activities including those from child objects.
For example,
Company A
- Email Task
- Employee B
- Admin Time Schedule Item
What we’d want would be for the detail report to include BOTH the email task and the admin time schedule task.
From snooping around with JasperStudio and in NexJ Studio, I can’t really find a way to do this.
The best I found was a query for EntityParticipant inside of ContactDetail_Interactions.jrxml.
However, I see no way to add onto that querying for child items. I’m not very familiar with the reporting system, but it seems to me that the entity filtering is done by the framework.So, you make the queries for EntityParticipant with your various filter, then the framework tacks on whatever parent household/company the original report was using. (That’s what I’m thinking is happening).
Is this correct? Is there any way to do what I’m looking for?
Thank you.0 -
September 22, 2023 at 1:13 pm #23660Nicholas Mc NeillyParticipant
As much as possible we would caution against customizing out-of-the-box reports.
The existing report is essentially linked through the entityParticipation attribute of Entity.meta (i.e. EntityParticipation). It sounds like what you’re asking for may be available through the actRollups attribute of Entity.meta (EntityActRollup). You should perform an appropriate query via the Scheme Console to verify whether or not the actRollups collection references the data you are looking for.
If it does, then in theory it would be possible to revise the report definition, possibly with the inclusion of a nested subreport that would meet the intended use case. However, this would require the developer to have some experience using JasperReports and JasperSoft Studio.
0 -
September 25, 2023 at 11:21 pm #23679Max WidmaierParticipant
Ok, thank you. I will do a little digging and testing and see if we can get something worked out.
0 -
September 26, 2023 at 10:45 am #23696Trevor BallParticipant
I wonder whether this use case might be better suited to NexJ Reporting, because I think it should be reasonably easy to configure an ad-hoc report along these lines. I suppose the painful part would be having to add the entity to the filters each time you want to run it, but just a thought I wanted to contribute.
0
-
-
AuthorPosts
- You must be logged in to reply to this topic.