Edifact D97A订单 - PRI C50902十进制问题 [英] Edifact D97A Orders -- PRI C50902 decimal issue

查看:151
本文介绍了Edifact D97A订单 - PRI C50902十进制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用地图测试是可以的。
但是,我在部署项目后运行它。
它出现了一些错误:
我该怎么办?
解析过程中遇到错误。 ID为"1"的Edifact事务集包含在交换(没有组)中,ID为"ORDERS",发送者ID为"AVNETEUT",接收者ID"PANJIT"正在暂停,并出现以下错误:
错误:1(字段液位错误)
段ID:PRI
在TS中的位置:11
数据元素ID:C50902
在段中的位置:2
在现场的位置:2
数据值:41.5
37:在数据元素中找到无效字符

I use map test is ok.
But, I run it after deploy project.
It appear some erros:
How can I do?


Error encountered during parsing. The Edifact transaction set with id '1' contained in interchange (without group) with id 'ORDERS', with sender id 'AVNETEUT', receiver id 'PANJIT' is being suspended with following errors:
Error: 1 (Field level error)
 SegmentID: PRI
 Position in TS: 11
 Data Element ID: C50902
 Position in Segment: 2
 Position in Field: 2
 Data Value: 41.5
 37: Invalid character(s) found in data element

错误:2(字段级错误)
SegmentID:PRI
位置在TS:18
数据元素ID:C50902
在段中的位置:2
在现场的位置:2
数据值:57.73
37:无效的字符在数据元素中找到

Error: 2 (Field level error)
 SegmentID: PRI
 Position in TS: 18
 Data Element ID: C50902
 Position in Segment: 2
 Position in Field: 2
 Data Value: 57.73
 37: Invalid character(s) found in data element

错误:3(字段级错误)
SegmentID:PRI
在TS中的位置:26
数据元素ID:C50902
段中的位置:2
在现场的位置:2
数据值:84.02
37:在数据元素中找到无效的字符


Biztalk环境:
Biztalk 2009 + VS2008 + SQL2008

Error: 3 (Field level error)
 SegmentID: PRI
 Position in TS: 26
 Data Element ID: C50902
 Position in Segment: 2
 Position in Field: 2
 Data Value: 84.02
 37: Invalid character(s) found in data element


Biztalk Environment:
Biztalk2009 + VS2008 + SQL2008

我的样本数据如下:

UNB + UNOC:3 + AVNETEUT:ZZZ + PANJIT:ZZZ + 050829:1259个+订单 '
UNH + 1个+订单:d:97A:UN:EDP006'
BGM + 220 + 4501012345 + 9'
DTM +137:20070620:102'
NAD + BY + AVNET EUROPE :: 92'
CTA + PD + EUROPEAN PURCHASI:ZZA'ONAD + SE + 0000987654 :: 92'
NAD + DP + BE01 :: 92'
CUX + 2:EUR:9'
LIN + 1 ++ VendorPart 1:VP :: 91'
数量+ 21:1500:PCE '
PRI + AAA:41.5:CT :: 100:PCE'
RFF + LI :: 10 '
SCC + 1'
QTY + 21:1500:PCE'
DTM + 2:20071116:102'
LIN + 2 ++ VendorPart 2:VP :: 91'
数量+ 21:9000:PCE'¥PRI + AAA:57.73: CT :: 100:PCE '
RFF + LI :: 20'
RFF + PR:XYZ12345 '
SCC + 1'
QTY + 21:9000:PCE'
DTM + 2:20071123:102'
LIN + 3 ++ VendorPart 3:VP :: 91'数量+ 21:450:PCE'¥PRI:AAA:84.02:CT :: 100:PCE '
RFF + LI :: 30'
SCC + 1 '
QTY + 21:250:PCE'
DTM + 2:20070921:102' <登记/> SCC + 1 '
QTY + 21:200:PCE'
DTM + 2:20071021:102 '
UNS + S'
UNT + 35 + 1' < b r /> UNZ + 1 + 6580'




My sample data follow:

UNB+UNOC:3+AVNETEUT:ZZZ+PANJIT:ZZZ+050829:1259+ORDERS'
UNH+1+ORDERS:D:97A:UN:EDP006'
BGM+220+4501012345+9'
DTM+137:20070620:102'
NAD+BY+AVNET EUROPE::92'
CTA+PD+EUROPEAN PURCHASI:ZZA'
NAD+SE+0000987654::92'
NAD+DP+BE01::92'
CUX+2:EUR:9'
LIN+1++VendorPart 1:VP::91'
QTY+21:1500:PCE'
PRI+AAA:41.5:CT::100:PCE'
RFF+LI::10'
SCC+1'
QTY+21:1500:PCE'
DTM+2:20071116:102'
LIN+2++VendorPart 2:VP::91'
QTY+21:9000:PCE'
PRI+AAA:57.73:CT::100:PCE'
RFF+LI::20'
RFF+PR:XYZ12345'
SCC+1'
QTY+21:9000:PCE'
DTM+2:20071123:102'
LIN+3++VendorPart 3:VP::91'
QTY+21:450:PCE'
PRI+AAA:84.02:CT::100:PCE'
RFF+LI::30'
SCC+1'
QTY+21:250:PCE'
DTM+2:20070921:102'
SCC+1'
QTY+21:200:PCE'
DTM+2:20071021:102'
UNS+S'
UNT+35+1'
UNZ+1+6580'

推荐答案

我认为您在交换之前没有使用UNA段。因此,您可以在edi接收管道中将使用点作为小数点分隔符指定为true。

为此,您可以转到用于处理此文档的接收端口。在端口中转到接收位置页面,并且有一个接收管道字段。在此我认为你选择了Edi接收管道。点击此下拉菜单前面的小按钮,并带有符号( ... )。然后,您可以看到所有管道属性。在这些属性中,使用点作为小数点分隔符 true 然后重新启动Biztalk服务并再次尝试实例。

感谢
Gyan
Hi,
    I think you not using UNA segment before your interchange. So you can specify the use dot as decimal separator as true in the edi receive pipeline.

For doing this you can go to the receive port using which you are processing this document. In the port go to the receive location page and there is a Receive pipeline field. In this I think you have selected Edi receive pipeline. Click on the small button infront of this drop down with the notation(... ) . Then you can see all the pipeline properties . In these properties make use dot as decimal separator true . Then restart the Biztalk service and try you instance again.


Thanks
Gyan


这篇关于Edifact D97A订单 - PRI C50902十进制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆