+ Start a Discussion
rasmiforcerasmiforce 

Report generation using apex classes

How to generate summary,tabular,matrix reports from apex classes.
Is there any report object which can be used.
 
 
Thanks in advance,
Rasmi
Wipro
JitendraJitendra
Hi Rasmi,

There is no object of report in Apex.
you will have to create a VF page, format like report and there you will have to write your logic.

currently sales force does not provide any API to write report in APex.

Thanks,
Jitendra
rasmiforcerasmiforce
Hi,
Can anyone give me idea how to generate matrix and summary report using apex and visual force

Thanks in advance,
Rasmi
Wipro
JitendraJitendra
Hi Rasmi,

in Apex class you can write the SOQL query and your business logic.
depending on your data and your UI style you can render the data from APEX to VF page using variouse tags.

you can go through component refrence of APEX TAGS.

i have also done same thing for my reports. :smileyhappy:
Mani PenumarthiMani Penumarthi
Hi Rasmi,

Have you create the martix report in apex using vf pages.
If so, Could you please give me some suggustion in grouping the rows and columns.