staedi: HL Segment is not interpreted correctly by ReaderService

Hi @MikeEdgar , we are attempting to parse order status 870 EDI. Reader service failed to interpret this segment ‘HL*2**I~’ as Item level instead of that it is interpreting as order level segment. HL order and HL items are under 2 different loop and it can be identified by HL03 element (O- order & I- item).

Is there any parameter in schema to differentiate these segments or how it can be handled in reader service implementation?

Sample EDI File

REF*MM*789087~
N1*ST**1294*71324~
HL*1**O~ ---> LoopHL order Level
PRF*12345661***20220124~
ISR*LL~
REF*KK*9999999999204165003~
HL*2**I~ ---> LoopHL Item level
PO1*1~
ISR*QQ~
QTY*34*1~
CTT*2~
SE*13*0001~```


Could you please help me on this ?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

we are able to do the validation. you can close the issue.

Thank you @MikeEdgar

@MikeEdgar I was able to fix the issue. Appreciate your help.