Extending ValueMaps.xml

The ValueMaps.xml file is modified when a new mapping is introduced, or when you want to modify the mapping between HCL Commerce and Sterling Order Management.

About this task

To add a new status or mapping or revise an existing status or mapping for Sterling Order Management:

Procedure

  1. Open <INSTALL_DIR>/properties/ValueMaps.xml.
  2. Revise an existing mapping or add a new one. For example:
    1. Locate the section for the "scStatusToWcStatus" map, which begins with the line <mm:Map name="scStatusToWcStatus">.
    2. Add a line or edit an existing entry, using this format:

      <mm:Entry key="####">G</mm:Entry >

      where
      ####
      is the new or revised Sterling Order Management status
      G
      is the corresponding status in HCL Commerce