<div dir="ltr">So your telling that i need to create a field with uitype 10 and relate with project?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 March 2013 15:02, Joe Bordes <span dir="ltr">&lt;<a href="mailto:joe@tsolucio.com" target="_blank">joe@tsolucio.com</a>&gt;</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>That is not enough, you need the field
      on which to base the &quot;one&quot; relation<div><div class="h5"><br>
      <br>
      <br>
      On 05/03/13 10:21, salim wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div>Hi Joe,</div>
        <div>Thanks for reply.</div>
        <div>I ran this query to update name.</div>
        <font face="courier new, monospace">UPDATE `vtiger_relatedlists`
          SET `name`=&#39;get_dependents_list&#39; WHERE `relation_id`=&#39;153&#39;;</font><br>
        <div><font face="courier new, monospace"><br>
          </font></div>
        <div><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">&lt;<a href="mailto:joe@tsolucio.com" target="_blank">joe@tsolucio.com</a>&gt;</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><br>
                    <br>
                    <br>
                    On 05/03/13 09:27, salim wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div>
                    <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">&lt;?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(&#39;vtlib/Vtiger/Module.php&#39;);</span></font></div>
                        <div><font color="#000000" face="courier new,
                            monospace"><span style="font-size:12px">$srcModule
                              =
                              Vtiger_Module::getInstance(&#39;Potentials&#39;);</span></font></div>
                        <div><font color="#000000" face="courier new,
                            monospace"><span style="font-size:12px">$projectModule
                              = Vtiger_Module::getInstance(&#39;Project&#39;);</span></font></div>
                        <div><font color="#000000" face="courier new,
                            monospace"><span style="font-size:12px">$projectLabel
                              = &#39;Projects&#39;;</span></font></div>
                        <div><font color="#000000" face="courier new,
                            monospace"><span style="font-size:12px">$srcModule-&gt;setRelatedList(</span></font></div>
                        <div><font color="#000000" face="courier new,
                            monospace"><span style="font-size:12px">   
                                  $projectModule, $projectLabel,
                              Array(&#39;ADD&#39;, &#39;SELECT&#39;)</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">?&gt;</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 href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
                <span><font color="#888888"> </font></span></blockquote>
              <span><font color="#888888"> <br>
                  <br>
                  <pre cols="72">-- 
Un saludo
Joe
TSolucio</pre>
                </font></span></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>
        Muhammed Abdul Salim<br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Un saludo
Joe
TSolucio</pre>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>Muhammed Abdul Salim<br>
</div>