如果地图中不满足条件,则不应出现整个RFF段 [英] the Whole RFF segment should not be present if condition is not satisfied in map

查看:68
本文介绍了如果地图中不满足条件,则不应出现整个RFF段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们正处于生成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段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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