EDI 查询:这是检索 EDI 编码数据的可接受方式吗?
我是 EDI 新手,我有一个问题。
我读到,通过查看 ISA 行的最后 3 个字符,您可以获得有关 EDI 格式的大部分信息。如果每个 EDI 都使用换行符来分隔实体,那么这很好,但我发现许多都是单行文件,其中使用任意数量的字符作为换行符。我注意到我解析的每个 EDI 中的最后一个字符是中断字符。我看了几百个,没有发现任何例外。如果我首先获取该字符,并使用它来获取 ISA 行的最后 3 个字符,我是否应该合理地期望能够从 EDI 解析数据?
我不知道这是否有帮助,但所讨论的 EDI“类型”往往是 850、875。我不确定这是否是标准,但可能值得一提。
I'm new to EDI, and I have a question.
I have read that you can get most of what you need about an EDI format by looking at the last 3 characters of the ISA line. This is fine if every EDI used line breaks to separate entities, but I have found that many are single line files with any number of characters used as breaks. I have noticed that the VERY last character in every EDI I've parsed is the break character. I've looked at a few hundred, and have found no exceptions to this. If I first grab that character, and use that to obtain the last 3 of the ISA line, should I reasonably expect that I will be able to parse data from an EDI?
I don't know if this helps, but the EDI 'types' in question tend to be 850, 875. I'm not sure if that is a standard or not, but it may be worth mentioning.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎与此相同:
读取 EDI 格式文件
seems to be the same as this:
Reading EDI Formatted Files