Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

report acces on obj...
 
Notifications
Clear all

report acces on object view

5 Posts
2 Users
0 Reactions
4,098 Views
 BEAU
(@mamath)
Posts: 24
Active Member
Topic starter
 
[#1340]

Hi,

What do you think about adding a button (or better a combo) in objectButtons.php, for a quit acces to specific (or not) report.

What i think about is for exemple : you select a project, and just on rigth side of the multiupdate button, you can select a report showing in a frame view (like the print view) ?

Or with this functionnality you call a report like the history report for the selected element, that (i think) is more useful than always having history in the detail view.

Thanks


 
Posted : 23 Aug 2013 2H27
(@babynus)
Posts: 14952
Member Admin
 

The idea for direct acces to reports is interesting.
Also the idea to have some contextual reports is interesting.
But the idea to propose it near buttons seems strange, and what reports to propose ?

Any further idea ?


 
Posted : 23 Aug 2013 16H49
 BEAU
(@mamath)
Posts: 24
Active Member
Topic starter
 

Yes, you right, could be strange but see the following mockup, and imagine in the combo a list of report ? it could be nice ?


 
Posted : 23 Aug 2013 18H11
 BEAU
(@mamath)
Posts: 24
Active Member
Topic starter
 

Hi,

For your question about which report to propose, i think the better way is to use standard report. And for making the link between one report to a class object, you can use a table named for sample : contextualReport. The process for me could be exactly the same as the one you have developpe for the today screen report.

We need a table named "contextualReport"

  1. idReport : for identify the reports
  2. RefType : to identify the Class concerned by
  3. and perhaps other needed fields, i let you see

and another table for parameters; the table could named "contextualReportParameter"

  1. idContextualReport : for identify the contextual reports
  2. parameterName: were could be store a parameter name
  3. parameterValue: for store the value of the parameter, exactly same as today

And at the end you change objectButtons.php or another generic view to verify if exiting an contextual report for the showing object. If for the 'Activity' object you have one or more report you show the combo box with the list of report, and if not you show nothing.

At the end, when the final user select a report in the list, you show the "dialogPrint" DIV, with inside the report !

All i write is just suggestion ! you know your application much better than me.

Thanks


 
Posted : 23 Aug 2013 18H39
(@babynus)
Posts: 14952
Member Admin
 

Ticket #1177 recorded


 
Posted : 23 Aug 2013 19H02
Share:

Scroll to Top