0

I am using Azure Logic Apps and Integration Accounts for receiving the EDIFACT messages.

The EDIFACT incoming message has an underscore character in it, and EDIFACT DECODE validation fails with the message:

Error encountered during parsing. The Edifact transaction set with id '1' contained in interchange (without group) with id '1', with sender id 'XXX', receiver id 'XXXXX' is being suspended with following errors:

Error: 1 (Field level error)

SegmentID: BGM

Position in TS: 2

Data Element ID: XXXX

Position in Segment: 3

Position in Field: 1

Data Value: 1_2017-09-2206:24:42

21: Invalid character found

I want to allow the underscore character to be considered as valid character, appreciate any pointers in resolving the issue.

4

2 回答 2

0

它全部由标准字符集驱动,请参见此处,我不记得有任何支持下划线的,因此根据错误消息所述,根据 EDIFACT 标准,最终事务是不正确的。

于 2019-03-29T21:19:42.613 回答
0

有1.5个问题。:)

但是,您需要做的第一件事是通知您的管理层您的贸易伙伴正在发送无效的 EDIFACT。如果贸易伙伴无法解决他们的问题,您将不得不花费额外的时间来解决他们的问题。

这不是您、您的应用程序或 BizTalk Server 的问题。

EDIFACT 支持的字符集数量非常有限,并且“_”不在其中。

他们要么解决他们的问题,要么您必须创建一个自定义函数来删除/更改无效字符。

最后,0.5 的问题是它们甚至没有发送可用的值。该格式不是任何标准日期格式,因此无论如何都需要进行操作才能使用它。

于 2019-04-01T12:32:38.523 回答