WebSphere Commerce Enterprise

Managing tax assets in an extended site asset store

You must manually configure WebSphere Commerce Accelerator to manage tax assets in an extended site asset store.

Procedure

  1. Enable the Change Tax menu item for asset store:
    1. Identify the required configuration file.
    2. Add the following section to the configuration file:
      <menuitem name="store"
                   enabled="true"
                   users="seller">
            <node name="changeTax"
                   url="$webapp_accelerator$NotebookView?XMLFile=taxation.taxEditor"
                        users="opMgr seller"/>
      </menuitem>
      If the store menu item is already present, simply add:
      <node name="changeTax"
             url="$webapp_accelerator$NotebookView?XMLFile=taxation.taxEditor"
                        users="opMgr seller"/>
      
  2. Determine the languages supported by the store using the following SQL statement:
    SELECT * FROM STORELANG WHERE STOREENT_ID=XXX
  3. Create a store address for any language that does not have a store address assigned to it in the STOREENTDS table.
    1. Create a store address in the STADDRESS table. If you are creating a globalized store, you should include this information in a locale-specific XML file.
      
      <staddress
      staddress_id="@staddress_id_en_US_1"
      member_id="&MEMBER_ID;"
      nickname="storeaddress_en_US"
      address1="12xx Martindale Avenue"
      address2="Suite 9xx"
      businesstitle="ConsumerDirect"
      city="Clothesville"
      state="Ontario"
      zipcode="Lxx 1xx"
      country="Canada"
      phone1="1-800-555-1234"
      fax1="1-800-555-4321"
      email1="info@ConsumerDirect.xxx"
      />
      
    2. Create a description for the store entity in the STOREENTDS table. If you are creating a globalized store, you should include this information in a locale-specific XML file.
      
      <storeentds
      description="Commerce Model Store entity"
      language_id="&en_US;" 
      displayname="ConsumerDirect"
      storeent_id="@storeent_id_1"
      staddress_id_cont="@staddress_id_en_US_1"
      staddress_id_loc="@staddress_id_en_US_1"
      />
      
  4. To create the tax assets in the fulfillment center, insert data into the shparrange table with store_id=@Asset_store_id and ffmcenter_id=@ffmcenter_id. The @ffmcenter_id is the fulfillment center ID used by the extended site asset store.
  5. Open the WebSphere Commerce Accelerator and select the Asset store. Click the Store menu and you should see Change Tax.