自动化通知 [英] Automation Notifications
本文介绍了自动化通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为销售订单建立自动通知。
I am trying to build an automated notification for sales orders.
在消息区域中,我需要在消息中显示销售订单行项目。
In the message area, I need the sales order line items to be displayed in the message.
我只能让第一个订单项显示在邮件中。如何显示所有订单项?
I can only get the first line item to display in the message. How do I get all the line items to display?
推荐答案
您可以通过添加foreach循环在通知中包括文档详细信息行中的信息以HTML格式添加到通知模板的正文中。例如,您可以对销售订单的交易视图使用以下构造:
You can include information from document detail lines in notifications by adding a foreach loop to the body of the notification template in the HTML format. For instance, you can use the following construction for the Transactions view of your Sales Order:
<foreach view="Transactions">
((Transactions.TranDesc))<br>
</foreach>
这篇关于自动化通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文