<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Purchases - Database Error]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3196&amp;type=atom" />
	<updated>2012-07-16T21:35:47Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3196</id>
		<entry>
			<title type="html"><![CDATA[Re: Purchases - Database Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12916#p12916" />
			<content type="html"><![CDATA[<p>This has now been fixed in repository. Will be included in next minor release.</p><p>In the mean time you can change line 458 in /purchasing/po_entry_lines.php to:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $inv-&gt;ov_amount = $inv-&gt;ov_gst = $inv-&gt;ov_discount = 0;</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-07-16T21:35:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12916#p12916</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Purchases - Database Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12909#p12909" />
			<content type="html"><![CDATA[<p>Yes, this should be fixed in sources. For now you can adjust your mysql configuration in my.ini/my.sfg file, removing STRICT_ALL_TABLES/STRICT_TRANS_TABLES from sql_mode setting.</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2012-07-15T16:15:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12909#p12909</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Purchases - Database Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12890#p12890" />
			<content type="html"><![CDATA[<p>It seems to be a bug. I am out of office until Tuesday. I will have a look at it then.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-07-12T20:10:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12890#p12890</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Purchases - Database Error]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=12887#p12887" />
			<content type="html"><![CDATA[<p>I am currently utilising version 2.3.11</p><p>When creating a direct invoice under purchases, I get the following error message if the supplier has the same currency as my company.&nbsp; Each set up with ZAR as currency</p><br /><p>DATABASE ERROR : Cannot insert a supplier transaction record<br />error code : 1265<br />error message : Data truncated for column &#039;ov_discount&#039; at row 1<br />sql that failed was : INSERT INTO 0_supp_trans (trans_no, type, supplier_id, tran_date, due_date, reference, supp_reference, ov_amount, ov_gst, rate, ov_discount, tax_included) VALUES (&#039;9&#039;, &#039;20&#039;, &#039;4&#039;, &#039;2011-12-31&#039;, &#039;2011-12-31&#039;, &#039;3&#039;, &#039;3&#039;, &#039;25&#039;, &#039;1.25&#039;, &#039;1&#039;, &#039;&#039;, &#039;0&#039;)</p><p>Set-up error or bug?</p>]]></content>
			<author>
				<name><![CDATA[JenniK]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14611</uri>
			</author>
			<updated>2012-07-12T14:01:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=12887#p12887</id>
		</entry>
</feed>
