<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9639&amp;type=atom" />
	<updated>2023-07-19T12:35:09Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9639</id>
		<entry>
			<title type="html"><![CDATA[Re: Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=42442#p42442" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[seahawk]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=544</uri>
			</author>
			<updated>2023-07-19T12:35:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=42442#p42442</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error "exceed of authorized overdraft limit" - I had to hack core file]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=40469#p40469" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[lawmaina78]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14031</uri>
			</author>
			<updated>2022-01-11T02:29:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=40469#p40469</id>
		</entry>
</feed>
