Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug: Multicurrency error in SalesInquiry.php
08-10-2013, 11:23 AM, (This post was last modified: 08-10-2013, 11:51 AM by PakRicard.)
#1
Bug: Multicurrency error in SalesInquiry.php
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.
Regards,
Pak Ricard
Reply
08-10-2013, 07:37 PM,
#2
RE: Bug: Multicurrency error in SalesInquiry.php
Hi, Richard:

Thank you for fix it.

Best regards!

Exson
Reply
04-06-2015, 06:11 PM,
#3
RE: Bug: Multicurrency error in SalesInquiry.php
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.
Regards,
Pak Ricard
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)