[Vtigercrm-developers] uitype 10 - value not displaying

Joffrey Pannequin joffrey.pannequin at gmail.com
Mon Feb 4 13:38:52 PST 2013


This could be linked to incorrect settings for entity identifier on module1.
Le 4 févr. 2013 21:53, "Richard Hills" <richard at tw.co.nz> a écrit :

>  Your integer change was an obvious one and I have now made this, have
> also tested with lowercase earlier (also with the change). Neither of these
> steps has made a difference.
>
> Thanks
>
> On 05/02/13 09:38, Adam Heinz wrote:
>
>  For uitype 10, I use:
>
>  $field->columntype = 'INTEGER'
> $field->typeofdata = 'I~O';
>
>  Is field name allowed to be mixed case?
>
>
>
> On Mon, Feb 4, 2013 at 3:32 PM, Richard Hills <richard at tw.co.nz> wrote:
>
>> Hi all.
>>
>> I am setting up a basic vtlib module which has a relation requirement
>> between an existing module.
>>
>> >         $field new Vtiger_Field();
>> >         $field->name = 'RelatedTo';
>> >         $field->label = 'Related To';
>> >         $field->table = 'vtiger_module2';
>> >         $field->column = 'relatedto';
>> >         $field->columntype = 'VARCHAR(255)';
>> >         $field->uitype = 10;
>> >         $field->typeofdata = 'V~O';
>> >         $field->helpinfo = 'Relate to an existing orchard';
>> >         $field->masseditable = 0;
>> >         $block->addField($field);
>> >         $field->setRelatedModules(Array('Module1'));
>>
>> This all works file and the values are saved correctly. However when in
>> edit, list and detail mode the value of "relatedto" is empty.
>>
>> I was wondering if anyone could point out what my problem is likely to be?
>>
>> Thanks
>>
>> --
>> 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/
>>
>
>
>
> _______________________________________________http://www.vtiger.com/
>
>
>
> --
> Richard Hills
> TechnologyWise Ltd, Tauranga, NZrichard at tw.co.nzwww.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/20130204/4d793f07/attachment.html 


More information about the vtigercrm-developers mailing list