# Use Case

The process of customizing DBSync Mapping is explained with the example in this section. Three custom fields are created in the Salesforce Product Object & QuickBooks Item. The steps shown below explain the DBSync customization process to integrate these custom fields of Salesforce and QuickBooks.

1. Create custom fields in the Product Object of Salesforce named as
   1. Item Type Text
   2. Reorder QuantityNumber
   3. Weight Text
2. Create the same fields in Item of QuickBooks.
3. Log in to your DBSync account.
4. Click the relevant project and navigate to the flow page.
5. Navigate to the apps page and ensure that Salesforce and QuickBooks Connectors are validated.
6. If you are syncing **Salesforce and QuickBooks BiDirectional**, go to the flow for  **Product To Inventory** sync.
7. You will see the list of available fields in Salesforce in the main section of the mapping screen. On the right section of the mapping screen, you see the schema. The schema will have a list of QuickBooks fields. You can add a new mapping by entering VALUE("ColumnApiName") in the field next to the required Target field, i.e., the QuickBooks field. You can just drag & drop the required field from Schema into the target field.
8. Add the mappings as shown below
   1. **ItemInventoryAddRq/ItemInventoryAdd/ItemType** **=VALUE("Item\_Name\_\_c")**
   2. **ItemInventoryAddRq/ItemInventoryAdd/ReorderQuantity** **=VALUE("Reorder\_Quantity\_\_c")**
   3. **ItemInventoryAddRq/ItemInventoryAdd/Weight** **=** **VALUE("Weight\_\_c")**
9. Once done, click the **Save & Close** button on the top right to close.
10. Navigate to Windows **Start >** **Programs** **>** **QuickBooks** **>** **Web Connector**.
11. The web connector is launched with the selected integration profile. Select the integration profile/profile Name, and enter DBSync password. Finally, click **Update Selected** to perform the sync. The custom fields in QuickBooks will be populated with data in Salesforce.
12. Check your Salesforce and QuickBooks Instance for updated data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-workflow/tutorials/salesforce-and-quickbooks/salesforce-quickbooks-custom-mappings/use-case.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
