我在通用搜索中添加了替代ID,现在我可以使用替代ID搜索元素,但是如果替代ID中有点字符,则通用搜索不会在Window服务器上返回结果,但是它可以在本地服务器上正常工作。我尝试使用重建的文件,但没有帮助。并且看起来通用搜索带有说明,并且如果其中有要点,则校正器将返回结果。如何使通用搜索在Windows服务器上的某个点起作用?
[PXRemoveBaseAttribute(typeof(PXSearchableAttribute))]
[PXSearchable(PX.Objects.SM.SearchCategory.IN, "{0}: {1}",
new Type[] {
typeof(InventoryItem.itemType),
typeof(InventoryItem.inventoryCD) },
new Type[] {
typeof(InventoryItem.descr),
typeof(InventoryItemExt.usrAlternateIDs) },
NumberFields = new Type[] {
typeof(InventoryItem.inventoryCD),
typeof(InventoryItemExt.usrAlternateIDs) },
Line1Format = "{0}{1}{2}",
Line1Fields = new Type[] {
typeof(INItemClass.itemClassCD),
typeof(INItemClass.descr),
typeof(InventoryItem.baseUnit) },
Line2Format = "{0}",
Line2Fields = new Type[] {
typeof(InventoryItem.descr) },
WhereConstraint = typeof(Where<Current<InventoryItem.itemStatus>,
NotEqual<InventoryItemStatus.unknown>>)
)]
public Guid? NoteID { get; set; }