Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Best solution to create reporting

Questions related to using nuBuilder Forte.
Post Reply
marcvander
Posts: 101
Joined: Mon Mar 26, 2018 5:57 pm

Best solution to create reporting

Unread post by marcvander »

Hey,

I need to create some reporting for my system:
-graphs
-total by filters

For graphs, so far I know how to create some and display them. But my question is for the second reporting, total by filters. What is the best solution to build a tool so that the user can enter some filters (with lookup forms/text input/dropdown choices etc.) and get some values based on this filter? (for instance, the user wants to know the total number of invoices in a particular field, in a defined period of time)

Thanks
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Best solution to create reporting

Unread post by toms »

marcvander
Posts: 101
Joined: Mon Mar 26, 2018 5:57 pm

Re: Best solution to create reporting

Unread post by marcvander »

I actually thought about having numbers displayed, not a chart. So far the only option I could think of is building a report (because we can have a launch form with filters)
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Best solution to create reporting

Unread post by toms »

You can create pure tables with google charts too: https://jsfiddle.net/dlaliberte/Lw5h7c2y/

The advantage over reports is that you can display them directly on a form.
Last edited by Anonymous on Wed Jun 27, 2018 11:46 am, edited 1 time in total.
marcvander
Posts: 101
Joined: Mon Mar 26, 2018 5:57 pm

Re: Best solution to create reporting

Unread post by marcvander »

Thanks toms I'll have a look
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Best solution to create reporting

Unread post by admin »

marcvander,

By running nuJavascriptCallback() inside a Procedure and calling that Procedure from nuRunPHPHidden()

you can go to the server get an answer, and return to the browser and populate any field there.

https://wiki.nubuilder.cloud/ ... ptCallback

https://wiki.nubuilder.cloud/ ... nPHPHidden

Steven
marcvander
Posts: 101
Joined: Mon Mar 26, 2018 5:57 pm

Re: Best solution to create reporting

Unread post by marcvander »

Thanks steven, I'll have a look
Config:
nuBuilder v4 on a dedicated LAMP server:
-Ubuntu 14.04.5 LTS
-Apache 2.4.7
-MySQL 14.14 Distrib 5.7.22
-PHP 5.5.9-1ubuntu4.23
Post Reply