[Vtigercrm-developers] Pick list populated by table content

Alan Lord alanslists at gmail.com
Tue Jun 21 15:55:03 GMT 2016


It sounds like you have added 2 UIType 10 fields to your Installations 
module.

What you need to do is to create the related lists in Contacts and 
Organisations.

http://community.vtiger.com/help/vtigercrm/developers/vtlib/module-related-list.html

For this kind of 1:n relationship you should use the standard 
get_dependents_list callback function.

HTH

Al


On 21/06/16 16:04, Cardscale Ltd wrote:
> Hi,
>
> I am pretty new to Vtiger (6.4) and need assistance in resolving a
> problem I have.
> I may, because of my little knowledge of Vtiger be trying to do
> something that Vtiger cannot do and barking up the wrong tree but here goes.
>
> I am using the Organisation module and Contacts module to capture my
> customer information and I have created another field in the Contacts
> module called “Site”.
> I have built a new module called “Installations" and in this module I
> have included 2 field type relate lists for the user to select the
> organisation and contact, what I need as well is a relate list or pick
> list whichever can be used to list the sites related to the organisation
> the user has selected.
>
> Or if this is not possible a full list of all the sites ordered
> alphabetically so the user can select the site.
>
> Alternatively when the user selects the Contact from the related list it
> automatically populates a text field in the module (which I can create)
> with the site details from the contact record selected in the Contact list.
>
>
> I hope this is clear.
>
> Regards
>
> Alan Edwards
>
> 07770432656
>
>
> Cardscale_Logo.png
>
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>




More information about the vtigercrm-developers mailing list