Localize telephone number format in Sterling Field Sales

You can localize the telephone number format in Sterling™ Field Sales.

About this task

The telephone number format is defined in the localizable formatter.js file located in the <INSTALL_DIR>/repository/eardata/sfs/war/localization/sfs/appcommon/core/format folder.

To localize the telephone number format, perform the following steps:

Procedure

  1. Create the <INSTALL_DIR>/repository/eardata/sfs/war/localization/<language_code>/<country or region or region_code>/sfs/appcommon/core/format folder and copy the formatter.js file to this folder.
  2. Modify the formatter.js file that you copied in Step 1, as required.
    Note: Based on the modifications, you must override the format and de- format method of the sc.app.common.core.format.PhoneNumerFormat class defined in the formatter.js file.
  3. After the localization is completed, the JavaScript files must be minified.
  4. Re- create the smcfs.ear file. This file is the IBM® Sterling Order Management System Software EAR package.