Subject:EDI Invalid date time error Author:john adams Date:23 Sep 2008 01:44 AM Originally Posted: 23 Sep 2008 01:42 AM
I am trying to open this EDI document thru Stylus and I keep getting Invalid date and time for BEGO5 element. I have attached a screenshot. Somehow it is taking segment ending character } for the last data element. I tried different options setting segment character and component character and its not working.
Subject:EDI Invalid date time error Author:Tony Lavinio Date:23 Sep 2008 10:41 AM
The ISA segment has no segment ending character. If you add an } to the
end, then everything will process normally.
The ISA segment is defined to be 106 characters long, with the last being
the segment separator.
For some reason, yours has all of the blanks omitted. We still can
recover, by counting separators. However, the last character we find,
when we get to the end of the alloted number of elements for ISA, is
missing, so we take the next character, which is the CR from the line
ending. This means that all of your other segments appear to have an
extra } attached.