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
- Enable the Change Tax menu item
for asset store:
- Identify the required configuration file. See WebSphere Commerce Accelerator definition files.
- Add the following section to the configuration file:
If the store menu item is already present, simply add:<menuitem name="store" enabled="true" users="seller"> <node name="changeTax" url="$webapp_accelerator$NotebookView?XMLFile=taxation.taxEditor" users="opMgr seller"/> </menuitem>
<node name="changeTax" url="$webapp_accelerator$NotebookView?XMLFile=taxation.taxEditor" users="opMgr seller"/>
- Determine the languages supported by the store using the
following SQL statement:
SELECT * FROM STORELANG WHERE STOREENT_ID=XXX
- Create a store address for any language that does not have
a store address assigned to it in the STOREENTDS table.
- 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" />
- 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" />
- 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.
- 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.
- Open the WebSphere Commerce Accelerator and select the Asset store. Click the Store menu and you should see Change Tax.