<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — CustName being posted in ref field in crm_persons table]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5229</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5229&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in CustName being posted in ref field in crm_persons table.]]></description>
		<lastBuildDate>Mon, 06 Oct 2014 22:00:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[CustName being posted in ref field in crm_persons table]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21077#p21077</link>
			<description><![CDATA[<p>To match the order of Nickname (ref), First Name (name), Last Name (name2) in the function that inserts and updates these fields in the crm_persons table, we need it to match the arguments order being passed on during it&#039;s invocations.</p><p>The <strong>function add_crm_persons()</strong> is defined in <strong>includes/db/crm_contacts_db.inc</strong>:<br /></p><div class="codebox"><pre><code>function add_crm_person($ref, $name, $name2,.....</code></pre></div><p>but invoked in line 120 of <strong>sales/manage/customers.php</strong> by:<br /></p><div class="codebox"><pre><code>add_crm_person($_POST[&#039;CustName&#039;], $_POST[&#039;cust_ref&#039;], &#039;&#039;, ......</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 06 Oct 2014 22:00:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21077#p21077</guid>
		</item>
	</channel>
</rss>
