<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Bug in the calculation of foreign exchange gains]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1099</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1099&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bug in the calculation of foreign exchange gains.]]></description>
		<lastBuildDate>Mon, 22 Feb 2010 12:51:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4930#p4930</link>
			<description><![CDATA[<p>Yes we have to make more check. CVS Main is updated. I sent you an updated file. You can also fetch it here:</p><p>----------------- <strong>OBS! New File</strong> (final rerun) ------------------</p><br /><p>We now recalculate all the currency bank accounts belonging to the same GL account. This makes the algorithm much cleaner and easier and safe and the performance should be improved too. So the GL account will always be updated when payments or transfer are done.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 22 Feb 2010 12:51:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4930#p4930</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4925#p4925</link>
			<description><![CDATA[<p>joe... i&#039;ve found another bug. i just sent an email to you about this bug</p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Mon, 22 Feb 2010 07:13:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4925#p4925</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4924#p4924</link>
			<description><![CDATA[<p>thaks for the update... you&#039;ve made a great software. kept trying to make it better <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Mon, 22 Feb 2010 02:46:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4924#p4924</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4899#p4899</link>
			<description><![CDATA[<p>Hello,<br />This bug is now fixed and the CVS Main repository is updated. Affected file:<br />/gl/includes/db/gl_db_banking.inc</p><p>If you need this fix asap you can download it here:</p><br /><br /><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 19 Feb 2010 17:12:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4899#p4899</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4893#p4893</link>
			<description><![CDATA[<p>Hello, nucreativa,<br />Unfortunately your code will not work. You know that there can be several bank accounts belonging to the same GL account. So we can not just calculate the sum from the same period in the GL account. This may fetch to many rows that should not be calculated.<br />But I have sent you some more check to the former sql statement and asked you to test this.<br />I guess it will work with these new added checks.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 19 Feb 2010 10:08:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4893#p4893</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4892#p4892</link>
			<description><![CDATA[<p>We have received it, thanks. We will look into it asap.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 19 Feb 2010 09:37:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4892#p4892</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4879#p4879</link>
			<description><![CDATA[<p>I&#039;ve sent it</p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Fri, 19 Feb 2010 03:38:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4879#p4879</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4863#p4863</link>
			<description><![CDATA[<p>You can send the code to contributions mail box (you will find eml address on site Contact page).<br />Thanks.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Thu, 18 Feb 2010 09:39:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4863#p4863</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4856#p4856</link>
			<description><![CDATA[<p>joe, I made some changes to the gl_db_banking.inc. I&#039;ve improved foreign exchange gain formulas. I think this new formula to resolve this issue. where I had to send files of this improvement.</p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Thu, 18 Feb 2010 03:10:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4856#p4856</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4835#p4835</link>
			<description><![CDATA[<p>no joe, in Indonesia, 1 USD is more than 9000 in IDR. I&#039;ll try your suggestion first. thanks</p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Wed, 17 Feb 2010 04:32:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4835#p4835</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4827#p4827</link>
			<description><![CDATA[<p>I think you have an extreme high exchange rate against the USD. Maybe you should increase the exchange rate digits to 6 or 8 to get a better calculation.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Tue, 16 Feb 2010 12:39:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4827#p4827</guid>
		</item>
		<item>
			<title><![CDATA[Bug in the calculation of foreign exchange gains]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4824#p4824</link>
			<description><![CDATA[<p>I&#039;m sorry if my english not good. there is a bug in the frontaccounting, more precisely in the calculation of foreign exchange gains.</p><p>This error occurs when conducting transactions related to different currencies.</p><p>in my case, I change the default currency to rupiah (Indonesian currency). and I made a USD bank account. current assets and petty cash in rupiah. then I deposit my money into the account USD. more details follow the steps below.</p><p>1. deposit USD 10,000, with the exchange rate of 10,000 rupiah per USD on 1 January.<br />2. deposit USD 1000, with the exchange rate of 9,500 rupiah per USD at the date of January 10.<br />3. deposit USD 100, with the exchange rate of 9,500 rupiah per USD on the same date (10 January).</p><p>The first and second steps were correct. but the third step produces the wrong value. I question why foreign exchange gain is still in the calculations? if it still must be calculated to produce the wrong balance sheet. because the foreign exchange loss recorded two times in the general ledger.</p><p>Please response as soon as possible <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (nucreativa)]]></author>
			<pubDate>Tue, 16 Feb 2010 08:53:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4824#p4824</guid>
		</item>
	</channel>
</rss>
