Enabling tax sharing in an extended site model
In an extended sites store model, tax assets can be shared between the extended
site asset store and the extended site store if there is a relationship of
com.ibm.commerce.tax
between the extended site store and the extended site asset
store.
The following tax assets are shared:
- Tax calculation codes
- Tax categories
- Tax jurisdictions
Procedure
-
Update the CALUSAGE table to use the com.ibm.commerce.tax store relationship
type using the following SQL statement:
UPDATE CALUSAGE SET STRELTYPNAMECFG='com.ibm.commerce.tax', STRELTYPNAMERT='com.ibm.commerce.tax' WHERE CALUSAGE_ID=-3 OR CALUSAGE_ID=-4;
-
Relate the extended site store to the extended site asset store with com.ibm.commerce.tax. Run
the following SQL statement:
WhereINSERT INTO STOREREL (STRELTYP_ID, RELATEDSTORE_ID, STORE_ID, SEQUENCE, STATE) VALUES (-2, EXTENDED_SITE_ASSET_STORE_ID, EXTENDED_SITE_STORE_ID, 1.0, 1);
- EXTENDED_SITE_ASSET_STORE_ID
- The extended site asset store ID
- EXTENDED_SITE_STORE_ID
- The extended site store ID
- Create the tax asset in the extended site asset store in HCL Commerce Accelerator. Tax assets created in the extended site asset store can be used for tax calculations in extended site stores. The Change Tax menu item will not be enabled for the extended site asset store. To enable the Change Tax menu item, see Managing tax assets on an extended site asset store.