<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9639</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9639&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error "exceed of authorized overdraft limit" - I had to hack core file.]]></description>
		<lastBuildDate>Wed, 19 Jul 2023 12:35:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=42442#p42442</link>
			<description><![CDATA[<p>As far as I am aware, the cash accounts and savings accounts cannot go into negative. Chequing and credit accounts would. Select the correct type of account</p>]]></description>
			<author><![CDATA[null@example.com (seahawk)]]></author>
			<pubDate>Wed, 19 Jul 2023 12:35:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=42442#p42442</guid>
		</item>
		<item>
			<title><![CDATA[Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40469#p40469</link>
			<description><![CDATA[<p>Hello all<br />Please help<br />I am using FrontAccounting 2.4.11<br />I closed last year fiscal account and opened new one this year.<br />Then am trying to transact with a bank account that has enough balance, e.g. balance of $1,000 and only paying $10<br />And getting following error &quot;&quot;The bank transaction would result in exceed of authorized overdraft limit for transaction&quot;<br />I look through bank inquiry report throughout the history, it has never had negative balance</p><p>So to temporarily get past this error, I had to comment out the whole validation statement in core file gl/gl_bank.php</p><p>This is the portion I commented out<br /></p><div class="codebox"><pre><code>    /*
    if ($trans = check_bank_account_history($amnt_chg, $_POST[&#039;bank_account&#039;], $_POST[&#039;date_&#039;])) {

        if (isset($trans[&#039;trans_no&#039;])) {
            display_error(sprintf(_(&quot;The bank transaction would result in exceed of authorized overdraft limit for transaction: %s #%s on %s.&quot;),
                $systypes_array[$trans[&#039;type&#039;]], $trans[&#039;trans_no&#039;], sql2date($trans[&#039;trans_date&#039;])));
            set_focus(&#039;amount&#039;);
            $input_error = 1;
        }    
    }
    */</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (lawmaina78)]]></author>
			<pubDate>Tue, 11 Jan 2022 02:29:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40469#p40469</guid>
		</item>
	</channel>
</rss>
