<div dir="ltr">Sorry! Migration will not cause any affect on this.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 4, 2015 at 12:36 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure, I am just concerned as this showed after migration from 6.1 to 6.2<div><br></div><div>Regards</div><div>Stacey</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 4, 2015 at 12:36 AM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>Yes, query clearly says from which we need to retrieve the records is not mentioned soon after FROM it says limit which is wrong, even join on tables vtiger_salesorder and <span style="font-size:13px">vtiger_salesordercf is missed.</span></div><div><span style="font-size:13px"><br></span></div><div><span style="font-size:13px">Control flow of the code need to be debugged to resolve this issue.</span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 9:13 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Uma, see below... Is it something easy to recognize? <div><br></div><div>Tue Feb  3 22:28:29 2015,637 [6184] INFO VT - PearDatabase ->ADODB error  Query Failed: SELECT DISTINCT vtiger_crmentity.crmid,vtiger_salesorder.subject, vtiger_salesorder.salesorder_no, vtiger_salesorder.quoteid, vtiger_salesorder.contactid, vtiger_crmentity.smownerid, vtiger_salesorder.total, vtiger_salesorder.accountid, vtiger_salesordercf.cf_759 FROM  LIMIT 100 , 1::->[1064]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 100 , 1' at line 1<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Feb 3, 2015 at 3:38 PM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>That's good, Can you please print the query and check in sales-order related-list of projects module to see how it's trying to access sales-order data from projects module, so that will throw some clue to solve this.</div><div><br></div><div><br></div><div>Regards</div><span><font color="#888888"><div>Uma S</div><div>Vtiger Team</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 1:41 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I used this script: <div><br></div><div><br></div><div><div><?php </div><div>// Turn on debugging level </div><div>$Vtiger_Utils_Log = true; </div><div><br></div><div>include_once('vtlib/Vtiger/Module.php'); </div><div>$moduleInstance = Vtiger_Module::getInstance('Project'); </div><div>$applicationsModule = Vtiger_Module::getInstance('SalesOrder'); </div><div>$relationLabel = 'Sales orders'; </div><div>$moduleInstance->setRelatedList( </div><div>$applicationsModule, $relationLabel, NULL, get_dependents_list </div><div>); </div><div><br></div><div>?></div></div><div><br></div><div>Same as other modules where all working well... </div><div><br></div><div>Stacey</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Feb 3, 2015 at 1:55 PM, Uma S <span dir="ltr"><<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I hope you have created custom relation-ship between sales-order to projects module, In this we need to check with api() generating related-list, what is the query that's been getting executed?</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Feb 2, 2015 at 9:38 PM, Stacey Johnson <span dir="ltr"><<a href="mailto:stacey.johnson110@gmail.com" target="_blank">stacey.johnson110@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Related SO to Projects but it not showing in Projects related list.<div>Relation set correctly so the reason sits somewhere else.</div><div>Any idea pls?</div><span><font color="#888888"><div><br></div><div>Stacey</div></font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>
</div></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>
</div></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
</div>