Hi guys,<br><br>I need a little help, I posted on the forum a question but didn&#39;t get any answer yet (<a href="http://forums.vtiger.com/viewtopic.php?p=64151">http://forums.vtiger.com/viewtopic.php?p=64151</a>)<br>I am trying to display a custom field in a list view, for exemple the sale order list in a specific account should display my custom field cf_354.<br>
In 4.2.3 I made it work but cannot get it working with the same method in 5.0.4:<br><br>In salesorder.php I add my custom field in <br><br>&nbsp;&nbsp;&nbsp; var $list_fields = Array(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Order No&#39;=&gt;Array(&#39;crmentity&#39;=&gt;&#39;crmid&#39;),<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Subject&#39;=&gt;Array(&#39;salesorder&#39;=&gt;&#39;subject&#39;),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Account Name&#39;=&gt;Array(&#39;account&#39;=&gt;&#39;accountid&#39;), <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Quote Name&#39;=&gt;Array(&#39;quotes&#39;=&gt;&#39;quoteid&#39;), <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<b> &#39;My Custom field&#39;=&gt;Array(&#39;salesordercf&#39;=&gt;&#39;cf_354&#39;),</b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Total&#39;=&gt;Array(&#39;salesorder&#39;=&gt;&#39;total&#39;),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Assigned To&#39;=&gt;Array(&#39;crmentity&#39;=&gt;&#39;smownerid&#39;)<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; );<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; var $list_fields_name = Array(<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Order No&#39;=&gt;&#39;&#39;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Subject&#39;=&gt;&#39;subject&#39;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Account Name&#39;=&gt;&#39;account_id&#39;,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Quote Name&#39;=&gt;&#39;quote_id&#39;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<b> &#39;My Custom field&#39;=&gt;&#39;cf_354&#39;,</b><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &#39;Total&#39;=&gt;&#39;hdnGrandTfdotal&#39;,<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;Assigned To&#39;=&gt;&#39;assigned_user_id&#39;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; );<br><br>I also had a look for an error in the log, but none is logged..<br>If somebody get it working with the exact same method as in 4.2.3, I would be glad to know(It would mean that I made a mistake) else if somebody get it to work on 5.0.4, I would be very thankful for an hint.<br>
<br>Bye guys,<br>Clem<br>