2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Multiple Price Levels of QuickBooks can be integrated with the respective Salesforce Price Books using DBSync. This section explains the steps involved in DBSync customization for multiple Price Level Integration.

Customization Steps:

  • Lets Let's take an example of integrating two QuickBooks Price Levels PriceLevel1 & PriceLevel2 with Salesforce Price Books. To start, two Salesforce Price Books PriceBook1 & PriceBook2 should be created. The below process will sync the items of QuickBooks PriceLevel1 & PriceLevel2 with Salesforce Price Books PriceBook1 & PriceBook2 respectively.
  • Login to DBSync account using your credentials. Click on Launch to open the DBSync profiles Project page in the next tab of browser. Go to DBSync Profile Salesforce QuickBooks Bidirectional, click on manage and then edit.

...

  • Adapter list will be displayed. Ensure that Salesforce Adapter Project SalesforceQuickBooksBidirectional.
  • Click on Connectors and ensure that Salesforce Connector is validated and QuickBooks webconnector is configured.
  • Double click on Bidirectional Sync to open all the available states of DBSync Standard Integration for Salesforce and QuickBooks.

...

  • Create a new state PriceLevelToProduct2 between the states ItemSalesTax2Product and InvoiceToOpportunity and connect the states as shown below and Save.

...

  • Open dataflow of PriceLevelToProduct2, create Reader, Map and Writer and connect them as shown below.

...

  • Open Reader Properties and enter the details as shown below and Save.

...

  • Open Writer Properties and enter the details as shown below and Save.

...

  • Open Map Properties, enter the sequence number and the description as required and Save.

...

  • Open Map Properties, click on edit to map the fields in the next tab of browser.

...

  • Go to Process SalesforceQuickBooksBidirectional, you will see list of workflows.
  • Create a new workflow PriceLevelToProduct2 and move this between ItemSalesTax2Product and InvoiceToOpportunity.
  • In this new workflow, add the below query using Advanced Query Builder. Datasource should be QuickBooks. Batch size in properties will remain as 100 (default value)
Code Block

 select * from PriceLevel where Pricelevel.Maxreturned=100
  • In Rules section, click on Add New Rule, select Target as Salesforce, Operation as Update, Target Object as Product2 and click on Map.
  • Map the fields as shown below and Save. PriceBook1 is the name Salesforce PriceBook and PriceLevel1 is the name of the QuickBooks Price Level.

Covered so far



  • Create another Map and Writer to sync QuickBooks PriceLevel2 with Salesforce PriceBook2 and connect them as shown below.

...