Creating tax fulfillment assets

In order for your tax assets to work correctly in your store, you must associate the tax jurisdiction groups in your store to the fulfillment center used by your store, and then associate a calculation rule to both.

About this task

You must create your fulfillment assets before you can associate your tax assets to a fulfillment center. For more information about creating fulfillment assets, see Creating fulfillment assets.

After you have created the fulfillment assets, associate your tax assets to them, by adding information to the TAXJCRULE table.

Procedure

  1. Create an XML file that follows the wcs.dtd.
    • WC_installdir/xml/sar
    • WebSphere Commerce Developer workspace_dir/wc/xml/sar
  2. Using the following example as your guide, in your XML file add information for the TAXJCRULE table:
    
    <taxjcrule 
    taxjcrule_id="@taxjcrule_id_1"
    calrule_id="@calrule_id_10"
    ffmcenter_id="@ffmcenter_id_1"
    jurstgroup_id="@jurstgroup_id_2"
    precedence="0"/>
    
  3. Repeat step 2 for each jurisdiction group, fulfillment center and rule association in your store.
  4. To enable taxes for a system with multiple fulfillment centers you must specify the default fulfillment center:
    1. For Non-ATP Inventory set STORE.FFMCENTER_ID=your-desired-default-fulfillment-center:
      
      db2 update store set ffmcenter_id=<your-desired-default-fulfillment-center> where store_id=<your-store>          
      
    2. For ATP-Inventory set SHPARRANGE.PRECEDENCE=1 where SHPARRANGE.FFMCENTER_ID=your-desired-default-fulfillment-center:
      
      db2 update shparrange set precedence=1 where ffcenter_id=<your-desired-default-fulfillment-center>