Inbound EDI 850 purchase order is received with multiple N1 segments and we need to group like fields together for each respective N1 segment.
Each N1 segment is qualified by the following: LW and VN. Instead of qualifying the elements we are going to qualify each segment. Each qualified segment with be 'N' occurring while the 3rd segment will be the catch-all. The catch-all will be for any segment we are not qualifying. The 'catch-all' segment will only occur once.
By: Sean Hoppe on