全局搜索不起作用

问题描述 投票:0回答:1

我有一个自定义 DAC (PseduoNames),它显示在供应商屏幕的网格上。

下面是我的 DAC 的 NoteID 字段,我尝试将其用于全局搜索。

我也为我的 dac PseudoNames 重新构建了全文实体索引,但仍然无法让我的全局搜索工作。

search global acumatica dac
1个回答
0
投票
My DAC is as follows:

[PXSearchable(
    PX.Objects.SM.SearchCategory.AP, // Choose the appropriate category.
    "Device: {0} ({1})", // Main title format for the search result
    new Type[] { typeof(PseudoNames.ipiNumber), typeof(PseudoNames.pseudoID) }, // Fields for the main search
    new Type[] { typeof(PseudoNames.pseudoName), typeof(PseudoNames.ipiNumber), typeof(PseudoNames.pseudoID) }, // Additional searchable fields
    Line1Format = "{0}",
    Line1Fields = new Type[] { typeof(PseudoNames.ipiNumber) },
    Line2Format = "{0}",
    Line2Fields = new Type[] { typeof(PseudoNames.pseudoName) }
)]
[PXNote]
public virtual Guid? NoteID { get; set; }
public abstract class noteID : PX.Data.BQL.BqlGuid.Field<noteID> { }
© www.soinside.com 2019 - 2024. All rights reserved.