LogoLogo
Connectors
Salesforce B2B Commerce App 2.1.1
Salesforce B2B Commerce App 2.1.1
  • Salesforce B2B Commerce App 2.1.1
  • Introduction
    • How it works
    • What's new in version 2.1.1
    • Requirements
  • Integrating the Digital River Salesforce B2B Commerce App
    • Step 1: Install the Digital River App for Salesforce B2B
    • Step 2: Create page labels
    • Step 3: Configure the Salesforce B2B Commerce App
    • Step 4: Add custom Salesforce B2B Commerce App fields to page layouts
    • Step 5: Enable email deliverability
    • Step 6: Import ECCN codes, tax groups, and tax types
    • Step 7. Update the Product Sync settings
    • Step 8: Set up Digital River fulfillments
    • Step 9: Set up webhooks
    • Step 10: Configure CC Admin settings
    • Step 11: Configure landed cost
    • Step 12: Schedule backend jobs
    • Step 13: Manage permission sets
    • Step 14: Configure the Salesforce B2B Commerce app logs
    • Step 15: Test the Digital River Salesforce B2B Commerce app integration
  • Extending the Digital River Salesforce B2B Commerce App
    • Extend the Ship from address
    • Extend the App Webhook Framework
  • Support
  • Version number
  • Appendix
    • Fulfillment and cancellation flow
    • Issuing refunds
    • Managing regulatory fees
    • Managing subscriptions
    • Salesforce B2B Commerce App logs
    • Uploading tax certificates (US TEMS)
    • Global tax identifiers
    • VAT invoices
Powered by GitBook
On this page
  • Step 6a: Import ECCN codes
  • Step 6b: Import tax groups and tax types
  • Step 6c: Import the ECCN and tax group scripts
  • Step 6d: Assign tax and ECCNs to products
  1. Integrating the Digital River Salesforce B2B Commerce App

Step 6: Import ECCN codes, tax groups, and tax types

Learn how to import ECCN codes, tax groups, and tax types.

PreviousStep 5: Enable email deliverabilityNextStep 7. Update the Product Sync settings

Last updated 4 years ago

You must upload the ECCN codes, tax groups, and tax types and assign them to CC Products in Salesforce before you do the .

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 file and the TaxGroup_TaxTypes.csv file 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.

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:

  1. Click Data Import Wizard.

  2. Click the Custom objects tab.

  3. Scroll down and click Digital River ECCN Lookups.

  4. Scroll up and click Add new records.

  5. Click Map associated with the Description, select DR Description, and then click Map.

  6. Click Map associated with the Notes, select DR Notes, and then click Map.

  7. 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:

  1. Click Data Import Wizard.

  2. Click the Custom objects tab.

  3. Scroll down and click Digital River Tax code Lookups.

  4. Scroll up and click Add new records.

  5. Click the Map associated with the TAXTYPE, select DR TAXTYPE, and then click Map.

  6. Click the Map associated with the SABRIXCODE, select DR SABRIXCODE, and then click Map.

  7. Click the Map associated with the UNSPSC, select DR UNSPSC, and then click Map.

  8. 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.

You need the UploadECCN_Script and UploadTaxGroup_Script files for this task.

To import the ECCN and tax group scripts:

  1. Locate and open the UploadECCN_Script.

  2. Locate and open the UploadTaxGroup_Script.

  3. 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.

  1. Type CC Products in the Search apps and items field.

  2. Click CC Products.

  3. Click Edit.

  4. Select the appropriate tax group from the DR TAXGROUP dropdown list.

  5. Select the appropriate tax type from the DR TAXTYPE dropdown list.

  6. Click Save.

  7. 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 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 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 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 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.

Complete this task before you with Digital River.

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. Note that the EECN Lookup component will appear at the bottom of the CC Product page:

update the product sync settings
Product Sync
6KB
Approved-ECCN-Codes.csv
Approved-ECCN-Codes.csv
6KB
TaxGroup_TaxTypes.csv
TaxGroup_TaxTypes.csv
712B
UploadECCN_Script.zip
archive
UploadECCN_Script.zip
841B
UploadTaxgroup_Script.zip
archive
UploadTaxgroup_Script.zip