Azure Logic Apps解码EDIFACT

时间:2018-01-18 11:36:08

标签: azure azure-logic-apps edifact

我尝试解码EDIFACT D96A订单,我创建了合作伙伴协议并上传了O​​RDERS模式并将其链接到协议中。但是我仍然得到错误。伯爵是正确的:

  

exception:"解析过程中遇到错误。使用id' 1'设置的Edifact交易包含在ID为#0; 03221373'的交换(没有群组)中,发件人ID为' 95750460800515',接收者ID' 3016603550108'正在暂停以下错误:

     

错误:1(其他错误)70:
  错误:2(杂项错误)71:事务集或组控制编号不匹配
  错误:3(杂项错误)29:在交换,组或消息级别指定的计数无效

我在另一个方面发现我需要填写字段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'

1 个答案:

答案 0 :(得分:0)

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

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