Register    Login    Forum    Search    FAQ

Board index » General Usage » Receivables




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Freight - multi currency issue
 Post Posted: Wed Nov 23, 2011 8:33 am 
Offline

Joined: Wed Nov 23, 2011 8:24 am
Posts: 1
When i create an invoice with a different currency apart from default currency and on add a freight amount; i get an error on trying to save - Trial balance is out of balance (This can usually be fixed by re-posting the transaction).
And, more strangely the freight amount seems to be changing.

I am using the latest version 3.3 with demo data. Also find attached the screen-shot for the same.

Thanks.


Attachments:
freight error.JPG
freight error.JPG [ 154.77 KiB | Viewed 216 times ]
Top 
 Profile  
 
 Post subject: Re: Freight - multi currency issue
 Post Posted: Wed Nov 23, 2011 3:29 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I'll put this on the bug list. Thanks.

Dave


Top 
 Profile  
 
 Post subject: Re: Freight - multi currency issue
 Post Posted: Mon Nov 28, 2011 3:48 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
Looks like this bug was introduced in R3.2 and is in R3.3RC1. Edit file: /modules/phreebooks/pages/orders/pre_process.php
Add the following at line 183 from:
Code:
   // load bill to and ship to information

To:
Code:
   // currency values (convert to DEFAULT_CURRENCY to store in db)
   $order->currencies_code     = db_prepare_input($_POST['currencies_code']);
   $order->currencies_value    = db_prepare_input($_POST['currencies_value']);
   // load bill to and ship to information
This will move the currency conversion before the shipping is calculated. This code also appears at line 247 and can be removed if you wish.

Dave


Top 
 Profile  
 
 Post subject: Re: Freight - multi currency issue
 Post Posted: Thu Dec 29, 2011 8:02 am 
Offline

Joined: Mon Dec 14, 2009 5:47 am
Posts: 101
Hello Dave,

thanks for your answer to the above question. I have done what you said should be done but the error is still showing. How do i correct this error of freight?
Thanks

Popsicles1


Top 
 Profile  
 
 Post subject: Re: Freight - multi currency issue
 Post Posted: Sat Jan 07, 2012 9:44 am 
Offline

Joined: Mon Mar 01, 2010 5:32 am
Posts: 554
Location: Netherlands
Dave's solution should do the trick.

Is you balance sheet in balance before you try to post.
General Ledger > Administrative Tools.
You should repair it if it is out of balance

_________________
Rene Kervezee


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » General Usage » Receivables


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: