For postal validation, you must add the custom fields to the DDL and modify the country-specific Transformer and Window Key Generator processes.
To modify your Trillium Quality project for postal validation
-
Add the custom fields to your input schema files (e.g., xxinput.ddx, transactioninput.ddx, masterinput.ddx). For example, you might add the following fields, specifying the appropriate field type and length:
Name Type Length TELNUM UTF8 30 TELNUMEXT UTF8 30 MOBNUM UTF8 30 EMAIL UTF8 50 -
Tune the country-specific Transformer to use the SAP Field Extension Framework. For example, to add the TELNUM field as an Attribute Scan in the Output Conditionals of the US Transformer process:
- Right-click the US Transformer process.
- Select Edit process.
- Click Output Conditionals.
- Right-click on the right pane and select Add > New > Attribute Scan.
- In the Attribute Scan wizard, make the necessary modifications to accommodate your requirements, as shown in the following three images.
- An Attribute Scan is created. Click Finish.
-
Tune the country-specific Window Key Generator to use the SAP Field Extension Framework:
- Right-click the US Window Key Generator process.
- Select Edit process from the menu.
- Click Schema Editor and add the required Output Attributes, e.g., WINDOW_KEY_06, WINDOW_KEY_07, and so on.
- Click Keys.
- In the Input Attributes pane, select the attribute representing a new Window Key, e.g., WINDOW_KEY_06 and click >.
- Select the new Window Key, e.g., WINDOW_KEY_06, in the Window Key Destination Attributes pane and click Definition.
- In the Window Key Rules for Window Key Generator window, make the necessary modifications to accommodate your desired requirement.
- Click Back.
- Click Finish.