The XML-formatted Cleanser server scripts are generated by the deployment tool. The scripts are set in the following order:
Process |
Script |
---|---|
Initial Transformer |
Process Name = “tranfrmr” Setting file = “initialtranfrmr.stx” Required. Provides initial transformation of data before it invokes the Global Router and Customer Parser. |
Initial Country Global Router |
Process Name = “globrtr” Setting file = “initialglobrtr.stx” Required. Scans, identifies and sorts incoming data by country of origin for country-specific processing. |
Test field “DR_COUNTRY” |
<TEST FIELD="DR_COUNTRY">
Required. The “DR_COUNTRY” field is defined by the connector to store the country determined by the Country Global Router. It is used as a test field in order to pass the data to the correct specific country processing. |
Test Condition “XX” |
<CONDITION VALUE="US">
Required. A test condition on the field “DR_COUNTRY” for the country code value. For this example, US is the country code. |
Country-specific Pre-Transformer |
Process Name = “USTranfrmr1” Setting file = “ustranfrmr.stx” Required. Provide pre-transformation of the country-specific data before the Customer Parser is invoked. For this example, US is the country code. |
Country-specific Customer Parser |
Process Name = “USCusparse” Setting file = “uscusparse.stx” Required. Indentifies and/or verifies the components of free-floating or fixed-fielded data. It standardizes address and geography components of the added/modified record. For example, “San Fran” is standardized to “SAN FRANCISCO” and “Calif” is standardized to “CA”. For this example, US is the country code. |
Country-specific Postal Matcher |
Process Name = “USPmatch” Setting file = “uspmatch.stx” Required. Assigns or corrects Postal Codes, Street Name, Latitude/Longitude and City Names. For this example, US is the country code. |
Country-specific Post-Transformer |
Process Name = “USTranfrmr2” Setting file = “xxtransformer.stx” Required. Provides post-transformation of the country-specific data prior to data being returned to SAP. Such as the transformation of the fields required by SAP, the recoding of full county description into an SAP Region code and the casing of the field values. For example, transform “SAN FRANCISCO” to “San Francisco” and insert a hyphen between the fifth and sixth digits of the US 9-digit zip code. For this example, US is the country code. |
Country-specific Window Keys generator |
Process Name = “xxWinkey” Setting file = “xxwinkey.stx” Optional. Creates country-specific window keys for matching. For this example, US is the country code. |