<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error on edit of a customer payment]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3934&amp;type=atom" />
	<updated>2013-03-11T14:11:27Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3934</id>
		<entry>
			<title type="html"><![CDATA[Re: Error on edit of a customer payment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15990#p15990" />
			<content type="html"><![CDATA[<p>Thanks for finding this.</p><p>HG Repository updated.</p><p>For those interested it can be downloaded here and replaced on server.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-03-11T14:11:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15990#p15990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error on edit of a customer payment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15989#p15989" />
			<content type="html"><![CDATA[<p>Hi Joe</p><p>Yep. That fixed the bug.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[dvarsani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16332</uri>
			</author>
			<updated>2013-03-11T11:52:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15989#p15989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error on edit of a customer payment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15988#p15988" />
			<content type="html"><![CDATA[<p>Hello dvarsane,</p><p>Will you do me a favor and change line 107 in file /sales/includes/db/cust_trans_db.inc from<br /></p><div class="codebox"><pre><code>        payment_terms=&quot;.db_escape($payment_terms).&quot;

to

        payment_terms=&quot;.db_escape($payment_terms, true).&quot;</code></pre></div><p>and see if it helps.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-03-11T11:44:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15988#p15988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error on edit of a customer payment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15986#p15986" />
			<content type="html"><![CDATA[<p>Hi</p><p>I am getting this error when I am editing customer payment.</p><p>DATABASE ERROR : The debtor transaction record could not be inserted<br />error code : 1366<br />error message : Incorrect integer value: &#039;&#039; for column &#039;payment_terms&#039; at row 1<br />sql that failed was : UPDATE 0_debtor_trans SET debtor_no=&#039;7&#039; , branch_code=&#039;7&#039;, tran_date=&#039;2013-02-12&#039;, due_date=&#039;0000-00-00&#039;, reference=&#039;CPT000375&#039;, tpe=&#039;0&#039;, order_=&#039;0&#039;, ov_amount=182, ov_discount=&#039;0&#039;, ov_gst=0, ov_freight=&#039;0&#039;, ov_freight_tax=0, rate=1, ship_via=&#039;0&#039;, alloc=0, dimension_id=&#039;0&#039;, dimension2_id=&#039;0&#039;, payment_terms=&#039;&#039; WHERE trans_no=&#039;416&#039; AND type=&#039;12&#039;</p>]]></content>
			<author>
				<name><![CDATA[dvarsani]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16332</uri>
			</author>
			<updated>2013-03-11T10:46:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15986#p15986</id>
		</entry>
</feed>
