<div dir="ltr">Alan,<div><br></div><div>Phone numbers are being captured in separate table to </div><div>speed up the lookup when a call comes in - the migration</div><div>is trying to populate the existing data using the same code.</div><div><br></div><div>fnumber and rnumber are being store to speed up DB look up</div><div>specifically when LIKE with % is used.</div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>
<br><div class="gmail_quote">On Sun, Sep 14, 2014 at 6:58 PM, Alan Lord (News) <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 12/09/14 07:43, Prasad wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
You can download the migration patch for validating from 600 to 610 here<br></span>
<<a href="https://www.dropbox.com/s/ai2riazvnvwi6nu/vtigercrm-600-610-betatesting-patch.zip?dl=1" target="_blank">https://www.dropbox.com/s/<u></u>ai2riazvnvwi6nu/vtigercrm-600-<u></u>610-betatesting-patch.zip?dl=1</a><u></u>>.<br>
</blockquote>
<br>
I've been running this on a 6.0.0 database that was upgraded from a 5.4.0 database with approximately 500,000 crmentity records.<br>
<br>
Considering this customer never used PBXManager and has no call records, the 600-610 update has spent the last couple of hours running queries like<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
INSERT INTO vtiger_pbxmanager_phonelookup(<u></u>crmid, setype, fnumber, rnumber, fieldname)<br>
                    VALUES('59901','Contacts','<u></u>Hernan','nanreH','firstname')<br>
                    ON DUPLICATE KEY<br>
                    UPDATE fnumber=VALUES(fnumber), rnumber=VALUES(rnumber);<br>
</blockquote>
<br>
2 questions:<br>
<br>
1. What are these records for?<br>
2. Why is it writing the first and lastnames into columns called fnumber and rnumber? Shouldn't these be phone numbers?<br>
<br>
Cheers<div><div><br>
<br>
Al<br>
<br>
<br>
-- <br>
Libertus Solutions<br>
<a href="http://www.libertus.co.uk" target="_blank">http://www.libertus.co.uk</a><br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</div></div></blockquote></div><br></div></div>