Some of my EDI outbound messages require a header/detail format, such as:
ST (A)
LX (1)
LX (2)
ST (B)
LX (1)
LX (2)
LX (3)
ST (C)
LX (1)
...
I use a database table for input that joins my header and detail information. When I create my output I always end up with:
ST (A)
LX (1)
ST (A)
LX (2)
ST (B)
LX (1)
ST (B)
LX (2)
ST (B)
LX (3)
...
Can someone describe how I can achieve my desired results?
ST (A)
LX (1)
LX (2)
ST (B)
LX (1)
LX (2)
LX (3)
ST (C)
LX (1)
...
I use a database table for input that joins my header and detail information. When I create my output I always end up with:
ST (A)
LX (1)
ST (A)
LX (2)
ST (B)
LX (1)
ST (B)
LX (2)
ST (B)
LX (3)
...
Can someone describe how I can achieve my desired results?