<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — bank accounts]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5555&amp;type=atom" />
	<updated>2015-02-17T18:39:23Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5555</id>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22606#p22606" />
			<content type="html"><![CDATA[<p>you are awesome, thank you</p>]]></content>
			<author>
				<name><![CDATA[bobloblian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19664</uri>
			</author>
			<updated>2015-02-17T18:39:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22606#p22606</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22582#p22582" />
			<content type="html"><![CDATA[<p>Hope this suffices:</p><p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.BankAccounts">https://frontaccounting.com/fawiki/inde … nkAccounts</a></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-17T07:26:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22582#p22582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22579#p22579" />
			<content type="html"><![CDATA[<p>@apmuthu<br />Based on the assumption that what is happening on my install is happening on everybody else&#039;s install, I would suggest this text:</p><p>At the moment (FA v2.3), the GL Account should not have any transactions for it to be used as a Bank Account. Once assigned to a Bank account (or a Credit Card Account), the GL Account cannot be deleted within FrontAccounting.</p><p>read like this:</p><p>At the moment (FA v2.3) the following conditions are true:<br />1. you cannot create a bank account using a Bank Account GL Code where the GL account has existing transactions.&nbsp; You must begin with an empty GL account<br />2. When editing an existing Bank Account, it is possible to change the Bank Account GL Code to use a GL account that does have existing transactions, but Reports=&gt;Bank Statements will not include any of those pre-existing transactions. <br />3. Once created, a bank account cannot be deleted.</p>]]></content>
			<author>
				<name><![CDATA[bobloblian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19664</uri>
			</author>
			<updated>2015-02-17T01:50:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22579#p22579</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22565#p22565" />
			<content type="html"><![CDATA[<p>@bobloblian: Just check if the wiki is worded as desired:</p><p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.BankAccounts">https://frontaccounting.com/fawiki/inde … nkAccounts</a></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-16T06:43:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22565#p22565</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22558#p22558" />
			<content type="html"><![CDATA[<p>For the sake of completing the whole story from the point of view of a guy who read the wiki page then tried to do what the program would let him do:</p><p>I had already created the GL acct (1061) and made journal entries for my 2nd bank account before I found I could make it as a bank account.&nbsp; When I tried to add it, I could not.&nbsp; but there was an existing bank account called petty cash (gl acct 1065).&nbsp; I edited that bank account to use gl acct 1061 instead, but when I ran a bank statement report, it gave me nothing.&nbsp; Today, I can get a report, but it seems to only report on journal entries I have made since yesterday, so it isn&#039;t a complete report of activity in gl acct 1061.&nbsp; Given that the program let me do this I would (and did) think something was broken had I not been looking for some problem</p><p>Based on apmuthu&#039;s response, I created another gl acct 1062, and I was able to make a bank account tied to this gl acct.&nbsp; I have made no transactions on this gl acct, but today I cannot delete it, I get this error:</p><p>Cannot delete this bank account because transactions have been created using this account.</p><p>But there really are no transactions in it.&nbsp; if I run a bank statement report, it is empty, and there are no journal transactions on gl acct 1062.&nbsp; So not sure if that is by design, seems like I should be able to delete it.</p><p>Though I cannot delete the account, I can modify it to have a different GL account.&nbsp; This differs from the original petty cash bank account for gl acct 1065 that I modified to gl acct 1061.&nbsp; I can no longer change the gl acct for that account, which given that the&nbsp; bank account actually does show transactions now, it makes sense.</p><p>While I cannot delete the bank account for glacct 1062, I can successfully inactivate it.</p><p>So I guess the way forward is to not delete the bank account for gl acct 1062, use journal entries to move everything from gl acct 1061 to 1062, and deactivate the bank account for gl acct 1061 so it is not listed.&nbsp; Rinse and repeat for the Visa...</p><p>so; summary of suggestions:<br />-The error message should read as Joe suggests; I would have understood that.<br />-A user should not be able to modify an existing bank account to use a gl acct that has transactions in it for the same reason he cannot create it.&nbsp; Same error should be displayed<br />-If there is a legitimate reason that a bank account cannot be deleted after it is created even when empty, a note should be made on the wiki page warning that it is a non-reversible action, and perhaps a popup warning in the program as well.<br />-if there are conditions where a bank account can be deleted, it would be useful to have them mentioned in the error message, or have the error message contain a link to a wiki page with explanation.<br />-On the wiki&#039;s getting started page, it mentions setting up bank accounts as part of the POS system, it might be a good idea to have mention that one should also set up bank accounts for each real bank account and visa account.</p><p>I want to express gratitude; I am finding this program to be pretty awesome.&nbsp; Thanks for writing it, and thanks for taking the time to engage me in discussion on these boards...</p>]]></content>
			<author>
				<name><![CDATA[bobloblian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19664</uri>
			</author>
			<updated>2015-02-15T19:36:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22558#p22558</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22557#p22557" />
			<content type="html"><![CDATA[<p>@apmuthu.</p><p>The key_in_foreign_table checks that there are no transactions on the GL account.</p><p>Just to ensure that the transactions on he bank account are mirrored on the GL account without having other transactions.</p><p>Joe.</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2015-02-15T19:25:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22557#p22557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22554#p22554" />
			<content type="html"><![CDATA[<p>Lines 36 to 41 in gl/manage/bank_accounts.php:<br /></p><div class="codebox"><pre><code>    if ($Mode==&#039;ADD_ITEM&#039; &amp;&amp; (gl_account_in_bank_accounts(get_post(&#039;account_code&#039;)) 
            || key_in_foreign_table(get_post(&#039;account_code&#039;), &#039;gl_trans&#039;, &#039;account&#039;))) {
        $input_error = 1;
        display_error(_(&quot;The GL account selected is already in use. Select another GL account.&quot;));
        set_focus(&#039;account_code&#039;);
    }</code></pre></div><p>Line 39 above can have the error message modified as @joe stated or the <strong>if</strong> statement modified to be more tolerant like:<br /></p><div class="codebox"><pre><code>    if ($Mode==&#039;ADD_ITEM&#039; &amp;&amp; (gl_account_in_bank_accounts(get_post(&#039;account_code&#039;)) )) {
        $input_error = 1;
        display_error(_(&quot;The GL account selected is already in use. Select another GL account.&quot;));
        set_focus(&#039;account_code&#039;);
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-15T17:12:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22554#p22554</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22552#p22552" />
			<content type="html"><![CDATA[<p>It is more clean if the account is empty. Much easier to check the bank account against the GL account.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2015-02-15T11:28:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22552#p22552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22551#p22551" />
			<content type="html"><![CDATA[<p>@joe: The error string would be quite explanatory, but what was the need to check if there were transactions prior to it&#039;s assignment to the Bank Account? Is it not sufficient to check if it was just already allotted to some other Account?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-15T10:38:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22551#p22551</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22544#p22544" />
			<content type="html"><![CDATA[<p>I guess we can make a better eror string like &#039;The GL account selected is already in use or has transactions. Select another empty GL account.&#039;</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2015-02-15T06:58:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22544#p22544</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22541#p22541" />
			<content type="html"><![CDATA[<p>@:bobloblian: Your kind of persistence and feedback is what makes FA what it is. The info has been wikied.</p><p>@joe: Any logic in this condition needs to be wikied so that when we re-visit it in FA 2.4 we can make better workflows.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-15T05:58:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22541#p22541</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22538#p22538" />
			<content type="html"><![CDATA[<p>Hi Apmuthu,</p><p>Thanks once again for your assistance.&nbsp; Soon I will owe you a lot of beers... </p><p>I did solve it.&nbsp; The trick is you can&#039;t create a bank account unless the GL account is empty when you start.&nbsp; Since I was trying to turn existing GL accounts that already had transactions in them into bank accounts, it failed.</p><p>Sorry for the noise...</p>]]></content>
			<author>
				<name><![CDATA[bobloblian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19664</uri>
			</author>
			<updated>2015-02-14T19:22:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22538#p22538</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22531#p22531" />
			<content type="html"><![CDATA[<p>Please provide the before and after sql backups differences so that it can be matched against any other means of inclusion.<br />Added screenshots on my take.<br />Removed Wiki inclusion.</p><p>Although Credit Card Account used to make payments to suppliers is actually a liability account, it may need to be treated as a checking account (Asset) in FA to be usable.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-14T05:53:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22531#p22531</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22530#p22530" />
			<content type="html"><![CDATA[<p>sorry apmuthu, I think you misunderstood.&nbsp; that was not a solution, but the steps I took to produce the problem</p><p>I still cannot add another bank account, if I try it tells me the GL account is already in use even though no other bank account is using the GL account number I am trying to link.</p><p>Changing the existing bank account to a different GL account produces an empty report when you try to get a bank statement.</p>]]></content>
			<author>
				<name><![CDATA[bobloblian]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19664</uri>
			</author>
			<updated>2015-02-14T04:51:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22530#p22530</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: bank accounts]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22527#p22527" />
			<content type="html"><![CDATA[<p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.BankAccounts">Wiki</a>-ed it.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-14T03:46:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22527#p22527</id>
		</entry>
</feed>
