I created an order to vendor -> under shipping I received all the units for stock.
When I try to check inventory activity, I got an empty list.
Expected: receiving show up.
Now it crashes after apply filter. Meanwhile I upgraded the DB to 1.3.29 as I do not remember, I already did or not.
This is the inventory activity report, under reports?
and when you say "crashes" what do you mean? Can you give me an error? I can't reproduce anything liek that on my side.
(anything like the crash, the inventory activity report at present, and in 1.4, only shows inventory bought and sold, not inventory that comes int he door or goes out. Inventory is only recorded when income or expenses are accrued.)
It crashes under Reports/Inventory activity
I have RFQ -> AP order -> goods received (stock items increased) -> AP invoice
So, I guess it should have some activities :)
2013/01/28 10:15:25 [error] 1854#0: *17 FastCGI sent in stderr: "Can't call method "is_zero" on an undefined value at /usr/share/perl5/Math/BigInt.pm line 1197.
Compilation failed in require at /usr/share/nginx/www/lsmbhun/rp.pl line 7" while reading response header from upstream, client: 10.0.2.127, server: _, request: "GET /lsmbhun/rp.pl?department=Hardver+kereskedelem--1&fromdate=&todate=&frommonth=&fromyear=&interval=0&partnumber=&description=&nextsub=generate_inv_activity&title=K%C3%A9szletmozg%C3%A1sok&path=bin%2Fmozilla&sessionid=&login=pongraczi&action=continue HTTP/1.0", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket:", host: "lsmb.startit.hu", referrer: "http://lsmb.startit.hu/lsmbhun/rp.pl?login=pongraczi&action=report&module=rp.pl&report=inv_activity&"
Seems this kind of issue is known on the devel list.
Rerefence: [Ledger-smb-devel] Math::BigInt dislikes undefined values
apt-get remove libmath-bigint-gmp-perl libmath-bigint-perl
This solved the problem, but I am not sure, this is a good solution. The list now includes the received goods as expected.
(I did not check other parts of the software, yet.)
For the crash we will need a stack trace. You can do this by installing Carp::Always and adding the following to where the use statements are in the old-handler.pl:
With the latest Math libraries I was not able to reproduce this. Closing.