Cloud Workflow
Raise an IssueJoin Community
  • Getting Started
    • Introduction
    • Integration Basics
    • Sign Up and Get a License
    • Features and Benefits
  • DBSync Platform
    • Core Components
    • System Requirements
    • AppCenter
      • Company and User Management
    • Development Studio
    • Security Features
  • iPaaS
    • Home
    • Apps
    • Extend
      • Functions
    • Administration
      • User & Role Management
    • Logs
    • Remote Agent
    • Published Templates
  • Create your Workflow
    • Project
    • Task
    • Flow Builder
      • Standard Functions
    • Actions
      • Flow
      • Variable
      • Transform and Write
      • SQL
      • Restructure
      • Query
      • Debug
      • ReST
      • Conditions
        • If (Condition)
        • For (Loop)
      • Storage
        • Dropbox
        • File
        • CSV
        • Google Drive
        • FTP
        • S3
      • Flow Management
        • Flow
        • Logs
        • Notification
        • Schedule
        • API
        • Webhook
        • Forms
    • Configuring DBSync Environment
  • Connectors
    • Amazon S3
    • Authorize.NET
    • ChannelAdvisor
    • Database
    • Dropbox
    • FTP
    • Google Drive
    • Google Sheets
    • HubSpot
    • JIRA Cloud
    • JIRA Service Management
    • Linnworks
      • Creating the DBsync Application on Linnworks Developer Instance
    • Mailchimp
    • Microsoft Dynamics 365 Business Central
    • Microsoft Dynamics 365 Finance and Operations (D365 F&O)
    • Microsoft Dynamics CRM Online
    • Microsoft Dynamics GP
    • Microsoft Dynamics NAV
    • monday.com
    • Narvar
    • NetSuite
      • NetSuite Connector Settings
    • OpenAPI
    • PointClickCare
    • QuickBooks Desktop
    • QuickBooks Online
    • Sage Intacct
    • Salesforce
    • ShipStation
    • Shopify
    • SkuVault
    • WooCommerce
  • Template Library
    • Salesforce to QuickBooks Online Order to Cash
    • Salesforce to QuickBooks Desktop Order to Cash
    • Salesforce to FTP Integration
    • QuickBooks Online to Salesforce Accounts Receivable
    • QuickBooks Desktop to Salesforce Accounts Receivable
    • QuickBooks Online to Business Central Integration
    • QuickBooks Online to ShipStation Orders
    • QuickBooks Desktop to Shipstation Orders
    • QuickBooks Desktop to monday.com Integration
    • QuickBooks Online to monday.com Integration
    • Shopify to QuickBooks Online
    • Shopify to QuickBooks Desktop
    • Linnworks Orders to QuickBooks Online
    • Linnworks Orders to QuickBooks Desktop
    • Linnworks to Salesforce Integration
    • Salesforce Litify and QuickBooks Online
    • Salesforce Litify and QuickBooks Desktop
    • HubSpot to QuickBooks Online Order to Cash
    • HubSpot to QuickBooks Desktop Order to Cash
    • SkuVault Orders to QuickBooks Desktop
    • SkuVault Orders to QuickBooks Online
    • SkuVault and Salesforce
    • ChannelAdvisor Orders and Salesforce
    • ChannelAdvisor and QuickBooks Online
    • ChannelAdvisor and QuickBooks Desktop
    • Shopify Orders to Dynamics365 CRM
    • Shopify Orders to Salesforce
    • ShipStation to Dynamics 365 CRM
    • ShipStation Orders to Salesforce
    • ShipStation to QuickBooks Online Orders
    • ShipStation to QuickBooks Desktop
    • Target Recruit to QuickBooks Online
    • Target Recruit to QuickBooks Desktop
    • QuickBooks Online to Database
    • QuickBooks Desktop to Database
  • Troubleshooting
    • Common Errors & Fixes
    • Adding Trusted IP Address in Salesforce
    • Installing QuickBooks Web Connector
    • QuickBooks to Salesforce Data Migration
    • Setting Password in QuickBooks Web Connector
    • Starting QuickBooks Web Connector
    • Update Salesforce Password & Security Token in DBSync
  • Additional Resources
    • Billing Information - Auto Renewal
  • Tutorials
    • Salesforce and QuickBooks
      • Account Hierarchy in Salesforce and QuickBooks
      • Account Owner Mapping
      • Resolving Email Fields Sync Issues in QuickBooks Online
      • Mulitple Price Levels in Salesforce QuickBooks Integration
      • Multicurrency in QuickBooks to Salesforce Integration
      • Multicurrency in Salesforce - QuickBooks Desktop Integration
      • Multicurrency in Salesforce QuickBooks Online Integration
      • Product Hierarchy in QuickBooks and Salesforce
      • QuickBooks Data Extraction Queries
      • QuickBooks File Backup and Recovery Process
      • QuickBoooks Reports to Salesforce Integration
      • Recurring Transactions to Accounting System
      • Retrieve Value from custom Field of QuickBooks Online
      • Salesforce Opportunity to QuickBooks - Disabling Jobs
      • Salesforce QuickBooks Custom Mappings
        • Use Case
      • Salesforce QuickBooks Integration with Multiple QuickBooks
      • Syncing Standard Group Line Items in QuickBooks Desktop
    • Using Date Function in DBSync Integration
    • Salesforce and Database
      • Database to Salesforce Integration
    • Database to Database
      • Database to Database Integration
Powered by GitBook
On this page
  1. Tutorials
  2. Salesforce and QuickBooks

Salesforce QuickBooks Integration with Multiple QuickBooks

To integrate multiple QuickBooks with Salesforce using DBSync, we need to create multiple Projects in DBSync. And, define the identifier field in each Salesforce Object that is part of the integration.

In this section, we discuss how different Salesforce Accounts are integrating with different QuickBooks Instances. Similarly, the integration discussed will also demonstrate each new Account created using QuickBooks Customer. Furthermore, it will be marked for specific QuickBooks Instances. So the integration flow will be Bi-Directional between Accounts and Customer.

Two Projects need to be created in DBSync, namely,

  • SalesforceQuickBooks1

  • SalesforceQuickBooks2

Part 1

  1. In Salesforce, click on and Setup > Customize > Account > Fields. Then, click on New in Account Custom Field and Relationships.

  2. Select the Picklist Option button and click Next.

  3. Enter the field label and list of values for picklist - in this demo, I am using 2 values - "QuickBooks1" and "QuickBooks2". Select all the checkboxes and click Next.

  4. In the Next Screen, select the Profiles and fields that you want to make visible. Then, click Next.

  5. On Add to Page Layout, select the Page Layout you want to add the fields too. Then, click Save to save and create the custom fields.

  6. The Field is created and can be viewed in the Accounts Custom Fields and Relationships section of Account Fields.

  7. Go to Account in your Salesforce. Then, open an account. In this tutorial, I am opening Delphi Chemicals.

  8. Select QuickBooks1 from the QuickBooks picklist and click on Save.

  9. Similarly, open one more Account in your Salesforce and select QuickBooks2 from the QuickBooks field. In this tutorial, I will mark Abbott Insurance as the second Account.

  10. Select QuickBooks2 from the QuickBooks Field and click Save.

  11. Log in to your DBSync account.

  12. Click on Project SalesforceQuickBooks1.

  13. On the left panel of Project console, click on Connectors. You will see Salesforce and QuickBooks Connectors. Make sure that both the Connectors are validated.

  14. Go to the Project SalesforceQuickBooks1 and make sure that the flow AccountToCustomer is active - i.e., its status should be Enabled.

  15. Open flow AccountToCustomer. In the Advanced Query Builder, you see a query. Edit the query - as shown below - and click Save Workflow.

select {!.} from Account where AVSFQB__QuickBooks_Id__c=' ' and QuickBooks__c='QuickBooks1' 
  1. Make sure the flow CustomerToAccount is active.

Part 2

  1. Open flow CustomerToAccount. Here, you will see a list of available Rules at the bottom.

  2. Open "Sequence No 1" and click the map. You will see mapping

    1. AVSFQB_QuickBooks_id__c = VALUE("ListID") and edit this mapping as follows

    2. AVSFQB_QuickBooks_id__c = "QuickBooks1"+VALUE("ListID")

  3. The next mapping is Id = TLOOKUP(*). Edit this mapping as shown below and click Save and Close.

Id=select id, name from account where AVSFQB_QuickBooks_id__c='QuickBooks1'

  1. Go to rule "Sequence No 2" of CustomerToAccount Workflow.

  2. Click on Map, and you will see mapping AVSFQB_QuickBooks_id__c = VALUE("ListID").

  3. Edit this mapping as shown below:

AVSFQB_QuickBooks_id__c = "QuickBooks1"+(VALUE("ListID"),"-").

  1. Add a mapping in this window as QuickBooks__c = Value("QuickBooks1").

  2. Now go to "Sequence No 3" of QuickBooksToSalesforce Workflow.

  3. Click on Map and you will see the mapping AVSFQB_QuickBooks_id__c = VALUE("ListID") and edit this mapping as follows AVSFQB_QuickBooks_id__c = "QuickBooks1"+VALUE("ListID")

  4. Edit the following mapping as below and click on the Save & Close button.

AVSFQB_QuickBooks_id__c = "QuickBooks1"+(VALUE("ListID"),"-").

  1. Go to "Sequence No 4" of workflow CustomerToAccount and click on Map.

  2. You will see mapping AVSFQB_QuickBooks_id__c = (VALUE("ListID")).

  3. Edit this mapping as below and click on the Save & Close button.

AVSFQB_QuickBooks_id__c = "QuickBooks1"+(VALUE("ListID"),"-").

  1. Go to Project SalesforceQuickBooks2 and open it for editing.

  2. On the left panel of Project console, click on Connectors. Here, you will see Salesforce and QuickBooks Connectors. Make sure that both the Connectors are validated.

  3. Go to the Task SalesforceQuickBooks2 and make sure that the workflow AccountToCustomer is active - i.e., its status should be Enabled.

  4. Open flow AccountToCustomer. In the Advanced Query Builder, you see a query. Edit the query as shown below and click Save Workflow.

select {!.} from Account where AVSFQB__QuickBooks_Id__c=' ' and QuickBooks__c='QuickBooks2'

Part 3

  1. Make sure the flow CustomerToAccount is active by keeping the status Enabled.

  2. Open the flow CustomerToAccount.

  3. Open the rule "Sequence No 1" and click map. Here, you will see mapping AVSFQB_QuickBooks_idc = VALUE("ListID") and edit this mapping as follows AVSFQB_QuickBooks_id__c ="QuickBooks2"+(VALUE("ListID"),"-").

  4. The next mapping is Id = TLOOKUP(*). Edit this mapping as below and click on Save and Close.

Id=select id, name from account where QuickBooks__c='QuickBooks2'

  1. Go to rule "Sequence No 2" of CustomerToAccount Workflow.

  2. Click on Map. Here, you will see mapping AVSFQB_QuickBooks_id__c = (VALUE("ListID")).

  3. Edit this mapping as below:

AVSFQB_QuickBooks_id__c = "QuickBooks2"+(VALUE("ListID"),"-").

  1. Add a mapping in this window as QuickBooks__c = Value("QuickBooks2").

  2. Go to "Sequence No 3" of QuickBooksToSalesforce Workflow.

  3. Click on Map here and you will see the mapping AVSFQB_QuickBooks_id__c "QuickBooks1"+VALUE("ListID")

  4. Edit the following mapping, as shown below, and click Save & Close.

AVSFQB_QuickBooks_id__c = "QuickBooks2"+(VALUE("ListID"),"-").

  1. Go to "Sequence No 4" of workflow CustomerToAccount and click on Map.

  2. You will see mapping AVSFQB_QuickBooks_id__c = (VALUE("ListID")).

  3. Edit this mapping as shown below, and click Save & Close.

AVSFQB_QuickBooks_id__c = "QuickBooks2"+(VALUE("ListID"),"-").

  1. Close the mapping window. Go to QuickBooks Web Connector. Enter your DBSync password for both the profiles. Select the profiles and click on Update Selected to start the sync.

The Sync will start, and it will update Salesforce Accounts as Customers in QuickBooks. Similarly, all the Customers of QuickBooks that don't exist in Salesforce will be created in Salesforce with an identity field marked for specific QuickBooks File.

That's how DBSync handles Multiple QuickBooks files or instances. One thing to keep in mind before following the aforementioned steps is that you need DBSync platform Licenses if you are using more than one QuickBooks file. You can also configure each Profile in separate QuickBooks Web Connector instances if you are running QuickBooks on more than one machine.

PreviousUse CaseNextSyncing Standard Group Line Items in QuickBooks Desktop

Last updated 1 month ago