You can make inbound segment mapping conditional based on a specific trading partner. For the specified trading partner, you can either map or not map the segment.
When you create a trading partner-specific segment, first create a copy of the segment you want to link to a specific trading partner:
In the main ECMap window, select Build > Mapping or click the globe icon.
In the Mapping window, highlight the segment you want to link to a trading partner, right click and select either Copy or Copy With Data from the submenu.
If you select Copy, the program creates a copy of the segment and inserts it after the highlighted segment.
If you select Copy with Data, the program creates a copy of the segment and all the mapping-related activity associated with it, such as rules or data mapped to a record/field or memory variable, and inserts it after the highlighted segment.
Linking the mapping (or not mapping)
of a segment to a trading partner
In the Mapping window, highlight the segment, right click it and select Trading Partner from the submenu.
The Select Segment Trading Partner window displays. The program automatically enters the name and description of the highlighted segment.
Notes
In the Options group, the Trade Partner Type provides the
option to not map instances of this segment
at this level for this trading partner, except for segments specifically
tied to this trading partner.
Click the up arrow and NOT displays in the text box. Click the up arrow again and the text box reverts to blank. A blank text box is the default and means that the segment will be mapped for this trading partner.
Click the up arrow next to Trading Partner Name.
ALL TradePartner is the default value.
In the Trading Partner window, double-click the trading partner for whom you want to map (or not map) this segment.
The Trading Partner – Properties window opens and the program enters the trading partner name in the Internal ID text box.
Click OK to close all open windows.