Overview:
Data Flow:
Process Map:
Pre-requisites for Integration:
DBSync package (QuickBooks Integration) Installation in Salesforce:
DBSync Profile Setup:
Running the Integration:

Overview:

DBSync for Salesforce & QuickBooks Online Integration is an easy to use application to integrate Salesforce Accounts / Contacts, Products, Opportunity with QuickBooks Online Customers, Items, Invoice, Sales Receipt & Credit Memo. This is also useful to migrate historical QuickBooks Online data into Salesforce or vice versa.
DBSync provides Bi-directional sync with pre-built field to field map along with flexibility for more complex and dynamic mapping capability. DBSync also has an automatic online update, enabling DBSync customers to enjoy all the product updates and features with every new release.

Data Flow:

Data flow of Bi-directional integration between Salesforce & QuickBooks Online is shown in the below table.

Process Map:

Process Map of Bi-directional integration between Salesforce & QuickBooks Online is shown in the below image.


Pre-requisites for Integration:

DBSync package (QuickBooks Integration) Installation in Salesforce:

https://login.salesforce.com/?startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t600000001gWU&crc=1.











Go to setup   Customize   Opportunity   'Buttons, Links and Actions'  New Button or Link.
Enter the below mentioned details and save to create two buttons.

Label: Update Opportunity To QBOE_New

Behavior: Execute JavaScript

Display Type: Detail Page Button

OnClick JavaScript:

var URL="{!$User.AVSFQB__QBOE_DBSync_Server__c}/qboe.m?sfUrl={!$Api.Partner_Server_URL_140}&
qboeCT={!$User.AVSFQB__QBOE_Connection_Ticket__c}&
pdl=processdefinition_SFQB_OpportunityTo{!Opportunity.AVSFQB__Generate_Object__c}.xml&
recordId={!Opportunity.Id}&dbsyncId={!$User.AVSFQB__DBSync_Id__c}&
profileName={!$User.AVSFQB__DBSync_Profile__c}&sessionId={!$Api.Session_ID}&
dbsyncPasswd={!$User.AVSFQB__DBSync_Passwd__c}";
window.open(URL,"DBSync","menubar=0,resizable=0,width=650,height=300");




Label: Update Invoice from QBOE_New

Behavior: Execute JavaScript

Display Type: Detail Page Button

OnClick JavaScript:

var URL="{!$User.AVSFQB__QBOE_DBSync_Server__c}/qboe.m?sfUrl={!$Api.Partner_Server_URL_140}&
qboeCT={!$User.AVSFQB__QBOE_Connection_Ticket__c}&
pdl=processdefinition_QBSF_InvoiceToInvoice.xml&
recordId={!Opportunity.Id}&dbsyncId={!$User.AVSFQB__DBSync_Id__c}&
profileName={!$User.AVSFQB__DBSync_Profile__c}&
sessionId={!$Api.Session_ID}&
dbsyncPasswd={!$User.AVSFQB__DBSync_Passwd__c}";window.open(URL,"DBSync","menubar=0,resizable=0,width=650,height=300");


Go to setup   Customize   Opportunity   'Page Layout'   Edit the Page Layout.





Label: Product To QBOE_New

Behavior: Execute JavaScript

Display Type: Detail Page Button

OnClick JavaScript: var URL ="{!$User.AVSFQB_QBOE_DBSync_Serverc}/qboe.m?sessionId={!$Api.Session_ID}&sfUrl={!$Api.Partner_Server_URL_140}&qboeCT={!$User.AVSFQBQBOE_Connection_Ticketc}&pdl=processdefinition_SFQB_Item.xml&recordId={!Product2.Id}&dbsyncId={!$User.AVSFQBDBSync_Idc}&profileName={!$User.AVSFQBDBSync_Profilec}&dbsyncPasswd={!$User.AVSFQBDBSync_Passwd_c}"; window.open(URL,"DBSync","menubar=0,resizable=0,width=650,height=300");



DBSync Profile Setup:





Configure Salesforce Adapter:



Configure QuickBooks Online Adapter:






Running the Integration:

DBSync Integration of Salesforce & QuickBooks Online can be initiated by the following three methods.

Using Salesforce custom buttons:





Using DBSync Scheduler: