<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Exchange Variance Error]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6857&amp;type=atom" />
	<updated>2018-04-16T06:20:27Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6857</id>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31429#p31429" />
			<content type="html"><![CDATA[<p>we are using IDR for second currency, and in the our petty cash for IDR, in somehow, in the gl transaction, balance show -, after some automatic exchange variances, and then calculation got double every time trans got input in the bank payment for account petty cash IDR.</p><p>as show in the screenshot, we have turn off automatic Exchange Varience, in the Setup Company.<br />1. gl inquiry -&gt; bank payment ref 11 and journal entry ref 12 15-jan-2018, created negative balance for petty cash<br />2. bank account inquiry -&gt; balance for the petty cash showing 205,393.00 (not negative value)</p><p>https://www.dropbox.com/s/fsgzrhaj9bd2h61/negative%20value%20for%20automatic%20exchange%20variance.zip?dl=0</p><br /><p>thanks</p>]]></content>
			<author>
				<name><![CDATA[ichtus]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=12975</uri>
			</author>
			<updated>2018-04-16T06:20:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31429#p31429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28962#p28962" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>itronics wrote:</cite><blockquote><p>Those exchange variance postings are not any bug result, this is exactly how automatic currency accounts revaluation works.</p><p>When you make any foreign (i.e. not home) currency payment (or deposit), current money value on the related account is recalculated and the difference in value (due to changed exchange rate since recent currency operation) is posted. If you do not want this to be done automatically, <strong>you should set &#039;Automatic Revaluation Currency Accounts&#039; option in your Company Setup to off</strong>.</p><p>Then you will have to make currency accounts revaluation manually when you need it, but those isolated automatic &#039;Exchange Variance&#039; postings will not appear unexpectedly in your GL.</p><p>Janusz</p></blockquote></div><p>I&#039;m not quite sure whether this issue caused by &#039;Automatic Revaluation Currency Accounts&#039; or not. But I have been using FrontAccounting since 2012, and just happened this issue in June 2017. Now my Profit and Loss statement are totally messed up. And I have no idea how can I fix it. </p><p>Should I manually delete all &quot;exchange variance&quot;Journal entry??</p>]]></content>
			<author>
				<name><![CDATA[kevinleebr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1111</uri>
			</author>
			<updated>2017-10-10T02:54:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28962#p28962</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28952#p28952" />
			<content type="html"><![CDATA[<p>In response to another problem:<br /></p><div class="quotebox"><cite>ichtus wrote:</cite><blockquote><p>(...)<br /> the exchange rates seems doubled from the last transaction, we check in the table currency, values in the some dates is wrong get from google shown 0.0001, but we have correctly this to 0.000074954090619496, even in the pages https://domain/fa/gl/manage/exchange_rates.php? this always shown 0.0001.</p></blockquote></div><p>there was exchange rate display bug indeed, which <a href="https://sourceforge.net/p/frontaccounting/git/ci/45c2d587dcdef257924f9a4a87f5634a2290033f/"> just has been fixed in our repo</a>.</p><p>Thanks.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2017-10-09T11:41:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28952#p28952</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28949#p28949" />
			<content type="html"><![CDATA[<p>Those exchange variance postings are not any bug result, this is exactly how automatic currency accounts revaluation works.</p><p>When you make any foreign (i.e. not home) currency payment (or deposit), current money value on the related account is recalculated and the difference in value (due to changed exchange rate since recent currency operation) is posted. If you do not want this to be done automatically, <strong>you should set &#039;Automatic Revaluation Currency Accounts&#039; option in your Company Setup to off</strong>.</p><p>Then you will have to make currency accounts revaluation manually when you need it, but those isolated automatic &#039;Exchange Variance&#039; postings will not appear unexpectedly in your GL.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2017-10-09T09:23:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28949#p28949</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28947#p28947" />
			<content type="html"><![CDATA[<p>Hi @joe and @apmuthu,</p><p>Is the error message below related to this case?</p><p><a href="https://app.box.com/s/dpwmthiac7acbczbzmt13l0ryeg9mtbp"> Error message </a></p><p>Kevin Lee</p>]]></content>
			<author>
				<name><![CDATA[kevinleebr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1111</uri>
			</author>
			<updated>2017-10-09T09:07:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28947#p28947</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28939#p28939" />
			<content type="html"><![CDATA[<p>Hi @Joe and @apmuthu,</p><p>I set the decimals length of Amounts in &quot;Display setup&quot; to 0 already. And what should I do next?<br /><a href="https://app.box.com/s/374so2ojom7qqhe2xf8i49xo7xtont0i">Decimal length to 0 </a></p><p>How can I fix the &quot;foreign exchange gain&quot;?<br /><a href="https://app.box.com/s/k6x7st0ty83f9b2u8rl60vc5a1a14h7f"> Foreign exchange gain in Profit and Lost statement </a></p><p>Kevin Lee</p>]]></content>
			<author>
				<name><![CDATA[kevinleebr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1111</uri>
			</author>
			<updated>2017-10-09T02:00:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28939#p28939</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28903#p28903" />
			<content type="html"><![CDATA[<p>It is difficult with these huge exchange rate differences. As @apmuthu mentions, maybe a set of decimals in amounts to 0 will solve it. </p><p>I will show the discussion to Janusz.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-10-07T07:45:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28903#p28903</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28900#p28900" />
			<content type="html"><![CDATA[<p>For a start, you can make decimals 0 length for Amounts.</p><p>@joe: separating the amounts and prices into 2 separate config variables for decimal length may be needed to accommodate such cases.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-07T04:42:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28900#p28900</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28891#p28891" />
			<content type="html"><![CDATA[<p>I tried to enable debugging mode. After that, what I should look into it?</p><p><a href="https://app.box.com/s/9jc89tjaiy2mtxuon5e4c6bk4j6rmj64">Journal entry</a></p><p><a href="https://app.box.com/s/fua3kq08cb01zryy9nke4l1pvr1lqigu">Exchange variance</a></p>]]></content>
			<author>
				<name><![CDATA[kevinleebr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1111</uri>
			</author>
			<updated>2017-10-07T00:38:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28891#p28891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28884#p28884" />
			<content type="html"><![CDATA[<p>https://frontaccounting.com/fawiki/index.php?n=Devel.TrobleshootingFrontAccounting</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-06T17:00:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28884#p28884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28875#p28875" />
			<content type="html"><![CDATA[<p>Try to change the exchange provider and check it.&nbsp; </p><p>$xr_providers = array(&quot;ECB&quot;, &quot;YAHOO&quot;, &quot;GOOGLE&quot;, &quot;BLOOMBERG&quot;);<br />$dflt_xr_provider = 2;</p><p>change it from your config.php&nbsp; . <br />And also enable debugging mode to see whether it throws any error during conversions.</p><p><a href="http://www.kvcodes.com/2017/10/frontaccounting-enabling-debugging-mode/"> FrontAccounting Enabling Debugging Mode</a></p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2017-10-06T13:45:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28875#p28875</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28867#p28867" />
			<content type="html"><![CDATA[<p>Hi all,</p><p>Actually we have the same problem here. Our home currency is HKD (Hong Kong Dollar). Start using FA since 2014 and never had this problem before. Until this year June. We have so many Journal entry generated by system with MEMO &quot;Exchange Variance&quot; in the system. I checked the exchange rate are all fine. And I have no idea what should I do to solve this problem.</p><p>Any hints or help please?!!</p><p>Kevin</p>]]></content>
			<author>
				<name><![CDATA[kevinleebr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1111</uri>
			</author>
			<updated>2017-10-06T10:08:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28867#p28867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28517#p28517" />
			<content type="html"><![CDATA[<p>Here is a tedious way of troubleshooting it.<br />Turn on all debug including select in sql trail in the config file.<br />Insert the <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.TrobleshootingFrontAccounting">troubleshooting code</a> at each place in the FA scripts sequentially to inspect where the error comes in.<br />Sample troubleshooting code:<br /></p><div class="codebox"><pre><code>$log_output = &quot;\n\n Start dump of all variables \n\n&quot; . print_r(get_defined_vars(),true) . &quot;\n\n&quot;;
file_put_contents(&#039;D:/XAMPP/htdocs/fa24/tmp/log_file.txt&#039;, $log_output, FILE_APPEND);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-08-30T10:06:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28517#p28517</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28515#p28515" />
			<content type="html"><![CDATA[<p>I have seen this is not problem with rounding error, but somehow any transaction that causes exchange variance does not calculate from the transaction value, but it seems double value from the previous exchange rates values.</p><p>We got very confused as to how we can report and diagnose this problem, except if possible we send our database dump by PM?</p>]]></content>
			<author>
				<name><![CDATA[ichtus]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=12975</uri>
			</author>
			<updated>2017-08-30T06:28:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28515#p28515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Exchange Variance Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28469#p28469" />
			<content type="html"><![CDATA[<p>The exchange rate calculations have been the same for over 10 years.</p><p>Fot huge currency rates, it is important to use adequate decimals. Otherwise the values will vary very much.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-08-23T14:31:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28469#p28469</id>
		</entry>
</feed>
