[Vtigercrm-developers] [vtigercrm-developers] Adding custom second account field to invoice, sales order, quote

Asha asha at vtiger.com
Fri Jul 10 11:36:25 PDT 2009


Hi Stefan,

You can get an instance of any of the existing modules and add field for it.
The field uitype that I  would suggest you is 10.

On 7/10/09, Lorenz Stefan <Stefan.Lorenz at burdadirect.de> wrote:
>
>  Thanks for your reply. I had a quick look at the documentation of vtlib
> but it remains rather unclear to me how to use it with already existing
> modules such as quotes etc. Would you give some hints, please ?
> Reagrds
> Stefan
>
>  ------------------------------
> *Von:* vtigercrm-developers-bounces at lists.vtigercrm.com [mailto:
> vtigercrm-developers-bounces at lists.vtigercrm.com] *Im Auftrag von *Asha
> *Gesendet:* Freitag, 10. Juli 2009 13:22
> *An:* vtigercrm-developers at lists.vtigercrm.com
> *Betreff:* Re: [Vtigercrm-developers] [vtigercrm-developers] Adding custom
> second account field to invoice, sales order, quote
>
> Hi Stefan,
>
> I suggest you to try out vtlib. Use uitype 10 of vtlib to create such
> custom fields. Hope that meets your requirement which will not clash with
> the existing referencing field.
>
> On 7/10/09, DJLorry <stefan.lorenz at burdadirect.de> wrote:
>>
>>
>> Hello,
>> how can I add a second account or person field in these modules ?
>> The problem can't be solved by just adding a custom field and changing the
>> uitype. (Which works when no account field already exits, though)
>> The uitype 50 changes the custom field to contain the button for the
>> popup-window for account-selection.
>> The problem is that a thereby selected account is stored in the modul's
>> default account field whereas the custom field stays blank. I have added a
>> query to show the account if I put an accountid in the customfield's table
>> in mysql. So the remainig problem is how to get vtiger to store the
>> selected
>> account's Id in the custom field and not in the account_id field. Where is
>> the connection between popup window,save button and the insertion into the
>> database ? How can I get vtiger not to treat both the custom and the
>> already
>> existing field as the same when storing the account-id ? The same problem
>> occurs with a custom person field if one is already part of a module by
>> default.
>>
>> I hope someone is able to help.
>>
>> Regards
>> Stefan
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Adding-custom-second-account-field-to-invoice%2C-sales-order%2C-quote-tp24408556p24408556.html
>> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>
>
>
>
> --
> Regards,
> Asha
> vtiger Team
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
>



-- 
Regards,
Asha
vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20090711/8169f0ef/attachment-0003.html 


More information about the vtigercrm-developers mailing list