<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Fixed Asset Category cannot be added]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9082&amp;type=atom" />
	<updated>2020-11-24T10:14:36Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9082</id>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset Category cannot be added]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38640#p38640" />
			<content type="html"><![CDATA[<p>Which sql Chart of Accounts did you take?<br />Refer line 1325 in https://github.com/FrontAccountingERP/FA/blob/master/sql/en_US-new.sql :<br /></p><div class="codebox"><pre><code> `category_id` int(11) NOT NULL AUTO_INCREMENT,</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2020-11-24T10:14:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38640#p38640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset Category cannot be added]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38634#p38634" />
			<content type="html"><![CDATA[<p>@kvvaradha millions thanks. </p><p>When I checked my database even though I didn&#039;t make any changes to the database I downloaded from the Official Repo,<br />In the table stock_category , category_id was not set to auto-increment.<br />I have just amended that, now I can create fixed asset category.</p>]]></content>
			<author>
				<name><![CDATA[cedricktshiyoyo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45118</uri>
			</author>
			<updated>2020-11-23T08:48:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38634#p38634</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed Asset Category cannot be added]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38633#p38633" />
			<content type="html"><![CDATA[<p>The category_id is a primary key and auto increment. Guess it&#039;s does not in ur server. Just try to make to it. It will work.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2020-11-23T05:35:08Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38633#p38633</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Fixed Asset Category cannot be added]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=38631#p38631" />
			<content type="html"><![CDATA[<p>DATABASE ERROR : an item category could not be added<br />error code : 1364<br />error message : Field &#039;category_id&#039; doesn&#039;t have a default value<br />sql that failed was : INSERT INTO stock_category (description, dflt_tax_type, dflt_units, dflt_mb_flag, dflt_sales_act, dflt_cogs_act, dflt_inventory_act, dflt_adjustment_act, dflt_wip_act, dflt_dim1, dflt_dim2, dflt_no_sale, dflt_no_purchase) VALUES (&#039;ii&#039;,&#039;1&#039;,&#039;each&#039;,&#039;F&#039;,&#039;4010&#039;,&#039;5010&#039;,&#039;1510&#039;,&#039;5040&#039;,&#039;1530&#039;,&#039;0&#039;,&#039;0&#039;,&#039;0&#039;,&#039;0&#039;)</p>]]></content>
			<author>
				<name><![CDATA[cedricktshiyoyo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=45118</uri>
			</author>
			<updated>2020-11-22T10:57:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=38631#p38631</id>
		</entry>
</feed>
