<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Error in Creating New Customer Account]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6701&amp;type=atom" />
	<updated>2017-02-22T02:31:44Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6701</id>
		<entry>
			<title type="html"><![CDATA[Re: Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27570#p27570" />
			<content type="html"><![CDATA[<p>Compare the schemas and see if there are any other changes.<br />Is there any upgrade sql in the &quot;sql&quot; folder that drops the auto_increment attribute?</p><p>The only PHP file that refers to the AUTO_INCREMENT attribute is <strong>admin/db/maintenance_db.inc</strong> in both versions.</p><p>Whilst &quot;inactive&#039; is not needed unless it&#039;s default / NULL property has changed, the primary key is needed if the AUTO_INCREMENT is absent.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-02-22T02:31:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27570#p27570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27569#p27569" />
			<content type="html"><![CDATA[<p>I found a backup last month that is working and compared the sqls. In crm_contacts, the&nbsp; auto_increment in ID disappeared which is causing the error. Trying to fix it right now.</p>]]></content>
			<author>
				<name><![CDATA[timelyfiasco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20223</uri>
			</author>
			<updated>2017-02-22T02:00:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27569#p27569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27568#p27568" />
			<content type="html"><![CDATA[<p>What says the debugger?</p>]]></content>
			<author>
				<name><![CDATA[stefan]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20008</uri>
			</author>
			<updated>2017-02-21T10:02:26Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27568#p27568</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27567#p27567" />
			<content type="html"><![CDATA[<p>Hi apmuthu, thanks for helping again. I dont think it&#039;s because of the browser cache or the sys_types. also, I can create a new supplier without any problem.</p><p> When I change the sql I am able to insert a new row. But the original FA file is like mine so this can&#039;t be the reason. Can it be because I used mysql workbench from Ubuntu 16 to overwrite my database in mysql 5.5 php 5.5.9 Ubuntu 14 server?</p><p> </p><div class="codebox"><pre><code>        
&quot;INSERT INTO &quot;.TB_PREF.&quot;debtors_master (name, debtor_ref, address, tax_id,
dimension_id, dimension2_id, curr_code, credit_status, payment_terms, discount, 
pymt_discount,credit_limit, sales_type, notes)</code></pre></div><div class="codebox"><pre><code>        
INSERT INTO 0_debtors_master (debtor_no, name, debtor_ref, address, tax_id, curr_code, sales_type, dimension_id, dimension2_id, credit_status, payment_terms, discount, pymt_discount, credit_limit, notes, inactive)</code></pre></div><p>I added debtor_no, inactive.</p>]]></content>
			<author>
				<name><![CDATA[timelyfiasco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20223</uri>
			</author>
			<updated>2017-02-21T03:10:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27567#p27567</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27565#p27565" />
			<content type="html"><![CDATA[<p>Logout, clear your browser cache, login again and then see if you get the same error. You may have used the browser&#039;s back button instead of the &quot;back&quot; link on the web page.</p><p>It is also possible that your <strong>sys_types</strong> table may be corrupted or inconsistent. The <strong>next_reference</strong> field is your target to investigate. This is generally used for transactions and may not apply to new customer creation.</p><p>The <strong>function add_customer()</strong> is defined in <strong>sales/includes/db/customers_db.inc</strong> - check out the sql in it and manually execute it in some mysql client and see what gives.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-02-20T18:28:38Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27565#p27565</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error in Creating New Customer Account]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27558#p27558" />
			<content type="html"><![CDATA[<p>&quot;The entered information is a duplicate. Please go back and enter different values.&quot;<br />I got this message when I tried to add a new customer. The names are unique. Does anyone know how to fix this?</p>]]></content>
			<author>
				<name><![CDATA[timelyfiasco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20223</uri>
			</author>
			<updated>2017-02-20T11:38:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27558#p27558</id>
		</entry>
</feed>
