<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3968&amp;type=atom" />
	<updated>2013-03-24T10:43:14Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3968</id>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16149#p16149" />
			<content type="html"><![CDATA[<p>Ok, then it would be good to reproduce the conditions leading to this problem. This would help find the bug.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-03-24T10:43:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16149#p16149</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16148#p16148" />
			<content type="html"><![CDATA[<p>All this happened without touching the DB.</p><p>I went into the DB afterwards, just to delete the inconsistencies that had been left over and that were causing this error... It must be a bug or in any case misuse of the tool, but it shouldn&#039;t leave inconsistencies like it did...</p>]]></content>
			<author>
				<name><![CDATA[msmith]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14938</uri>
			</author>
			<updated>2013-03-24T10:35:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16148#p16148</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16146#p16146" />
			<content type="html"><![CDATA[<p>Yes, sure. To avoid database inconsistency, transactions should be voided in FA. Direct intervention in db shoul;d be considered last resort, when your&nbsp; database is inconsistent due to some real bug in FA.</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-03-24T10:29:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16146#p16146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16123#p16123" />
			<content type="html"><![CDATA[<p>Did you delete the purchase order through SQL? I think that voiding the transaction would likely be a better move than trying to delete the purchase order through PHPMyAdmin or something similar.</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2013-03-21T15:24:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16123#p16123</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16121#p16121" />
			<content type="html"><![CDATA[<p>I think I have fixed the problem. Somehow although the order had been deleted there were still remnants of it in the grn_batch, grn_data &amp; purch_data tables which I deleted. This has seemed to do the trick.</p>]]></content>
			<author>
				<name><![CDATA[msmith]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14938</uri>
			</author>
			<updated>2013-03-21T12:45:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16121#p16121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[DATABASE ERROR : FATAL : duplicate purchase order found]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=16120#p16120" />
			<content type="html"><![CDATA[<p>Hi, today I deleted an incorrect Purchase order that had been incorrectly made in the past. This PO was making an inventory item have a quantity of 1 in the &quot;on order&quot; column which was incorrect.</p><p>When I deleted it I got a blank page with a duplicate sql error on it.</p><p>When checking other purchase orders something strange has happened because now I get a red FA warning indicating:</p><p>&lt;&lt; DATABASE ERROR : FATAL : duplicate purchase order found<br />sql that failed was : &gt;&gt; (There is no indication to where the error is)</p><p>I&#039;ve looked at the Database, but doesn&#039;t seem to be anything strange (duplicates or same codede PO&#039;s) in the purch_orders table....</p><p>Please any help will be appreciated !!</p>]]></content>
			<author>
				<name><![CDATA[msmith]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=14938</uri>
			</author>
			<updated>2013-03-21T11:26:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=16120#p16120</id>
		</entry>
</feed>
