ERROR: "Your quote currency must be the same as your opportunity currency. We updated your quote currency to match.: Currency ISO Code, fields [CurrencyIsoCode]"
If your organization uses Multi Currency mode, during the process of converting a quote to order you may change order currency, and as a result, in the process of synchronization you can get the next error: “Your quote currency must be the same as your opportunity currency. We updated your quote currency to match.: Currency ISO Code, fields [CurrencyIsoCode]“.
This error happens because the quote opportunity has already synced with Salesforce and has a different currency from what you selected during the process of creation of the order from this quote.
Error example:
Preconditions:
We have Multi Currency organization. In our case, we have USD and EUR.
Actions:
Login as company on storefront
Select EUR as current currency
Selected EUR currencyAdd product to cart and Request a Quote
Request a QuoteWait until the quote and quote opportunity will be synced with Salesforce
Open this quote page and click “Convert to Order“ button
During the process of creation of order, change the currency to USD and place order
Create order from quote with different currency
Result
As a result, we can get synchronization error:
Error described in the synchronization queue:
Resolution:
Go to this quote in Salesforce (you can click link in quotes grid)
Link to Salesforce quoteDelete this quote
Delete old quote created with currency that we need to change.Go to Salesforce opportunity (you can click link in quotes grid)
Link to Salesforce opportunityIf you have some opportunity products, you must delete them. For deleting a product, click on product link and click Delete on opportunity product page
Opportunity product which we need to delete.Link to opportunity product page.Delete opportunity product button.After deleting related to this opportunity quote and deleting all opportunity products, you can change opportunity currency. Click Edit button on opportunity page and select currency that you need(which is selected during process create order from this quote)
Change opportunity currency.Re-sync quote from Magento Quotes grid
Re-sync quote with Salesforce.Wait until synchronization will be finished
Salesforce source guide: https://help.salesforce.com/s/articleView?id=000334284&type=1