<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Foreign Exchange Profit account - surprise appearance]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4257&amp;type=atom" />
	<updated>2013-08-13T21:55:13Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4257</id>
		<entry>
			<title type="html"><![CDATA[Re: Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17341#p17341" />
			<content type="html"><![CDATA[<p>Hello guys,</p><p>Please download the files supplier_payments.php1 and customer_payments.php1, rename the extension to php, and replace them in your setup. customer_payments.php to /sales and supplier_payments.php to /purchasing.</p><p>This will fix the problems.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-08-13T21:55:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17341#p17341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17340#p17340" />
			<content type="html"><![CDATA[<p>Unfortunatelly there is a bug in Customer Payments page code in 2.3.17 release. You can fix it changing lines 265-267 in file sales/customer_payments.php like this (see the &#039;get_post&#039; to &#039;input_num&#039; call change at the end of the code fragment):<br /></p><div class="codebox"><pre><code>    $payment_no = write_customer_payment($_SESSION[&#039;alloc&#039;]-&gt;trans_no, $_POST[&#039;customer_id&#039;], $_POST[&#039;BranchID&#039;],
        $_POST[&#039;bank_account&#039;], $_POST[&#039;DateBanked&#039;], $_POST[&#039;ref&#039;],
        input_num(&#039;amount&#039;), input_num(&#039;discount&#039;), $_POST[&#039;memo_&#039;], 0, input_num(&#039;charge&#039;), input_num(&#039;bank_amount&#039;, input_num(&#039;amount&#039;)));</code></pre></div><p>Let me know whether it will fix the problem for you.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-08-13T21:11:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17340#p17340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17322#p17322" />
			<content type="html"><![CDATA[<p>Hi apmuthu,</p><p>Thank you for your input on this.</p><p>I can confirm that this happens even when the bank account and vendor account are both tagged to the base currency.&nbsp; That is, there is no foreign currency component to the transaction.</p><p>I also tested it on the test demo data (4 digit American Chart of Accounts) and was apple to replicate the same issue with version 2.3.17.</p>]]></content>
			<author>
				<name><![CDATA[kanay]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=15764</uri>
			</author>
			<updated>2013-08-13T06:40:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17322#p17322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17311#p17311" />
			<content type="html"><![CDATA[<p>This may be so for Cash transactions (base currency) and contra account in another currency.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-08-13T05:59:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17311#p17311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17273#p17273" />
			<content type="html"><![CDATA[<p>Hi Martin,</p><p>I am facing the same issues.</p><p>It only happens with the latest version 2.3.17.</p><p>I have made a post on the bugs report section as well.</p><p>You might want to try out version 2.3.16 till the developers look into this.</p><p>Cheers,</p><p>Kanay</p>]]></content>
			<author>
				<name><![CDATA[kanay]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=15764</uri>
			</author>
			<updated>2013-08-11T11:06:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17273#p17273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Foreign Exchange Profit account - surprise appearance]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17239#p17239" />
			<content type="html"><![CDATA[<p>Perhaps a bit of a newbie question, and, to add to the confusion, I&#039;m not an accountant. So with that said, here goes...</p><p>I created a Direct Purchase Invoice and then paid it straight away via Supplier Payment Entry. I then displayed the General Ledger Transaction Details and found the following:</p><p>Account Code &nbsp; &nbsp; Account Name &nbsp; &nbsp; Dimension &nbsp; &nbsp;&nbsp; Debit &nbsp; &nbsp; &nbsp; &nbsp; Credit &nbsp; &nbsp; Memo<br />2100 &nbsp; &nbsp; &nbsp; &nbsp; Trade Creditors &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 56,730.00<br />1065 &nbsp; &nbsp; &nbsp; &nbsp; Cash &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 56.00<br />4450 &nbsp; &nbsp; &nbsp; &nbsp; Foreign Exchange Profit &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 56,674.00<br />Total &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 56,730.00 &nbsp; &nbsp; 56,730.00</p><p>My question is, why, when I selected the &#039;From Bank&#039; of Cash (a/c code 1065), did it also pick up the Foreign Exchange Profit (a/c code 4450)? I do have 3 currencies set up in the system, but have never seen or manually done anything with this Foreign Exchange Profit account before. The original invoice and this corresponding payment were made in the company&#039;s &#039;Home Currency&#039;. In addition, the goods received are all entered into the system in the company&#039;s &#039;Home Currency&#039;. It&#039;s only for a completely different account where the currency is different, and I went nowhere near that account during this purchase and payment.</p><p>Then, if you can answer the why, could you also advise me how I can make it so that it doesn&#039;t appear in Supplier Payments again, so that next time I just get the &#039;From Bank&#039; account?</p><p>I don&#039;t know if you need more detail, but I&#039;m happy to supply it if you do.</p><p>Many thanks,<br />newbie Martin</p>]]></content>
			<author>
				<name><![CDATA[Strongman]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18294</uri>
			</author>
			<updated>2013-08-06T13:25:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17239#p17239</id>
		</entry>
</feed>
