<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">That is not enough, you need the field
on which to base the "one" relation<br>
<br>
<br>
On 05/03/13 10:21, salim wrote:<br>
</div>
<blockquote
cite="mid:CADQpn1aenVky-nGpOXa8pFLWX-HOO7Tc5YkjdXV2Er2fPKEAnQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="">Hi Joe,</div>
<div style="">Thanks for reply.</div>
<div style="">I ran this query to update name.</div>
<font face="courier new, monospace">UPDATE `vtiger_relatedlists`
SET `name`='get_dependents_list' WHERE `relation_id`='153';</font><br>
<div><font face="courier new, monospace"><br>
</font></div>
<div style=""><font face="arial, helvetica, sans-serif">Still no
changes. :(</font></div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 5 March 2013 14:14, Joe Bordes <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:joe@tsolucio.com" target="_blank">joe@tsolucio.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>You have created a many to many relation
(get_related_list), try with a one to many
(get_dependents_list) and let us know.<br>
<br>
Joe<br>
TSolucio
<div>
<div class="h5"><br>
<br>
<br>
On 05/03/13 09:27, salim wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hi All,
<div> I need to create a project <span>when a
Opportunity get closed as won. So to
accomplish this i am using workflow. But when
i select <b>Create Entity </b> from workflow
task, There is no Project module Listed in the
list, I can see only Comment Module. </span></div>
<div><font color="#000000" face="Lucida Grande,
Tahoma, sans-serif"><span
style="font-size:12px"> I think i did
read somewhere that only related module will
list in it. So i related Project module
with </span></font><span>Opportunity. Now i
can add and select projects in </span><span> to Opportunity,</span><span> But
Still i am not getting Project module in
workflow entity type list.</span></div>
<div><span><br>
</span></div>
<div><span>This was the code that i used to relate
project module:</span></div>
<div><span><br>
</span></div>
<div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px"><?php</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">$Vtiger_Utils_Log
= true;</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">include_once('vtlib/Vtiger/Module.php');</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">$srcModule
=
Vtiger_Module::getInstance('Potentials');</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">$projectModule
= Vtiger_Module::getInstance('Project');</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">$projectLabel
= 'Projects';</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">$srcModule->setRelatedList(</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">
$projectModule, $projectLabel,
Array('ADD', 'SELECT')</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">);</span></font></div>
<div><font color="#000000" face="courier new,
monospace"><span style="font-size:12px">?></span></font></div>
<div><span
style="font-size:12px;font-family:arial,helvetica,sans-serif"><br>
</span></div>
<div> <span
style="font-size:12px;font-family:arial,helvetica,sans-serif"> What
should i have to do to get this work?.</span><br>
</div>
<div><font color="#000000" face="arial,
helvetica, sans-serif"><span
style="font-size:12px"><br>
</span></font></div>
<div><font color="#000000" face="arial,
helvetica, sans-serif"><span
style="font-size:12px">Thanks</span></font><br>
</div>
<div><font color="#000000" face="arial,
helvetica, sans-serif"><span
style="font-size:12px">--</span></font></div>
<div><font color="#000000" face="arial,
helvetica, sans-serif"><span
style="font-size:12px">Salim</span></font></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
<a moz-do-not-send="true" href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<br>
<pre cols="72">--
Un saludo
Joe
TSolucio</pre>
</font></span></div>
<br>
_______________________________________________<br>
<a moz-do-not-send="true" href="http://www.vtiger.com/"
target="_blank">http://www.vtiger.com/</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Muhammed Abdul Salim<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Un saludo
Joe
TSolucio</pre>
</body>
</html>