Azure 逻辑应用解码 EDIFACT

Azure Logic Apps Decode EDIFACT

我尝试解码 EDIFACT D96A 订单,我创建了合作伙伴 en 协议并上传了 ORDERS 架构并将其链接到协议中。但是我仍然收到错误消息。虽然计数正确:

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

Error: 1 (Miscellaneous error) 70:
Error: 2 (Miscellaneous error) 71: Transaction Set or Group Control Number Mismatch
Error: 3 (Miscellaneous error) 29: Invalid count specified at interchange, group, or message levels

我在另一个步骤中发现我需要填写 UNG2.1 (APP SENDER ID)UNG2.2 (APP SENDER CODE QUALIFIER) 字段,但我不确定要填写哪个值。

EDIFACT 订单:

UNA:+.? '
UNB+UNOC:3+{removed}:14+{removed}:14+160126:0414+EW552565597'
UNH+EW41193373+ORDERS:D:96A:UN:EAN008'
BGM+220+806256270+9'
DTM+4:20160124:102'
DTM+137:20160126:102'
DTM+2:20160205:102'
FTX+AAI+++Réappro auto'
FTX+ZZZ+++FRANCO VALEUR:250'
FTX+INV+++60 jours nets'
NAD+BY+{removed}::9'
NAD+DP+{removed}::9'
NAD+SU+{removed}::9'
RFF+API:39164'
NAD+IV+{removed}::9'
CUX+2:EUR:9'
LIN+1++{removed}:EN'
IMD+F+DSC+:::{removed}'
QTY+21:6'
MOA+203:34.5'
PRI+AAA:5.75'
RFF+PD:9606'
DTM+194:20151222:102'
DTM+206:20160125:102'
RFF+API:39164'
LIN+2++{removed}:EN'
IMD+F+DSC+:::{removed}'
QTY+21:6'
MOA+203:34.5'
PRI+AAA:5.75'
RFF+API:39164'
LIN+3++{removed}:EN'
IMD+F+DSC+:::{removed}'
QTY+21:6'
MOA+203:34.5'
PRI+AAA:5.75'
RFF+API:39164'
LIN+4++{removed}:EN'
IMD+F+DSC+:::{removed}'
QTY+21:3'
MOA+203:86.4'
PRI+AAA:28.8'
RFF+PD:9606'
DTM+194:20151222:102'
DTM+206:20160125:102'
RFF+API:39164'
LIN+5++{removed}:EN'
IMD+F+DSC+:::{removed}'
QTY+21:6'
MOA+203:172.8'
PRI+AAA:28.8'
RFF+API:39164'
UNS+S'
MOA+86:362.7'
CNT+2:5'
UNT+54+EW41193373'
UNZ+1+EW552565597'

您必须在协议中将 UNH2.5 设置为 EAN008,还必须修改架构根节点以添加 _EAN008。

这里有详细信息:https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-edifact_inputfile_unh2.5