如何从表单中的字段中删除查看详细信息?

时间:2021-06-26 15:57:21

How to remove View Details from a field in Dynamics AX 2012 Form?

如何从Dynamics AX 2012表单中的字段中删除查看详细信息?

When you right click on a field with a relation with DataSource's Table, you'll find View Details in context menu, How to remove this option.

当您右键单击与DataSource表关系的字段时,您将在上下文菜单中找到“查看详细信息”,如何删除此选项。

如何从表单中的字段中删除查看详细信息?

2 个解决方案

#1


2  

I've found a workaround. You can override jumpRef() method of DataSoruce Field and comment super, View Details will appear but it'll not go to Main Form.

我找到了一个解决方法。您可以覆盖DataSoruce Field的jumpRef()方法并注释super,View Details将出现,但它不会转到Main Form。

public void jumpRef()
{
    //super();
}

#2


0  

Well, the "View details" appears if there is a foreign key relation (n->1) with the field as the last component.

好吧,如果存在外键关系(n-> 1)且字段为最后一个组件,则会显示“查看详细信息”。

You could remove the relation, but it may other bad effects, you will have to consider.

您可以删除关系,但它可能会产生其他不良影响,您必须考虑。

#1


2  

I've found a workaround. You can override jumpRef() method of DataSoruce Field and comment super, View Details will appear but it'll not go to Main Form.

我找到了一个解决方法。您可以覆盖DataSoruce Field的jumpRef()方法并注释super,View Details将出现,但它不会转到Main Form。

public void jumpRef()
{
    //super();
}

#2


0  

Well, the "View details" appears if there is a foreign key relation (n->1) with the field as the last component.

好吧,如果存在外键关系(n-> 1)且字段为最后一个组件,则会显示“查看详细信息”。

You could remove the relation, but it may other bad effects, you will have to consider.

您可以删除关系,但它可能会产生其他不良影响,您必须考虑。