For Integration from SalesForce to QuickBooks

If Quickbooks has Customer hierarchy and Salesforce Account object has hierarchy enabled, then the following changes have to be implemented within your DBSync mappings / template to facilitate hierarchy mappings. A typical hierarchy structure in Salesforce Accounts and Quickbooks Customer entities is as shown below.






























Add the following code to the default mapping:
Find the Target field "CustomerAddRq/CustomerAdd/ParentRef/FullName" and source field as following "VALUE("Parent/Name")"











  1. Make change in Reader Query as shown below in the screen shot.









  1. Make Changes in Mapping State as shown in following screen shots.

Add the following code to the default mapping:
Find the Target field "CustomerAddRq/CustomerAdd/ParentRef/FullName" and source field as following "VALUE("Parent/Name")"


The Account Hierarchy Mapping is Done Successfully.