1EDI Source

Your business situation is unique. You need your EDI solution to work for you and your particular needs. 1EDISource is the best source for helping you to get there.

Home  chevron  About Us  chevron  News Room
Error You are using an unlicensed and unsupported version of DotNetNuke Professional Edition. Please contact sales@dnncorp.com for information on how to obtain a valid license.

Using Single Operators Instead of Multiple Operators

Wednesday, October 05, 2011

EDI/HQ’s data mapper contains many operators to help you achieve your data conversion goals.
Take the time to investigate the operators and learn what each does. Many times one operator can perform the function you want instead of using two, three, or four operators.

For example, if your goal is to add a mapped data item to the left of a previously populated variable, instead of using two operators to achieve this (Add Text Variable On Right, Store to Text Variable), you can use just one operator: Add to Left of Text Variable.
Similarly, if your goal is to suppress an entire segment if one element of that segment is blank, a complicated way to go about it is to add a Suppress Based on Element operator on each element, which will suppress only the CURRENT element if a different checked element is blank. A simpler way to achieve your goal is to use a single operator, Suppress if Blank, in the element that may be blank. If the element is blank, then the Suppress if Blank operator will suppress the WHOLE segment at once.

Page Title: EDI Tips & News | 1 EDI Source, Inc. - Using Single Operators Instead of Multiple Operators