Openbravo Forum End of Life Notice

Dear Openbravo Forum User,

Because of continued very low usage we decided to stop the forums on 31st of August 2017

In case of questions: webmaster "at" openbravo.com

How to implement a Custom Report from this Project

<<

Ronny _G

Posts: 910

Joined: Wed Mar 18, 2009 7:26 pm

Post Thu Apr 15, 2010 12:54 pm

How to implement a Custom Report from this Project

1) Download a custom report from here. The download file will be a zip file that contains a bs, jrxml and properties file. For this example they will be known as customreport.bs, customreport.jrxml & customreport_messages.properties.


2) Extract the contents of the zip file to the  /reports/com/openbravo/reports folder within your Openbravo POS program directory.


3) Into the Menu.Root script, add a new row with the following:


submenu.addPanel("/com/openbravo/images/appointment.png", "Menu.CustomReport", "/com/openbravo/reports/customreport.bs");


4) Into pos_messages.properties file, add a new row with the following:


Menu.CustomReport=Custom Report


5) Into the Roles script/s, add new row for those roles that you want to be able to utilise this report:


<class name="/com/openbravo/reports/customreport.bs"/>


6) Save changes and restart the application.


7) Now the custom report should be visible under its own button in Administration > Sales > Reports


Good Luck,


Ronny G


----------------------------------------------------------


OBPOS 2.30 (upgraded), Windows & MySQL 5.0


Openbravo POS Reports, Openbravo POS au

<<

Pedro Morales

Posts: 42

Joined: Tue Sep 28, 2010 7:12 am

Post Mon Jan 17, 2011 2:09 am

RE:How to implement a Custom Report from this Project

This instructions works perfectly. Good Job Ronny!

<<

tsunekawa tatsuya

Posts: 18

Joined: Sat Dec 18, 2010 2:24 am

Post Tue Feb 15, 2011 11:28 am

RE:How to implement a Custom Report from this Project

 Hi,


I'd like to use "Cashregister log report"


But,I got the error message "Warning : cannot load the report definition".


Of course, I have read this thread and Wiki(http://wiki.openbravo.com/wiki/POS_-_Cashregister_log_report)


and I've read this theread,too.(http://forge.openbravo.com/plugins/espforum/view.php?group_id=101&forumid=434921&topicid=7006238)


see atthached  files,please.


Could you let me know how to solve this problem?


Or is there any problem attached the files?


I donot modify attache files...just downloaded.


Regards,Tatsuya.



Post Edited by d43f382 at 02/15/2011 10:41
Attachments

[The extension bs has been deactivated and can no longer be displayed.]

[The extension jrxml has been deactivated and can no longer be displayed.]

[The extension properties has been deactivated and can no longer be displayed.]


Return to FAQ

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Website Terms


Designed by ST Software for PTF.