Thanks for the response... could you give some insight into the database fields?<br><br>roleid picklistvalueid picklistid sortid<br><br>I think I understand everything except the picklistid field.&nbsp; Is there some documentation on that value?<br>
<br>-- Stephen Mack<br>Gerente de Ventas y Marketing<br>Escuela Fronteras<br><a href="http://www.eFronteras.com">www.eFronteras.com</a><br>skype: eFronteras.Stephen<br><br><br>On Mon, Feb 23, 2009 at 1:35 PM, Asha &lt;<a href="mailto:asha@vtiger.com">asha@vtiger.com</a>&gt; wrote:<br>
&gt;<br>&gt; Hi Stephen,<br>&gt;<br>&gt; Yes, it won&#39;t be shown in Picklist editor, because values in picklist editor are picked up based on the selected role. Since you do not have entries in vtiger_role2picklist, it may not be showing up in the Picklist editor.<br>
&gt;<br>&gt; On 2/23/09, Stephen Mack &lt;<a href="mailto:stephen@efronteras.com">stephen@efronteras.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; Thank you so much Asha,<br>&gt;&gt;<br>&gt;&gt; I&#39;m one step closer but I still am not all the why there.&nbsp; I think I need to add entries to &quot;vtiger_role2picklist&quot; and I would like some insight into the fields.<br>
&gt;&gt;<br>&gt;&gt; I did the following:<br>&gt;&gt; 1) I updated the value stored in vtiger_picklistvalues_seq<br>&gt;&gt; &nbsp;&nbsp;&nbsp; &quot;356&quot;<br>&gt;&gt; 2) I added the following record to vtiger_category<br>&gt;&gt; &nbsp;&nbsp;&nbsp; &quot;1&quot;;&quot;myvalue&quot;;&quot;1&quot;;&quot;356&quot;<br>
&gt;&gt; 3) I added the following record to vtiger_category_seq<br>&gt;&gt; &nbsp;&nbsp;&nbsp; &quot;1&quot;<br>&gt;&gt;<br>&gt;&gt; The field does not show up in the picklist editor yet.&nbsp; Is that related to the vtiger_role2picklist&quot; database?<br>
&gt;&gt;<br>&gt;&gt; -- Stephen Mack<br>&gt;&gt; Gerente de Ventas y Marketing<br>&gt;&gt; Escuela Fronteras<br>&gt;&gt; <a href="http://www.eFronteras.com">www.eFronteras.com</a><br>&gt;&gt; skype: eFronteras.Stephen<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Sat, Feb 21, 2009 at 2:50 AM, Asha &lt;<a href="mailto:asha@vtiger.com">asha@vtiger.com</a>&gt; wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hi Stephen,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; If I understood properly, you are trying to convert the picklist to a role based picklist.<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; If that is the case, you are missing one important part.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; You will have to add the entries for the values of the picklist for each role to vtiger_role2picklist which will make the value available for each of the existing roles.<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; Let me explain the schema of the table vtiger_category that you created:-<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; categoryid -&gt; unique id for each category value<br>&gt;&gt;&gt; category -&gt; The actual category value<br>
&gt;&gt;&gt; presence -&gt; whether the value is a editable or non-editable value (0 - non-editable, 1- editable)<br>&gt;&gt;&gt; picklist_valueid -&gt; It is the unique id for this picklist value across all the picklist values throughout all the existing picklist tables.<br>
&gt;&gt;&gt;<br>&gt;&gt;&gt; Feel free to get back to me for any further clarification.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; On 2/21/09, Stephen Mack &lt;<a href="mailto:stephen@efronteras.com">stephen@efronteras.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I&#39;m trying to convert field vtiger_vendor | category to a picklist field (uitype 15)<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Here is how far I got.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 1. I edited vtiger_fields changing the field from uitype 1 -&gt; uitype 15<br>
&gt;&gt;&gt;&gt; 2. I created the table vtiger_category using the following SQL<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; CREATE TABLE `vtiger_category` (<br>&gt;&gt;&gt;&gt; &nbsp; `categoryid` int(19) NOT NULL auto_increment,<br>
&gt;&gt;&gt;&gt; &nbsp; `category` varchar(200) collate latin1_german2_ci NOT NULL,<br>&gt;&gt;&gt;&gt; &nbsp; `presence` int(1) NOT NULL default &#39;1&#39;,<br>&gt;&gt;&gt;&gt; &nbsp; `picklist_valueid` int(19) NOT NULL default &#39;0&#39;,<br>
&gt;&gt;&gt;&gt; &nbsp; PRIMARY KEY&nbsp; (`categoryid`),<br>&gt;&gt;&gt;&gt; &nbsp; UNIQUE KEY `category_category_idx` (`category`)<br>&gt;&gt;&gt;&gt; ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci AUTO_INCREMENT=18 ;<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 3. I created the table vtiger_category_seq using the following SQL<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; CREATE TABLE `vtiger_category_seq` (<br>&gt;&gt;&gt;&gt; &nbsp; `id` int(11) NOT NULL<br>
&gt;&gt;&gt;&gt; ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_german2_ci;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; The changes seem to be working correctly except I can&#39;t use the picklist editor to add the entries and I&#39;m don&#39;t understand the schema fully to add them manually.&nbsp; What is the step I&#39;m missing to finish the conversion?<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Thanks in advance.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; -- Stephen Mack<br>&gt;&gt;&gt;&gt; Gerente de Ventas y Marketing<br>&gt;&gt;&gt;&gt; Escuela Fronteras<br>&gt;&gt;&gt;&gt; <a href="http://www.eFronteras.com">www.eFronteras.com</a><br>
&gt;&gt;&gt;&gt; skype: eFronteras.Stephen<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br>
&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; Regards,<br>&gt;&gt;&gt; Asha<br>&gt;&gt;&gt; vtiger Team<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br>&gt;<br>&gt;<br>&gt;<br>
&gt; --<br>&gt; Regards,<br>&gt; Asha<br>&gt; vtiger Team<br>&gt; _______________________________________________<br>&gt; Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br>
<br>