<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — DATABASE ERROR : could not retreive quick entries]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=889&amp;type=atom" />
	<updated>2009-10-21T17:59:29Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=889</id>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : could not retreive quick entries]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3707#p3707" />
			<content type="html"><![CDATA[<p>Thanks Joe </p><p>I took a look at the data base, and the table was empty? Got no idea how this could have happened, but with the three rows, or records added it works. </p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[alvin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=176</uri>
			</author>
			<updated>2009-10-21T17:59:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3707#p3707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: DATABASE ERROR : could not retreive quick entries]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3703#p3703" />
			<content type="html"><![CDATA[<p>This is a strange error. In FA 2.1.X the table for quick entries is:</p><div class="codebox"><pre><code>### Structure of table `0_quick_entries` ###

DROP TABLE IF EXISTS `0_quick_entries`;

CREATE TABLE `0_quick_entries` (
  `id` smallint(6) unsigned NOT NULL auto_increment,
  `type` tinyint(1) NOT NULL default &#039;0&#039;,
  `description` varchar(60) NOT NULL,
  `base_amount` double NOT NULL default &#039;0&#039;,
  `base_desc` varchar(60) default NULL,
  PRIMARY KEY  (`id`),
  KEY `description` (`description`)
) TYPE=MyISAM AUTO_INCREMENT=4 ;


### Data of table `0_quick_entries` ###

INSERT INTO `0_quick_entries` VALUES (&#039;1&#039;, &#039;1&#039;, &#039;Maintenance&#039;, &#039;0&#039;, &#039;Amount&#039;);
INSERT INTO `0_quick_entries` VALUES (&#039;2&#039;, &#039;4&#039;, &#039;Phone&#039;, &#039;0&#039;, &#039;Amount&#039;);
INSERT INTO `0_quick_entries` VALUES (&#039;3&#039;, &#039;2&#039;, &#039;Cash Sales&#039;, &#039;0&#039;, &#039;Amount&#039;);</code></pre></div><p>So the type should be there. Please check your db structure.<br />There should be no changes in 2.2 Beta for the quick entries (only a small change in quick entry lines regarding tax)</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-10-21T08:11:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3703#p3703</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[DATABASE ERROR : could not retreive quick entries]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3700#p3700" />
			<content type="html"><![CDATA[<p>Here is one I just got when I hit the Journal Entry in Banking and GL, I have not looked at the DB yet...</p><p>DATABASE ERROR : could not retreive quick entries<br />error code : 1054<br />error message : Unknown column &#039;type&#039; in &#039;where clause&#039;<br />sql that failed was : SELECT id FROM 0_quick_entries WHERE type=&#039;3&#039;</p><p>What do think?</p><p>AM</p>]]></content>
			<author>
				<name><![CDATA[alvin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=176</uri>
			</author>
			<updated>2009-10-20T19:12:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3700#p3700</id>
		</entry>
</feed>
