Step 5: Import ECCN codes, tax groups, and tax types
Learn how to import ECCN codes, tax groups, and tax types.
Last updated
Learn how to import ECCN codes, tax groups, and tax types.
Last updated
You need to upload the ECCN codes, tax groups, and tax types and assign them to product families in Salesforce before you update 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.
Download the Approved-ECCN-Codes.csv and TaxGroup_TaxTypes.csv and save them to your computer.
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.
Download the following ZIP files, extract the UploadECCN_Script and UploadTaxGroup_Script files, and save them to your computer.
To import the ECCN codes:
Click Data Import Wizard.
Click the Custom objects tab.
Scroll down and click Digital River ECCN Lookups.
Scroll up and click Add new records.
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 OK. When the import completes, you will receive an email.
To import tax groups and tax types:
Click Data Import Wizard.
Click the Custom objects tab.
Scroll down and click Digital River Tax code Lookups.
Scroll up and click Add new records.
Click Map associated with the TAXTYPE, select DR TAXTYPE, and then click Map.
Click Map associated with the SABRIXCODE, select DR SABRIXCODE, and then click Map.
Click Map associated with the UNSPSC, select DR UNSPSC, and then click Map.
Click OK. When the import completes, you will receive an email.
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.
You need the UploadECCN_Script and UploadTaxGroup_Script files for this task.
To import the ECCN and Tax group scripts:
Locate and open the UploadECCN_Script.
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.
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.
Type CC Products
in the Search apps and items field.
Click CC Products.
Click Edit.
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.
Click Setup and select Setup from the dropdown list.
Type data import wizard
in the Quick Find field and press Enter.
Scroll down and click Launch Wizard! The Launch Wizard appears.
Locate the Approved-ECCN-Codes.csv
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 Next.
Review your import information and click Start Import. The import should start successfully.
Click Launch Wizard! The Launch Wizard appears.
Locate the TaxGroup_TaxTypes.csv 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 TAXGROUP, select DR TAXGROUP, and then click Map.
Click Next.
Review your import information and click Start Import. The import should start successfully.
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.
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.
Click App Launcher .
Under the Product Name column, click the link for the product you want to update or click New to create a new product.
Scroll down to DR ECCN and provide a valid ECCN value in the DR ECCN field.