大家好,
我们正处于生成EDI文件的情况,该文件涵盖以下情况:
we are in the situation to generate the EDI file that covers the below scenario:
if( INcoming_ELement 不存在)
然后
不打印RFF整段
如何在映射中执行此操作?
how to do this in mapping ?
谢谢,Archana
Thanks, Archana
推荐答案
您使用的是xslt还是BizTalk映射器?
Are you using xslt or the BizTalk mapper?
使用xslt时,您可以执行以下操作:
When using xslt you can do the following:
< xsl:if test =" IncomingElement " ;> $ < RFF段>< / RFF段> < / xsl:if>
<xsl:if test="IncomingElement"> <RFF Segment></RFF Segment> </xsl:if>
使用BizTalk映射器时,您需要使用 Logical Existence functoid来检查IncomingElement是否存在以及使用 值映射 functoid来映射IncomingElement的实际值。
When using the BizTalk mapper you will need to use the Logical Existence functoid to check if your IncomingElement exists and use the Value Mapping functoid to map the actual value of the IncomingElement.
更多推荐
如果地图中不满足条件,则不应出现整个RFF段
发布评论