On Wed, Nov 12, 2008 at 2:22 AM, Sai Bhalaji D. <d.saibhalaji@gmail.com>wrote:
Hi,
I have an issue in creating budget for the bookfunds.
When I try to create a budget for the book fund, when I click on OK, it does not display the entered budget. I checked the log and found the error message as shown below:
[Wed Nov 12 11:26:34 2008] [error] [client 127.0.0.1] DBD::mysql::st execute failed: Incorrect integer value: '' for column 'aqbudgetid' at row 1 at C:/usr/koha229/intranet/cgi-bin/koha/admin/aqbudget.pl line 170., referer: http://intranet/cgi-bin/koha/admin/aqbudget.pl?op=add_form&bookfundid=BIO
I checked the script and just deleted the aqbudgetid parameter that was being passed in since the database had an autoincrement. This gave me a solution to the issue. But is there any other proper way of doing this.
That sounds like a good solution for that part of the problem. --Joe