Define an LS Segment for Input
About this task
To define an LS segment for input:
Procedure
- In the Sterling B2B Integrator Map Editor, right-click the loop start segment. From the shortcut menu, select Properties.
- In the EDI Segment Properties dialog box, click the Looping tab to access the loop options and verify that the Loop Start option is selected.
- If you are creating a map from the standards,
go to step 13. If you are creating a map from scratch, click the Key
Field tab.
The Sterling B2B Integrator Map Editor displays the key field options.
- From the Field list, select Loop
Identifier Code.
This field list contains all the elements that are contained in the segment and enables you to define the Loop Start segment definition by specifying that the loop identifier code must have the value you specify in the Matching rules section.
- Select the Use constant option.
The Matching rules section enables you to access all the constants and code lists currently defined for this map.
- Click Edit (to the right of the Use constant list).
- In the Map Constants dialog box, click New.
- From the Edit Constant dialog box, in the ID box, type the constant identifier.
- From the Type list, select String. This is the category of this constant.
- In the Value box, type the value of
the constant.
For an inbound map, this is the loop identifier code that you expect to receive from a trading partner.
- Click OK to add the constant.
- Select the constant you created from the
list.
The Sterling B2B Integrator Map Editor matches the selected constant against the loop identifier code.
- Click OK to exit the EDI Segment Properties dialog box.