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
  • Multi-select UOM configuration
  • Unit of Measure Set, Base Unit, Related Unit
  • Field Mappings for Invoice Item Line with UOM
  • Field Mappings for Invoice Integration with Sales Tax
  1. Tutorials
  2. Salesforce and QuickBooks

Syncing Standard Group Line Items in QuickBooks Desktop

PreviousSalesforce QuickBooks Integration with Multiple QuickBooksNextUsing Date Function in DBSync Integration

Last updated 1 month ago

Multi-select UOM configuration

This section illustrates a typical QuickBooks Unit Of Measurement configuration for all the Item List. And it shows how the same can be replicated in Salesforce under Products, which is an equivalent of QuickBooks Items List. The following section illustrates the Unit Of Measure, Base Unit, and Related Unit

Unit of Measure Set, Base Unit, Related Unit

Base Unit

The first unit defined in a unit of measure set is usually the smallest unit of measure. It is used for an item when purchasing it, tracking it in inventory, and selling it. In QuickBooks, the base units of items are used to count inventory, generate most inventory reports, and perform quantity-related calculations. Important: When you create an inventory item, the cost, sales price, and on-hand quantity you enter are all for the base unit.

Related Unit

A unit is defined by the number of base units it contains. For example, if the base unit is a foot, a related unit might be a yard, which is defined as containing three feet. Related units make it possible to show quantities of the same item in different measurements in different places in QuickBooks. For example, you might purchase an item called Cable in spools. You may count that item in inventory by the foot and then sell it by the yard. By creating a unit of measure set with a base unit of foot and related units of spool (containing 500 feet) and yard, you can enter a quantity of spools on a purchase order, show the item in feet on inventory reports, and enter a quantity of yards on an invoice.

Unit of Measure Set

Consists of a base unit and any number of related units. When you create a unit of measure set, you can also specify which unit of measure should appear by default when adding an item to a purchase form, a sales form, and a shipping pick list. You also give the set a name, such as "Length by the foot." Once you've created a unit of measure set and assigned it to an item, you can easily convert to other units of measure within the set when you add the item to a transaction. Continuing with the previous example, if you add the Cable item to an invoice with a quantity of 10 yards, you could then convert that quantity to 30 feet or 0.06 spools. Note: Unit of measure sets are available only when is selected as the unit of measure mode.

Set Up – Multiple Units of Measure Per Item The QuickBooks company file has a multi-select UOM option per ITEM. A single item can have multiple UOM selected. And one of the UOM values has to be assigned as default. However, while generating a transaction, you can use different sets based on the requirement or conversion required for a given transaction. In the example shown below - for the Item z0b1-739 - the default UOM set lb739 has the base unit as POUND (lb) but has several related units Square Feet, Linear Feet, and sheet with default values as shown. The above can be read as: 1 pound = 1.03 Sq Feet 1 pound = 3.3818 Linear Feet 1 pound = 33.8183 sheets The same ITEM, when selected within a transaction in QuickBooks, can use the following conversions based on the quantity and UOM set used:

Field Mappings for Invoice Item Line with UOM

Below is a table that lists mappings/data required from Salesforce for the successful integration of a QuickBooksInvoice transaction with a Unit of Measure.

Salesforce

R

QuickBooks

R

Comments

Rate

Y

Rate

Y

The rate has to be calculated precisely based on the quantity and based on the conversion for a particular UOM.

Quantity

Y

Quantity

Y

Quantity should be calculated from Salesforce based on the Unit and Conversion used for a particular Product.

UOM

N

UnitOfMeasure

N

The correct UOM should be referred with the names matching the U/M list in QuickBooks.

Rate

The rate or amount of the LineItem should be precise based on the UNIT used and the quantity used. The calculation of this needs to happen on the Salesforce side at the Opportunity Line Item level. It will be based on the PRODUCT selected and the UNIT used before. DBSync can parse/push this data into QuickBooks without the transaction erring out.

Quantity

Quantity values should change either as 1 Ft, 1 sheet, etc., as shown above, based on the UNIT selected for a given PRODUCT on the OpportunityLineItem. Care should be taken to make sure we are always sending in the correct Quantity along with the right UNIT.

UnitOfMeasure

MaxLength - 31 This is the QuickBooks XML name for selecting a UOM for a given transaction line item. For a given UNIT, there are several RELATED UNITS based on the Quantity and Rate changes. For a given ITEM LINE, if the right BASE UNIT name, corresponding QUANTITY, and RATE should be provided at all times for successful integration of an Invoice transaction. A corresponding field on the OpportunityProducts object can either be a Picklist or Text field. Finally, the data needs to be populated at all times.

Field Mappings for Invoice Integration with Sales Tax

This section illustrates the field mappings required for QuickBooksInvoice integration based on the SalesTaxCode configuration in QuickBooks. In order to ensure seamless integration of a transaction with SalesTaxCode, DBSync will require the following information from Salesforce to integrate the same into QuickBooks:

Salesforce

R

QuickBooks

R

Comments

ItemTaxCode

Y

ItemSalesTaxRef

Y

This field should be on the Opportunity object and the NAME should match with the QuickBooksSalesTaxCode list at all times.

Customer Tax Code

N

CustomerSalesTaxCodeRef

N

This field should be on the Opportunity object and the NAME should match with the QuickBooksCustomerTaxCode list at all times.

SalesTaxCode

Y

SalesTaxCodeRef

Y

This field should be on the Opportunity Products object and should match with QuickBooks available list.

TaxAmount

N

TaxAmount

N

Should be on the Opportunity Products Object.

CheckBox

N

IsTaxable

N

Should be on the LineItem level.

ItemSalesTaxRef:MaxLength = 31

The ItemSalesTaxRef field is the one that calculates the tax based on whether a LineItem is taxable or not. The ItemSalesTax is set up on each Item in QuickBooks at the time of configuration. A corresponding field in Salesforce should always be on the Opportunity object as it is on the Invoice header on QuickBooks. Secondly, the SFDC field name should always match with the ItemSalesTax code list available in QuickBooks, and the preferable data-type in Salesforce is Text Field or Picklist.

CustomerSalesTaxCodeRef:MaxLength = 3

The customer Tax Code in QuickBooks holds the values Taxable Sales &Non-Taxable Sales. It could also hold custom values based on how QuickBooksCustomerTaxCode is configured. The corresponding field in SFDC needs to be at the Opportunity level and preferably has to be a Text field with the data values matching with the QuickBooksCustomerSalesTaxCodeRef list.

SalesTaxCodeRef: MaxLength = 3

inSalesTaxCode, by default, have Tax and Non as default values, which translate into Taxable &Non Taxables in QuickBooks. QuickBooks can also hold custom values, but they can be only 3 characters in length. The corresponding SFDC field preferably needs to be a Text field and hold the same values as that of the QuickBooks "SalesTaxCodeRef" list.

Multiple U/M Per Item