[Vtigercrm-developers] Create entity task in Workflow

salim salimcmd at gmail.com
Tue Mar 5 01:38:52 PST 2013


Can you provide a simple example. please?


On 5 March 2013 15:05, salim <salimcmd at gmail.com> wrote:

> So your telling that i need to create a field with uitype 10 and relate
> with project?
>
>
> On 5 March 2013 15:02, Joe Bordes <joe at tsolucio.com> wrote:
>
>>  That is not enough, you need the field on which to base the "one"
>> relation
>>
>>
>>
>> On 05/03/13 10:21, salim wrote:
>>
>>  Hi Joe,
>> Thanks for reply.
>> I ran this query to update name.
>> UPDATE `vtiger_relatedlists` SET `name`='get_dependents_list' WHERE
>> `relation_id`='153';
>>
>>  Still no changes.  :(
>>
>>
>> On 5 March 2013 14:14, Joe Bordes <joe at tsolucio.com> wrote:
>>
>>>  You have created a many to many relation (get_related_list), try with
>>> a one to many (get_dependents_list) and let us know.
>>>
>>> Joe
>>> TSolucio
>>>
>>>
>>>
>>> On 05/03/13 09:27, salim wrote:
>>>
>>>  Hi All,
>>>     I need to create a project when a Opportunity get closed as won. So
>>> to accomplish this i am using workflow. But when i select *Create
>>> Entity * from workflow task, There is no Project module Listed in the
>>> list, I can see only Comment Module.
>>>    I think i did read somewhere that only related module will list in
>>> it. So i related Project module with Opportunity. Now i can add and
>>> select projects in  to Opportunity, But Still i am not getting Project
>>> module in workflow entity type list.
>>>
>>>  This was the code that i used to relate  project module:
>>>
>>>  <?php
>>> $Vtiger_Utils_Log = true;
>>> include_once('vtlib/Vtiger/Module.php');
>>> $srcModule = Vtiger_Module::getInstance('Potentials');
>>> $projectModule = Vtiger_Module::getInstance('Project');
>>> $projectLabel = 'Projects';
>>> $srcModule->setRelatedList(
>>>         $projectModule, $projectLabel, Array('ADD', 'SELECT')
>>> );
>>> ?>
>>>
>>>   What should i have to do to get this work?.
>>>
>>>  Thanks
>>>  --
>>> Salim
>>>
>>>
>>>  _______________________________________________http://www.vtiger.com/
>>>
>>>
>>>
>>> --
>>> Un saludo
>>> Joe
>>> TSolucio
>>>
>>>
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>>
>>  --
>> Muhammed Abdul Salim
>>
>>
>>
>> --
>> Un saludo
>> Joe
>> TSolucio
>>
>>
>
>
> --
> Muhammed Abdul Salim
>



-- 
Muhammed Abdul Salim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130305/e1f6a932/attachment-0001.html 


More information about the vtigercrm-developers mailing list