Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 Dynamics AX 2012 表单中的字段中删除查看详细信息?
当您右键单击与 DataSource 的表有关系的字段时,您会在上下文菜单中找到查看详细信息,如何删除此选项。
我找到了解决方法。您可以覆盖 DataSoruce 字段的 jumpRef() 方法并注释 super,会出现查看详细信息,但不会转到主窗体。
public void jumpRef() { //super(); }
好吧,如果存在外键关系(n->1),该字段作为最后一个组件,则会出现“查看详细信息”。
您可以删除该关系,但它可能会产生其他不良影响,您必须考虑。