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
- 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.
- 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.
- After the localization is completed, the JavaScript files must be minified.
-
Re- create the
smcfs.ear file. This file is the IBM® Sterling Order Management System Software EAR package.