选择后,查找下拉列表不显示带有描述的代码

The Lookup drop down is not displaying code with description after selection

我创建了一个包含以下字段的自定义 table,并在网格中使用它进行查找。下面是Table.

的结构
CREATE TABLE KcLocationColor

( CompanyID int 不为空, 代码 nvarchar(30) 整理 database_default, [说明] nvarchar(512) 整理database_default, 约束 PK_LocationColor 聚集的主键(公司 ID、代码) )

我已使用以下语句声明查找

[PXSelector(typeof(KcLocationColor.code),
                  new Type[]
            {
             typeof(KcLocationColor.code),
             typeof(KcLocationColor.description)
            },
            DescriptionField = typeof(KcLocationColor.description))]

选择后只显示代码,不显示代码和描述

我已经将它与acumatica tables 一起使用,并且工作正常。我无法找出自定义 table

的问题

此致, R.Muralidharan

将相应的网格列的 DisplayMode 属性 设置为 Hint

在从 PXSelector 中选择值后的 运行 时间,它应该显示为值 - 描述