Multicurrency in Salesforce QuickBooks Online Integration
Integration from Salesforce to QuickBooks Online
If multicurrency is enabled in Salesforce and QuickBooks, then we need to make some changes in DBSync settings and mappings to achieve seamless integration with MultiCurrency.
Log in to your DBSync account.
Ensure that Salesforce and QuickBooks connectors are validated and that you have imported the Salesforce to QuickBooks Online Order to Cash Integration template.
Open the relevant project to view the available tasks. Select and open the relevant Task. You will see a list of available flows.
Click on configure for Salesforce to QuickBooks Online Transaction. Replace the reader query in the Advanced Query Builder with the following query and then click on the Save button.
Open the map of the First Transform & Write under Salesforce to QuickBooks Online Transaction flow.
Add the following mapping in the mapping window and click on the Save & Close button.
Notes
=
{
ADDXML("<CurrencyRef>"+IF(VALUE("CurrencyIsoCode").equals("CAD"),"CAD",
IF(VALUE("CurrencyIsoCode").equals("USD"),"USD",
IF(VALUE("CurrencyIsoCode").equals("AUD"),"AUD",
IF(VALUE("CurrencyIsoCode").equals("GBP"),"GBP","EUR"))))+"</CurrencyRef>");
return "";
}
Now, open the map of the sequence no.2 Rule.
Add the following mapping in the mapping window and click on the Save & Close button.
Notes
=
{
ADDXML("<CurrencyRef>"+IF(VALUE("CurrencyIsoCode").equals("CAD"),"CAD",
IF(VALUE("CurrencyIsoCode").equals("USD"),"USD",
IF(VALUE("CurrencyIsoCode").equals("AUD"),"AUD",
IF(VALUE("CurrencyIsoCode").equals("GBP"),"GBP","EUR"))))+"</CurrencyRef>");
return "";
}
Now, open the map of the sequence no. 4 Rule.
Add the following mapping in the mapping window and click on the Save & Close button.
Last updated