Description
In the current version I'm unable to parse DESADV Files with multiple SG2 segments which only contain one NAD element.
I always receive the error "The message has some additional segments beyond the maximum repetition allowed (skipped)".
Example File:
UNA:+.? '
UNB+UNOC:3+8888888888888:14+9999999999999:14+240523:1621+20240523162132'
UNH+1+DESADV:D:96A:UN:EAN005'
BGM+351+11111111+9'
DTM+137:20240523:102'
DTM+11:20240523:102'
RFF+ON:222222'
DTM+171:20240510:102'
RFF+VN:33333333'
DTM+171:20240510:102'
RFF+AGW:03'
NAD+SU+1234567890123::9'
NAD+BY+0987654321098::9'
NAD+DP+++TEST1:TEST2+Street+CITY++12345+DE'
TDT+++++:::GLS'
CPS+1'
LIN+2++4977766771634:EN'
PIA+1+102168710:SA+2:IN'
QTY+12:1:PCE'
GIN+BJ+50111092082'
FTX+ZZZ+++http?://test.de'
MOA+203:99.99'
RFF+ON:12345:2'
RFF+VN:54321:2'
UNT+23+1'
UNZ+1+20240523162132'