如何使用 X++ 将更多信息添加到 MS Dynamics 2009 AX 警报消息中?

发布于 2024-07-09 22:32:22 字数 195 浏览 5 评论 0原文

有谁有一些示例代码或者可以指导我修改哪个类以向 Dynamics AX (DAX) 中的警报消息添加更多信息。 例如,当供应商名称更改时,我想添加供应商编号和用户 ID。

编辑:有人告诉我,设置警报时必须在描述面板中输入 HTML 代码。 如果这是真的,并且任何人有更多相关信息,那么如果您能分享此信息,那就太好了。

提前致谢。

Does anyone have some sample code or can direct me to which class I can modify to add more information to the alert messages in Dynamics AX (DAX). I want to for instance add a vendor number and userid when a name of a vendor has been changed.

EDIT: I have been told by someone that HTML code must be entered in the description panel when setting up the alert. If this is true and anyone has more info on this it would be great if you could share this info.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

稀香 2024-07-16 22:32:22

有一篇关于 Technet 显示您可以在电子邮件模板中使用的合并数据元素。

要添加新的合并数据元素,您需要修改类EventActionEmailcreateEmailParameterMap 方法返回一个包含元素和要替换它们的数据的映射。 execute 方法将该映射传递给 SysEmailTable::sendMail 以实际格式化并发送电子邮件。

There's an article on Technet that shows the merge-data elements you can use in an e-mail template.

To add a new merge-data element, you will need to modify the class EventActionEmail. The method createEmailParameterMap returns a map containing the elements and the data to replace them with. The execute method passes that map to SysEmailTable::sendMail to actually format and send the email.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文