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

DJLorry stefan.lorenz at burdadirect.de
Fri Jul 10 03:56:48 PDT 2009


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.




More information about the vtigercrm-developers mailing list