Step 6: Import ECCN codes, tax groups, and tax types
Learn how to import ECCN codes, tax groups, and tax types.
You must upload the ECCN codes, tax groups, and tax types and assign them to CC Products in Salesforce before you do the Product Sync.
Note that the ECCN codes, tax groups, and tax types provided in these files do not represent a complete list. However, it's enough to get you started.
The UploadECCN_Script and UploadTaxGroup_Script contain dummy values. You can use the test values or populate them with real values for testing purposes. These files are not used in production. You can use these scripts to test a specific scenario where you need to figure out the tax group, tax type, and ECCN code for a specific product.
These scripts auto-populate the ECCN and tax group for your products. This can be helpful for testing purposes rather than having to manually populate them. Be aware that the auto-population may assign tax codes that are not appropriate to a specific product (for example, a digital tax code for a physical product). Do not run in production.
Step 6a: Import ECCN codes
To import the ECCN codes:
Click Setup
and select Setup from the dropdown list.
Type
data import wizard
in the Quick Find field and press Enter.​
Click Data Import Wizard.
Scroll down and click Launch Wizard! The Launch Wizard appears.
Click the Custom objects tab.
Scroll down and click Digital River ECCN Lookups.
Scroll up and click Add new records.
Locate the
Approved-ECCN-Codes.csv
file and drag it to Drag CSV file here to upload and drop it.Click Next. The file has been auto-mapped to existing Salesforce fields.
Click Map associated with the "Classification Code", select DR Classification Code, and then click Map.
Click Map associated with the Description, select DR Description, and then click Map.
Click Map associated with the Notes, select DR Notes, and then click Map.
Click Next.
Review your import information and click Start Import. The import should start successfully.
Click OK. When the import completes, you will receive an email.
Step 6b: Import tax groups and tax types
To import tax groups and tax types:
Click Data Import Wizard.
Click Launch Wizard! The Launch Wizard appears.
Click the Custom objects tab.
Scroll down and click Digital River Tax code Lookups.
Scroll up and click Add new records.
Locate the TaxGroup_TaxTypes.csv file and drag it to Drag CSV file here to upload and drop it.
Click Next. The file has been auto-mapped to existing Salesforce fields.
Click the Map associated with the TAXGROUP, select DR TAXGROUP, and then click Map.
Click the Map associated with the TAXTYPE, select DR TAXTYPE, and then click Map.
Click the Map associated with the SABRIXCODE, select DR SABRIXCODE, and then click Map.
Click the Map associated with the UNSPSC, select DR UNSPSC, and then click Map.
Click Next.
Review your import information and click Start Import. The import should start successfully.
Click OK. When the import completes, you will receive an email.
Step 6c: Import the ECCN and tax group scripts
This step is only required for development purposes. The UploadECCN_Script and UploadTaxGroup_Script contain dummy values. You can use the test values or populate them with real values.
To import the ECCN and tax group scripts:
From Salesforce B2B, click Setup
and select Developer Console. The Developer Console opens.
Click Debug and select Open Execute Anonymous Window. The Enter Apex Code dialog appears.
Locate and open the UploadECCN_Script.
Copy the contents of the UploadECCN_Script, paste it in the Enter Apex Code dialog, and click Execute. You should see a Success status in the Logs tab.
Locate and open the UploadTaxGroup_Script.
Copy the contents of the UploadTaxGroup_Script, paste it in the Enter Apex Code dialog, and click Execute. You should see a Success status in the Logs tab.

Step 6d: Assign tax and ECCNs to products
Assign the tax group, tax type, and ECCNs to products in Salesforce B2B.
Complete this task before you update the product sync settings with Digital River.
Click App Launcher
.
Type
CC Products
in the Search apps and items field.Click CC Products.
Under the Product Name column, click the link for the product you want to update or click New to create a new product.
Click Edit.
Scroll down to DR ECCN and provide a valid ECCN value in the DR ECCN field.
Note that the EECN Lookup component will appear at the bottom of the CC Product page:
Select the appropriate tax group from the DR TAXGROUP dropdown list.
Select the appropriate tax type from the DR TAXTYPE dropdown list.
Click Save.
Repeat steps 4 through 9 for each additional product.
Last updated