by IceStar Media Ltd.

The Report Enhancer add-on goes beyond the existing SuiteCRM reporting module, enabling users to add custom SQL to reports and view the formatted SQL statement.

Includes a 30 day guarantee
Try it Now

#4614 - No results are found using this Plugin

Closed Bug? created by CREdge 2 years ago

Hi, When creating a report, I choose some columns to be viewed. Report show results. When adding a simple SQL query, such as " When country_c <> ' ' or " select * from cases where name is not null " I do not get any results at all.

  1. mark7 member avatar

    IceStar Media Ltd. Provider Affiliate

    a year ago

    Can you send screen shots of exactly what you have in the "Additional SQL" section please, also a screen shot of the "Analyse SQL" results. please note that the additional SQL should be additional parts of the where (so in your cases axample you would put "name is not NULL" in the box). Also note that it needs to be valid SQL so the fields need to be valid and correct as per the Analyse SQL section so in my Cases for example I would need to put cases.name IS NOT NULL to avoid conflict with joins etc. (less important for simple non joined queries but a good habit to get into). I can tell you the cases example works for me here Cases Test.png

    Regards

    Mark

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...