axapta - 如何覆盖/控制表单的 super() 查找调用的默认查找?

标签 axapta x++

具体为\Forms\SalesCreateOrder\Data Sources\SalesTable\Fields\CustAccount\lookup

super() 调用去哪里?是什么决定了填充此字段的字段?

EDT 是 CustAccount,我没有看到“FormHelp”。

最佳答案

super() 调用控件的performDBLookup 方法,该方法创建查找表单。

您可以在Axaptapedia上阅读所有相关内容。 .

Axapta uses a simple system to determine which fields to display in an automatically created lookup. If no special changes are made, then the fields shown on the lookup are determined by the following information from the base table:

  • The field(s) responsible for the relation
  • TitleField1
  • TitleField2
  • The first field of every index of the table (in the order of the index-id)

关于axapta - 如何覆盖/控制表单的 super() 查找调用的默认查找?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10539064/

相关文章:

axapta - gotFocus 并在 Form 字段上输入方法未被调用

axapta - 如何确认来自 EP AX 2012 的当前请求

axapta - 异常原因/消息。我在这里重新发明轮子吗?

containers - 创建非数据库驱动的查找

axapta - 以编程方式检查用户组

axapta - 在 Dynamics AX 2012 中从采购线获取线的尺寸

x++ - 如何编辑树控件节点文本?

axapta - 找不到定义的变量

axapta - Break 语句在 Axapta 中会做什么?

axapta - 更改信息部分动态链接的功能