Groupe Sugar

Quotes - Address information mapping when linking a account

Discussion created by Groupe Sugar on Nov 25, 2016

Hello,

 

As you know, Sugar is automatically grabbing shipping and billing addresses when you link an account or a contact when you are creating a Quote.

 

I have the following issue :

 

I had to replace the billing_address_country field on accounts by a custom one (named cpa_country_list, dropdown).

 

Do you know where I can find the code that map the account billing country (to be changed by my custom field) to my quote billing country ?

 

I found the functionsetAddressFromBean() situated in modules\Quotes\QuotesApiHelper.php but my mapping isn't working.

 

Any Ideas ?
Best regards

Outcomes