<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Anomaly in Database Entry]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9643</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9643&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Anomaly in Database Entry.]]></description>
		<lastBuildDate>Fri, 21 Jan 2022 03:52:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Anomaly in Database Entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40519#p40519</link>
			<description><![CDATA[<p>Any void attempt shall smartly check if the transaction exists partially in database then it shall execute Void instead of showing the message that this transaction doesn&#039;t exists.</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 21 Jan 2022 03:52:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40519#p40519</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anomaly in Database Entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40517#p40517</link>
			<description><![CDATA[<p>It is likely that many such voids will confuse the admin. A better way is needed. @joe?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 21 Jan 2022 03:32:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40517#p40517</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anomaly in Database Entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40487#p40487</link>
			<description><![CDATA[<p>Anyway I did some modification to ensure force void if such situation occurs.</p><p>In <strong>admin/db/voiding_db.inc</strong> I modified code as below</p><div class="codebox"><pre><code>case ST_BANKDEPOSIT : // it&#039;s a deposit
        case ST_BANKTRANSFER : // it&#039;s a transfer
            if (!check_void_bank_trans($type, $type_no))
                return _(&#039;This transaction cannot be voided because the operation would decrease account balance below allowed limit in some point of account history.&#039;);
                case ST_BANKPAYMENT : // it&#039;s a payment
            if (!exists_bank_trans($type, $type_no) &amp;&amp; !exists_gl_trans($type, $type_no)) //modified by faisal
                return _(&#039;Selected transaction does not exists.&#039;);
            void_bank_trans($type, $type_no);
            break;</code></pre></div><p>Also in <strong>admin/void_transaction.php</strong></p><div class="codebox"><pre><code>    case ST_BANKPAYMENT : // it&#039;s a payment
        case ST_BANKDEPOSIT : // it&#039;s a deposit
        case ST_BANKTRANSFER : // it&#039;s a transfer
            if (!exists_bank_trans($type, $type_no) &amp;&amp; !exists_gl_trans($type, $type_no)) //modified by faisal
                return false;
            break;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Fri, 14 Jan 2022 14:01:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40487#p40487</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anomaly in Database Entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40483#p40483</link>
			<description><![CDATA[<p>Seems like commit or cancel transaction not&nbsp; called. And it looks like mysql level failure.&nbsp; Would you mind checking your MySQL log for failure. Normally it does&#039;nt happen. It happens when the server reached deadend or deadlock.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Thu, 13 Jan 2022 05:53:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40483#p40483</guid>
		</item>
		<item>
			<title><![CDATA[Anomaly in Database Entry]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=40479#p40479</link>
			<description><![CDATA[<p>Today one of my client did one Bank Payment Entry.<br />The Entry was half passed.<br />It created the GL Transaction but didn&#039;t create the Bank Transaction.<br />Hence the Transaction is reflecting in Ledgers and Journal Inquiry but Not in Others<br />And If We want to void it then it is also not available to void.<br />Attached is the Screen Shot.</p><p>1. Why this happens? It happened one time earlier also with Stock Adjustments.<br />2. How to handle this situation?</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Wed, 12 Jan 2022 16:32:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=40479#p40479</guid>
		</item>
	</channel>
</rss>
