webERP Forum
Bug: Multicurrency error in SalesInquiry.php - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Bug: Multicurrency error in SalesInquiry.php (/showthread.php?tid=994)



Bug: Multicurrency error in SalesInquiry.php - PakRicard - 08-10-2013

Hi all:

If you made 2 sales today:
1 of 2.000.000 IDR (functional currency) and
1 of 500 USD

SalesInquiry.php will show 2.000.500 as today's sales, instead of (aprox) 7.000.000 :-(

I think all extprices fields must be divided by /exrate
Fix commited to SVN: please check as there are many ways to use this script and probably I could not check all of them.


RE: Bug: Multicurrency error in SalesInquiry.php - Exsonqu_Qu - 08-10-2013

Hi, Richard:

Thank you for fix it.

Best regards!

Exson


RE: Bug: Multicurrency error in SalesInquiry.php - PakRicard - 04-06-2015

Today I fixed another bug introduced when I commited this. Exchange rate must be included inside the SUM() sentences, not outside.

Sorry for the delay of 2 years to find it out.