<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error during CSV Inventory Import]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=2270&amp;type=atom" />
	<updated>2011-09-01T18:03:40Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=2270</id>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=10148#p10148" />
			<content type="html"><![CDATA[<p>Thank you guys for the help.&nbsp; After getting the first import to work we are switching to using the BUY option to import for our next update.</p><p>I was wondering if it will read a Category column if I add one into it.</p>]]></content>
			<author>
				<name><![CDATA[briankeesbury]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5288</uri>
			</author>
			<updated>2011-09-01T18:03:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=10148#p10148</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9916#p9916" />
			<content type="html"><![CDATA[<p>No, see the readme.txt for BUY</p><p>tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2011-08-08T00:54:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9916#p9916</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9914#p9914" />
			<content type="html"><![CDATA[<p>Quick question on this though, is it possible to add my cost to the same csv to import that as well?</p>]]></content>
			<author>
				<name><![CDATA[briankeesbury]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5288</uri>
			</author>
			<updated>2011-08-07T23:41:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9914#p9914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9913#p9913" />
			<content type="html"><![CDATA[<p>Works like a charm now.&nbsp; Thank you guy very much.</p>]]></content>
			<author>
				<name><![CDATA[briankeesbury]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5288</uri>
			</author>
			<updated>2011-08-07T23:12:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9913#p9913</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9866#p9866" />
			<content type="html"><![CDATA[<p>It looks like you are missing a column:</p><p>ITEM;ITEM_CODE;STOCK_ID;Description;Category;units;dummy;MB_FLAG;Currency;Price;</p><p>Where Item_Code = STOCK_ID of the item.</p><br /><p>You have the STOCK_ID missing</p><p>I think for the most part ITEM_CODE == STOCK_ID, these are used in the &#039;item_codes&#039; table</p><p>Also line 52 of import_items.php has a problem it should be:</p><p>function get_dimension_by_name($name) {<br />&nbsp; &nbsp; if ($name == &#039;&#039;) return 0;</p><p>it was</p><p>&nbsp; &nbsp; if ($name = &#039;&#039;) return 0;</p><p>If you are using dimensions, it seems that the &#039;dummy&#039; field before MB_FLAG is where you can put a dimension</p><p>Let me know if this fixes you up</p><p>tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2011-08-02T11:45:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9866#p9866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9840#p9840" />
			<content type="html"><![CDATA[<p>Yes I will look at it</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2011-07-29T15:55:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9840#p9840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9837#p9837" />
			<content type="html"><![CDATA[<p>Hello Tom Moulton,</p><p>Will you have a look at this. I guess you wrote this module, right?</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2011-07-29T06:26:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9837#p9837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error during CSV Inventory Import]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=9834#p9834" />
			<content type="html"><![CDATA[<p>Description:<br />DATABASE ERROR : Could not find dimension<br />error code : 1064<br />error message : You have an error in your SQL syntax; check the manual that<br />corresponds to your MySQL server version for the right syntax to use near &#039;&#039; at<br />line 1<br />sql that failed was : SELECT * FROM 0_dimensions WHERE name=</p><p>FrontAccounting 2.3.5<br />Inventory Items CSV Import&nbsp; 2.3.0-1(Installed) 2.3.0-1(Available)<br />MySQL 5.1<br />Apache 2.2.XX (Latest Version)</p><p>Link to my CSV:<br />https://docs.google.com/leaf?id=0B5_5equsThdMYTQ2N2IyYTAtY2Y2ZC00NDQ0LThmZWItNGU0ZWZkZTAzZDc1&amp;sort=name&amp;layout=list&amp;num=50</p>]]></content>
			<author>
				<name><![CDATA[briankeesbury]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5288</uri>
			</author>
			<updated>2011-07-28T21:58:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=9834#p9834</id>
		</entry>
</feed>
