EDI到平面文件映射的问题 [英] Problem in EDI to Flat File Map

查看:84
本文介绍了EDI到平面文件映射的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guru!


我是biztalk的新手。


我需要将EDI消息(ORDERS)映射到平面文件地图。我的问题出在DTM循环中。


入站消息(EDI格式):


UNB


UNH


BGM + 220 + 123456'


DTM + 2:20110827:102'


DTM + 137 :20110727:102'


 


出站信息:


123456 | 20110727 | 20110827


 


我在源消息中有一个DTM循环,但是,在目标消息中,我没有循环:我有一条记录。


 


如果是DTM + 2,我必须在目标记录的第3个字段中映射信息。


如果是DTM + 137,我必须在目的地记录的第二个字段中映射信息。


 


我已经尝试过Table looping + Table提取器,但没有成功。


 


有人可以帮助我吗?


 


谢谢和问候/


 


Glauber


 


 


 

解方案
几种方法来做到这一点。设置条件以在满足您喜欢的日期时触发日期。另一个选择是使用脚本functoid。最简单的方法是使用基于来源的=条件。您可能还需要一个循环functoid。


Hello Gurus!

I'm new in biztalk.

I need to map a EDI message (ORDERS) to a flat file map. My problem is in the DTM loop.

Inbound message (EDI format):

UNB

UNH

BGM+220+123456'

DTM+2:20110827:102'

DTM+137:20110727:102'

 

Outbound message:

123456|20110727|20110827

 

I have a DTM looping in the source message, but, in the destination message, I don't have a looping: I have a single record.

 

If DTM+2, I have to map the information in the 3rd field of the destination record.

If DTM+137, I have to map the information in the 2nd field of the destination record.

 

I've tried Table looping + Table extractor, but without success.

 

Could somebody help me?

 

Thanks and regards/

 

Glauber

 

 

 

解决方案

Several ways to do it. Set a condition to fire the date when it meets what you like. Another option is to use a scripting functoid. The easiest is to use a condition of = based on the source. You may also need a looping functoid.


这篇关于EDI到平面文件映射的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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