[Vtigercrm-developers] Relate custom module to troubletickets

Nicolas Larcipretti niclarcipretti at gmail.com
Fri Sep 9 05:05:20 PDT 2011


Ok, now I got it. Go to the "vtiger_relatedlists" table, add a record there
like this:

*relation_id* =  the next number of the tables sequence (128 in my case)
*tabid* = 13 (that's the HelpDesk's tabid)
*related_tabid* = your_custom_module_tabid (in my case 46)
*name* = get_related_list (that will do the trick for you I guess, if not,
try to find another function that fits you best)
*sequence* = next_sequence_for_the_module (in my case 7)
*label* = your_custom_module_label
*presence* = 0
*actions* = null (that's what I've used, can be ADD and/or SELECT too)

Try this and tell me if that's what you were looking for.

Cheers

Nicolas



2011/9/8 Richard Hills - TechnologyWise <richard at tw.co.nz>

> When I enter a job ticket single view, I want a list of my own custom
> modules related information in its own small list under the main ticket
> information, by default there are already lists for "Activities",
> "Documents", "Ticket History", "Activity History", "Services and
> Projects" in this area.
>
> I have since been able to make a dirent sql entry and create this list,
> however I was hoping that this could be done via manifest.xml, I am also
> unsure how to force the relation on save, do I need to write a custom
> function in my modules Save.php which forces the relation?
>
> Thanks
>
> On 09/09/11 00:40, Nicolas Larcipretti wrote:
> > you give me more information on what you want to do? I think I can
> > help you with that but I couldn't understand where exactly do you want
> > your custom module information to show. If possible, send me a print
> > from the screen where the information should appear.
>
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZ
> richard at tw.co.nz
> www.technologywise.co.nz
> ph: +64 (0)7 571 1060
> fax: +64 (0)7 571 1061
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20110909/d707e17f/attachment-0002.html 


More information about the vtigercrm-developers mailing list