<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — New installation but i can't create new customers]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8848</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8848&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in New installation but i can't create new customers.]]></description>
		<lastBuildDate>Thu, 25 Jun 2020 22:46:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: New installation but i can't create new customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37704#p37704</link>
			<description><![CDATA[<p>Thank you @apmuthu<br />I resolved it by creating a sales person which i set as the default for the company. On creating new customer, its auto assigned the sales person thus resolving the NULL issue in the field in the table &quot;0_salesman&quot;</p>]]></description>
			<author><![CDATA[null@example.com (cssekyanzi)]]></author>
			<pubDate>Thu, 25 Jun 2020 22:46:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37704#p37704</guid>
		</item>
		<item>
			<title><![CDATA[Re: New installation but i can't create new customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37695#p37695</link>
			<description><![CDATA[<p>Which version of MySQL / PHP are you using? Later versions of MySQL may prevent blank value for salesman not to be taken as NULL and may wrongly insist in a NOT NULL field definition (with a default of 0) and strict mode enabled in the MySQL settings.&nbsp; See that there is atleast one entry in the &quot;0_salesman&quot; table and make sure that is chosen for the new company&#039;s default salesman.</p><div class="codebox"><pre><code>CREATE TABLE `0_cust_branch` (
...
...
`salesman` int(11) NOT NULL DEFAULT &#039;0&#039;,
...
...</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 25 Jun 2020 06:03:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37695#p37695</guid>
		</item>
		<item>
			<title><![CDATA[New installation but i can't create new customers]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=37689#p37689</link>
			<description><![CDATA[<p>It&#039;s a new installation with version 2.4.8 running on a web server.<br />I&#039;m able to create new suppliers just fine, ironically i can&#039;t&nbsp; create new customers. I have this setting under setup:<br /> Company Setup&gt;&gt;Search Customer List, and Search Supplier List both UNCHECKED.</p><p>for troubleshooting I turned on debugging in config.php ($go_debug =1;)<br />this is the error output when i attempt to create a new customer;</p><p>DATABASE ERROR : The branch record could not be added<br />error code : 1366<br />error message : Incorrect integer value: &#039;&#039; for column `delcom_fdb-31343xxxx`.`0_cust_branch`.`salesman` at row 1<br />sql that failed was : INSERT INTO 0_cust_branch (debtor_no, br_name, branch_ref, br_address, salesman, area, tax_group_id, sales_account, receivables_account, payment_discount_account, sales_discount_account, default_location, br_post_address, group_no, default_ship_via, notes, bank_account) VALUES (&#039;29&#039;,&#039;TEST customer&#039;, &#039;TS c&#039;, &#039;&#039;, &#039;&#039;, &#039;1&#039;,&#039;1&#039;, &#039;&#039;, &#039;1200&#039;, &#039;4500&#039;, &#039;4510&#039;, &#039;DEF&#039;, &#039;&#039;,&#039;0&#039;, &#039;1&#039;, &#039;&#039;, NULL)</p><p>I don&#039;t what i missed, would appreciate some fast help, thanks</p>]]></description>
			<author><![CDATA[null@example.com (cssekyanzi)]]></author>
			<pubDate>Wed, 24 Jun 2020 22:08:28 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=37689#p37689</guid>
		</item>
	</channel>
</rss>
