<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Import of customers and branches]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7572&amp;type=atom" />
	<updated>2018-06-21T20:14:48Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7572</id>
		<entry>
			<title type="html"><![CDATA[Re: Import of customers and branches]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31965#p31965" />
			<content type="html"><![CDATA[<p>OK - Solved!</p><p>Linking data was correct, but sales_account, etc were not present.</p><p>Working now.</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[neholtz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42211</uri>
			</author>
			<updated>2018-06-21T20:14:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31965#p31965</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import of customers and branches]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31958#p31958" />
			<content type="html"><![CDATA[<p>Read the other links please</p><p>Your finished tables need to relate to each other so they are the same relationship as the customers/suppliers in <strong>sql/en_US-demo.sql</strong></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-06-20T22:40:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31958#p31958</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import of customers and branches]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31957#p31957" />
			<content type="html"><![CDATA[<p>Hi poncho1234,</p><p>Thanks for the link, pretty much how I created debtors, branches and persons.<br />Not sure if empty contacts is preventing the Branch from showing up in FA.</p><p>Showing 3 rows of 291 successfully imported. (Partial rows shown):</p><p>0_debtors_master:<br />debtor_no&nbsp; &nbsp; name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; debtor_ref&nbsp; &nbsp; &nbsp; &nbsp; address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />1&nbsp; &nbsp; &nbsp; &nbsp; PETER MARK ACHAM@$&nbsp; &nbsp; ACH900&nbsp; &nbsp; &nbsp; &nbsp; SOUTHERN CARIBBEAN TRINIDAD LTD<br />2&nbsp; &nbsp; &nbsp; &nbsp; ADENA SPRINGS SOUTH&nbsp; &nbsp; ADE104&nbsp; &nbsp; &nbsp; &nbsp; 15045 NW 141ST COURT<br />3&nbsp; &nbsp; &nbsp; &nbsp; AG INTERNATIONAL&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AGI900&nbsp; &nbsp; &nbsp; &nbsp; 207 OLD JUPITER BEACH RD</p><p>0_cust_branch:<br />branch_code&nbsp; &nbsp; debtor_no&nbsp; &nbsp; br_name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; branch_ref&nbsp; &nbsp; br_address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; salesman&nbsp; &nbsp; default_location&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />1&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp; PETER MARK ACHAM@$&nbsp; &nbsp; ACH900&nbsp; &nbsp; &nbsp; &nbsp; SOUTHERN CARIBBEAN TRINIDAD LTD&nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; DEF<br />2&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2&nbsp; &nbsp; &nbsp; &nbsp; ADENA SPRINGS SOUTH&nbsp; &nbsp; ADE104&nbsp; &nbsp; &nbsp; &nbsp; 15045 NW 141ST COURT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; DEF<br />3&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3&nbsp; &nbsp; &nbsp; &nbsp; AG INTERNATIONAL&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AGI900&nbsp; &nbsp; &nbsp; &nbsp; 207 OLD JUPITER BEACH RD&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0&nbsp; &nbsp; &nbsp; &nbsp; DEF</p><p>0_crm_persons:<br />id&nbsp; &nbsp; ref&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;address&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inactive<br />1&nbsp; &nbsp; ACH900&nbsp; &nbsp; PETER MARK ACHAM@$&nbsp; &nbsp; SOUTHERN CARIBBEAN TRINIDAD LTD&nbsp; &nbsp; 0<br />2&nbsp; &nbsp; ADE104&nbsp; &nbsp; ADENA SPRINGS SOUTH&nbsp; &nbsp; 15045 NW 141ST COURT&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br />3&nbsp; &nbsp; AGI900&nbsp; &nbsp; AG INTERNATIONAL&nbsp; &nbsp; 207 OLD JUPITER BEACH RD&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; 0</p><p>I am working on a ER Diagram for 2.4.4 using the EER from MySQL Workbench and will share when completed.&nbsp; Not sure how to link a PDF of a partial to these replies.</p><p>Please check the above and let me know what is off.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[neholtz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42211</uri>
			</author>
			<updated>2018-06-20T22:22:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31957#p31957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Import of customers and branches]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31954#p31954" />
			<content type="html"><![CDATA[<p>Hi, <br />apmuthu wrote &#039;Anatomy of adding 1 customer&#039;, which you can find&nbsp; <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7406">here </a><br />You could also have a look at <strong>sql/en_US-demo.sql</strong> which I think has only 2 customers and 2 suppliers and look at the relationship between tables:-<br />debtors_master<br />cust_branch<br />crm_persons<br />crm_contacts</p><p>There is also an <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.ERDiagram23">ER diagram </a> its for V2.3, but 2.4 is very similar</p><p>And there is a full how-to <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.ManualImportOfCustomers">here.</a></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-06-20T20:06:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31954#p31954</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Import of customers and branches]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31953#p31953" />
			<content type="html"><![CDATA[<p>Good day:</p><p>Very nice project!&nbsp; Thank you.</p><p>Using MySQL Workbench, I have run SQL statements to INSERT INTO 0_debtors_master successfully from a&nbsp; csv file.&nbsp; All Customers show up fine in FA under Sales-&gt;Maintenance-&gt;Add and Manage Customers.</p><p>Then using MySQL Workbench, I ran the following SQL statements:</p><p>INSERT INTO 0_cust_branches (debtor_no, br_name, branch_ref, br_address, br_post_address, inactive)<br />SELECT debtor_no, name, debtor_ref, address, address, inactive<br />FROM 0_debtors_master;</p><p>This completed successfully and I can see all the added branches from within MySQL Workbench and phpMyAdmin. </p><p>When I select a Customer in FA and click on Add or Edit to see the Branch, it does not bring up the corresponding Branch, but an empty panel with &quot;Add New&quot; button at the bottom.&nbsp; &nbsp;The same occurs if I go directly to Customer Branches and select a Customer.</p><p>I looked into /sales/manage/customer_branches.php and customers.php to see if I could figure out if the problem was within those scripts, but not quite sure of parts of that code.&nbsp; The project I am working with will need for certain Customers to have Branches, so I would like to resolve this issue.</p><p>Any help would be greatly appreciated.</p><p>Butch</p>]]></content>
			<author>
				<name><![CDATA[neholtz]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42211</uri>
			</author>
			<updated>2018-06-20T19:21:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31953#p31953</id>
		</entry>
</feed>
