使用 Conversion Studio by To-Increase 将 Notes 导入 Microsoft Dynamics AX 2009
目前,我正在使用 Conversion Studio 引入 CSV 文件并将内容存储在 AX 表中。这部分正在发挥作用。我定义了一个块并且字段已正确映射。
CSV 文件包含多个注释列,例如 Comments-1、Comments-2 等。这些列的数量是固定的。公共评论标记为 Comments-1...5,私人评论标记为 Private-Comment-1...5。
期望的结果是将数据带入 AX 表(如当前工作),并连接注释字段或将它们作为单独的注释存储到 DocuRef 表中作为内部或外部注释。
难道不需要在我已经设置的 Conversion Studio 项目中设置一个新块吗?您能给我指出一个可能显示类似过程或如何执行此操作的资源吗?
提前致谢!
Currently, I'm using Conversion Studio to bring in a CSV file and store the contents in an AX table. This part is working. I have a block defined and the fields are correctly mapped.
The CSV file contains several comments columns, such as Comments-1, Comments-2, etc. There are a fixed number of these. The public comments are labeled as Comments-1...5, and the private comments are labeled as Private-Comment-1...5.
The desired result would be to bring the data into the AX table (as is currently working) and either concatenate the comment fields or store them as separate comments into the DocuRef table as internal or external notes.
Would it not require just setting up a new block in the Conversion Studio project that I already have setup? Can you point me to a resource that maybe shows a similar procedure or how to do this?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在将兔子追入兔子洞的最深处后,我发现最简单的方法是这样的:
重写文档处理程序(扩展AppDataDocumentHandler)的onEntityCommit方法,如下所示
:我插入注释的方法,以防您也需要:
After chasing the rabbit down the deepest of rabbit holes, I discovered that the easiest way to do this is like so:
Override the onEntityCommit method of your Document Handler (that extends AppDataDocumentHandler), like so:
Here is my method to insert the notes, in case you need that too: