ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

How to Write Script Reports?


#1

Hi,

There is a new type of report, script report but I am still not able to get that how could I write a new script report. Any help on this would be highly appreciated.



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 


#2
Hi Aditya,

Script reports require use of Python.
It will need to be written in a file rather than in database like the normal query report.

If you want to achieve something which is not possible or too expensive using query report, only then use script reports. 

You will need knowledge of python and wnframework before you can jump into script reports.

An example of script report is Gross Profit Report. You can check out its code file:
app/accounts/reports/gross_profit/gross_profit.py

Thanks,
Anand.

On 08-Mar-2013, at 11:07 AM, Addy <ad...@gmail.com> wrote:

Hi,

There is a new type of report, script report but I am still not able to get that how could I write a new script report. Any help on this would be highly appreciated.



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 


Where do I find my custom report so that I can edit it
#3

#4