Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] BUG in Payments.php
12-09-2013, 12:24 PM, (This post was last modified: 02-12-2014, 12:56 PM by PakRicard.)
#1
[SOLVED] BUG in Payments.php
Hi all:

Using latest Payments.php in SVN with a bank account in non-functional currency I found it does not record the correct amounts in banktrans table.

Example:
Functional currency IDR
Bank account in USD: Initial balance 10.000 USD
Go to Payments.php and do the following payments from this USD bank account (currency of payment USD as well)
Payment 1 = 100 USD
Payment 2 = 200 USD
Payment 3 = 300 USD

We should expect 3 new rows in banktrans with -100, -200 and -300 USD but we get 3 rows with - 600 USD .

Also the bank reconciliation, gets wrong info as well, initial balance gets wrong, and quantities to reconcile get wrong as well.

Please check 4 attached files where you can clearly see this issue.

Not sure when this problem showed up. It's a quite tricky script, so I would prefer if one of the webERP masters could fix it.

Thanks!


Attached Files Thumbnail(s)
               
Regards,
Pak Ricard
Reply


Messages In This Thread
[SOLVED] BUG in Payments.php - by PakRicard - 12-09-2013, 12:24 PM
RE: BUG in Payments.php - by icedlava - 02-03-2014, 04:29 PM
RE: BUG in Payments.php - by phil - 02-03-2014, 07:14 PM
RE: BUG in Payments.php - by icedlava - 02-03-2014, 07:59 PM
RE: BUG in Payments.php - by PakRicard - 02-05-2014, 06:18 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)