Adding and Overriding EDI ID Qualifiers
Some EDI ID qualifiers have different meanings in different EDI standards and versions. For example:
For UN/EDIFACT, the value of the ID qualifier code 30 is “ISO 6523".
For ANSI X12, the value of the ID qualifier code 30 is “Federal Tax ID.”
Module for EDI considers the value of the ID qualifier code 30 to be “ISO 6523". However, you can create a service to override (or add) any ID qualifier code value (for example, you can override “ISO 6523" with “Federal Tax ID”), as described in the following table.
Step | Description |
1 | In any user-defined package, create a service that overrides the value of the ID qualifier code and name it custom.EDIIDMapping:addEDIIDMapping. |
2 | In your flow, create the custom.EDIIDMapping:addEDIIDMapping service. |
3 | To the custom.EDIIDMapping:addEDIIDMapping service, add the qualifier input parameter and the idType output parameter. They are both of data type String. |
4 | In the custom.EDIIDMapping:addEDIIDMapping service, branch on qualifier and add a map step. Label the map step with the ID qualifier that you expect to receive (for example, 30). |
5 | In the map step, hard code the value of the output idType with any value, such as “User Defined 1.” |
For more information about creating custom flow services, see the
webMethods Service Development Help for your release. For a sample service, see the Technical community area of the
Empower Product Support website at
http://communities.softwareag.com/.