<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — DATABASE ERROR : no debtor trans found for given params]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4462</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4462&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in DATABASE ERROR : no debtor trans found for given params.]]></description>
		<lastBuildDate>Wed, 06 Nov 2013 12:08:06 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: DATABASE ERROR : no debtor trans found for given params]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18341#p18341</link>
			<description><![CDATA[<p>A good trap on this might be to check if the bank charge is greater than the payment and flag the user for approval. An even better way might be allow a percentage threshold as system preference.</p>]]></description>
			<author><![CDATA[null@example.com (swheeler)]]></author>
			<pubDate>Wed, 06 Nov 2013 12:08:06 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18341#p18341</guid>
		</item>
		<item>
			<title><![CDATA[Re: DATABASE ERROR : no debtor trans found for given params]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18334#p18334</link>
			<description><![CDATA[<p>Thanks Janusz</p><p>Sorry - late reply from my side (due to personal issues) but can report that I had made a booboo when entering the payment. Erroneously (and repeatedly) entered the full payment amount into the Bank Charges field - which makes the whole transaction zero. I am sorry but I am still trying to get to grips with FA. </p><p>Noticed my error, restored a backup of the DB and re-entered the payment. Works fine....</p><p>We live and we learn!</p><p>Cheers / Frank</p>]]></description>
			<author><![CDATA[null@example.com (aquarius)]]></author>
			<pubDate>Tue, 05 Nov 2013 11:12:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18334#p18334</guid>
		</item>
		<item>
			<title><![CDATA[Re: DATABASE ERROR : no debtor trans found for given params]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18174#p18174</link>
			<description><![CDATA[<p>Type 13 is Delivery Note, which is not allocatable. Transaction type 12 is Customer Payment which can be allocated to sales invoice. I guess you have broken database for some reason, but I don&#039;t know how it happened.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Mon, 21 Oct 2013 12:40:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18174#p18174</guid>
		</item>
		<item>
			<title><![CDATA[Re: DATABASE ERROR : no debtor trans found for given params]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18131#p18131</link>
			<description><![CDATA[<p>I may add to the post above that I am using</p><p>FA 2.3.18 - theme Dashboard</p><p>locally:</p><p>- Linux Mint 15<br />- PHP Version &nbsp; &nbsp; 5.4.9-4ubuntu2.3 <br />- mysql Client API version &nbsp; &nbsp; 5.5.32 </p><p>webserver:</p><p>- CentOS Linux<br />- Apache version&nbsp; &nbsp; 2.2.23<br />- PHP version&nbsp; &nbsp; 5.2.17<br />- MySQL version&nbsp; &nbsp; 5.0.96-community</p><p>Australian COA</p><p>Australian language pack</p><p>Can&#039;t figure out what may have gone wrong - any takers please?</p><p>Thanks / Frank</p>]]></description>
			<author><![CDATA[null@example.com (aquarius)]]></author>
			<pubDate>Wed, 16 Oct 2013 08:19:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18131#p18131</guid>
		</item>
		<item>
			<title><![CDATA[DATABASE ERROR : no debtor trans found for given params]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18124#p18124</link>
			<description><![CDATA[<p>New to this...</p><p>Invoiced a customer and promptly received payment.</p><p>Went to sales &gt; Customer Payments, selected the customer, entered the relevant reference, allocated the amount, hit &quot;Add Payment&quot; and I am getting this error:</p><p>DATABASE ERROR : no debtor trans found for given params<br />sql that failed was : SELECT trans.*,ov_amount+ov_gst+ov_freight+ov_freight_tax+ov_discount AS Total,cust.name AS DebtorName, cust.address, cust.curr_code, cust.tax_id, com.memo_,bank_act,0_bank_accounts.bank_name, 0_bank_accounts.bank_account_name, 0_bank_accounts.account_type AS BankTransType, 0_bank_accounts.bank_curr_code, 0_bank_trans.amount as bank_amount FROM 0_debtor_trans trans LEFT JOIN 0_comments com ON trans.type=com.type AND trans.trans_no=com.id LEFT JOIN 0_shippers ON 0_shippers.shipper_id=trans.ship_via, 0_debtors_master cust, 0_bank_trans, 0_bank_accounts WHERE trans.trans_no=&#039;2&#039; AND trans.type=&#039;12&#039; AND trans.debtor_no=cust.debtor_no AND 0_bank_trans.trans_no =&#039;2&#039; AND 0_bank_trans.type=12 AND 0_bank_trans.amount != 0 AND 0_bank_accounts.id=0_bank_trans.bank_act</p><p>Went to phpmyadmin and looked in 0_debtor_trans, and I am seeing type = 13</p><p>It appears that the sql is looking for type = 12 which does not exist, my transaction shows type 13 and not 12</p><p>I am stumped - could anyone please let me know what to do and why the type shows 13 and not 12</p><p>Thanks / Frank</p>]]></description>
			<author><![CDATA[null@example.com (aquarius)]]></author>
			<pubDate>Tue, 15 Oct 2013 11:51:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18124#p18124</guid>
		</item>
	</channel>
</rss>
