在 Dynamics AX 2009 中导入对象期间使用比较工具
我正在尝试将对象列表导入到 Dynamics AX 2009 系统中。我遇到的问题是我导入的所有对象的对象 ID 都不同。我正在手动进行导入,因此作为此过程的一部分,我需要比较每个对象(有几个),因为它们都显示为不同的。
我的问题是:有没有办法告诉 Dynamics 不要将对象 ID 显示为差异,或者欺骗它认为它们是相同的?
I'm trying to import a list of objects into a Dynamics AX 2009 system. The problem that I have is that the object IDs differ for all the objects that I'm importing. I'm doing the import manually, and so as part of this I need to compare each object (and there's a few), because they all show as different.
My question is: is there a way to either tell Dynamics to not show the object ID as a difference, or else to fool it into thinking they're the same?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
根据您的场景,您可以从源导出项目而不使用 ID。当将项目导入到另一个系统时,不会出现ID冲突(显然)。
但在决定是否在没有 ID 的情况下导出之前,您应该了解忽略 ID 的利弊。
Depending on your scenario, you could export the project from the source without using IDs. When importing the project to another system, there will not be ID conflicts (obviously).
But before you decide whether or not to export without ID, you should understand the pro's and con's of ignoring the IDs.
没有选项可以忽略对象 ID。
但是,您可以在 \Classes\SysTreeNode\comparableTextListProperties 中更改代码并删除有问题的 id 属性。
There is no option to ignore object ids.
However, you could make a code change in \Classes\SysTreeNode\comparableTextListProperties and delete the offending id property.
.XPO 是文本文件,因此您可以使用文本编辑器在 AX 外部查找和替换对象 ID,然后再尝试导入它。
.XPOs are text files, so you can use a text editor and do a find and replace of object ids outside of AX before trying to import it.