Auto Trim Rules

About this task

To use Auto Trim, you must define the segment and element delimiters:

  • If you do not supply the tag delimiter, the Sterling B2B Integrator Map Editor substitutes the element delimiter for the tag delimiter.
  • If you want to use composite elements, you must specify the subelement delimiter.
  • If you want to use release characters, you must specify the release character.
  • If you want to use repeating elements, you must specify the repeating element delimiter.

For more information about specifying EDI delimiters, see Verify EDI Delimiters.

Note: To use the Auto Trim function, the sample EDI file must be compliant and must not contain envelope segments unless the map defines them.

To use Auto Trim:

Procedure

  1. In the Sterling B2B Integrator Map Editor, right-click the EDI file icon (the EDI root element) on the EDI side of the map. Select Auto Trim from the shortcut menu.
  2. From the Look in list, select the drive and folder where the EDI file is stored.

    The default path is Program Files\SterlingCommerce\Map Editor\Source Maps.

  3. If necessary, select the type of file that you want to display from the Files of type list.
  4. From the list, select the sample EDI file.
  5. Click Open to begin the Auto Trim process.

    When Auto Trim is complete, the Sterling B2B Integrator Map Editor displays a message indicating whether the process was successful. Click OK to acknowledge the message.