【发布时间】:2014-03-26 13:47:33
【问题描述】:
我正在处理 IDOC 脚本,其中如果函数分别是成功/失败,则函数 rsRename(下面的代码)返回 TRUE/FALSE。现在我在 HTML 电子邮件模板中使用此函数,它为电子邮件中的条件 TRUE 打印值 1。我想限制此功能在电子邮件中打印值 1。 rsRename函数定义:http://docs.oracle.com/cd/E21043_01/doc.1111/e10726/c08_config_ref263.htm
"<tr>
<td align ="center" vertical-align="top" width="60%" style='background:#E6E6D8;min-width:600px'>
<p style="padding-left:10px">
<$executeService("GET_SENDTOWORKFLOW_HISTORY_EMAIL_DETAILS")$>
<$numrowSTOWFH = rsNumRows("SendtoWorkflowActionHistory")$>
<$executeService("GET_WORKFLOW_HISTORY_EMAIL_DETAILS")$>
<$numrowWFH = rsNumRows("WorkflowActionHistory")$>
<$if numrowWFH gt 0$>
<$rsRename("WorkflowActionHistory", rsNewName)$>
<$else$>
<$rsRename("SendtoWorkflowActionHistory", rsNewName)$>
<$endif$>
<span style="font-family:Calibri,sans-serif;font-size:12pt">
<b>Reason: </b></span>
<span style="font-family:Calibri,sans-serif;font-size:12pt;color:blue">
<b><$if xPurposeForSubmission$><$getFieldViewValue("xPurposeForSubmission",xPurposeForSubmission,"Reason")$><$endif$></span></b>
</td>
</tr>
"
【问题讨论】:
-
我到达正确的组了吗???如果标记其他技术,请指导我。将帮助我解决此问题
标签: function html html-email idoc