<?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 on Client Payment]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9188</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9188&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error on Client Payment.]]></description>
		<lastBuildDate>Wed, 10 Feb 2021 11:55:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error on Client Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39118#p39118</link>
			<description><![CDATA[<p>I see it was solve in the forum &quot;Bug in Customer Payments Recording&quot; where it is described this solution:</p><p>I found the solution to this is to add 3rd argument in function call get_customer_trans() in /includes/ui/allocation_cart.inc as below on Line#399</p><p>$trans = get_customer_trans($_SESSION[&#039;alloc&#039;]-&gt;allocs[$counter]-&gt;type_no, $_SESSION[&#039;alloc&#039;]-&gt;allocs[$counter]-&gt;type, $_SESSION[&#039;alloc&#039;]-&gt;person_id);</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Wed, 10 Feb 2021 11:55:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39118#p39118</guid>
		</item>
		<item>
			<title><![CDATA[Error on Client Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39117#p39117</link>
			<description><![CDATA[<p>Hello everyone, I installed 2.4.9 this month and now I am having problems on Clients Payment. It seems the new check that From Accounting have in this version detect duplicated record. How can I solve this problem.</p><p>This is what the system report:</p><p>/var/www/numerillos.com.ar/sales/includes/db/cust_trans_db.inc:213:&nbsp; &nbsp; display_backtrace()<br />/var/www/numerillos.com.ar/includes/ui/allocation_cart.inc:399:&nbsp; &nbsp; get_customer_trans(&#039;762&#039;,&#039;0&#039;)<br />/var/www/numerillos.com.ar/sales/customer_payments.php:222:&nbsp; &nbsp; check_allocations()<br />/var/www/numerillos.com.ar/sales/customer_payments.php:236:&nbsp; &nbsp; can_process()<br />ERROR DE BASE DE DATOS : duplicate debtor transactions 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, trans.prep_amount&gt;0 as prepaid,com.memo_, branch.* 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_cust_branch branch WHERE trans.trans_no=&#039;762&#039; AND trans.type=&#039;0&#039; AND trans.debtor_no=cust.debtor_no AND branch.branch_code = trans.branch_code</p>]]></description>
			<author><![CDATA[null@example.com (lugezz)]]></author>
			<pubDate>Wed, 10 Feb 2021 01:12:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39117#p39117</guid>
		</item>
	</channel>
</rss>
