Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-mvc/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Acumatica 注意InventoryItem DAC中的属性_Acumatica - Fatal编程技术网

Acumatica 注意InventoryItem DAC中的属性

Acumatica 注意InventoryItem DAC中的属性,acumatica,Acumatica,我正在编写一个例程,该例程需要InventoryItem DAC中的几个字段,我注意到NoteID字段上的所有属性。我知道[PXNote]属性包含note字段和方法的所有属性,但是[PXSearchable]属性做什么呢 #region NoteID public abstract class noteID : PX.Data.IBqlField { } protected Guid? _NoteID; [PXSearchable(SearchCategory.IN, "{0}: {1}",

我正在编写一个例程,该例程需要InventoryItem DAC中的几个字段,我注意到NoteID字段上的所有属性。我知道[PXNote]属性包含note字段和方法的所有属性,但是[PXSearchable]属性做什么呢

#region NoteID
public abstract class noteID : PX.Data.IBqlField { }
protected Guid? _NoteID;
[PXSearchable(SearchCategory.IN, "{0}: {1}", 
 new Type[] { typeof(InventoryItem.itemType), typeof(InventoryItem.inventoryCD) },
 new Type[] { typeof(InventoryItem.descr) }, 
 NumberFields = new Type[] { typeof(InventoryItem.inventoryCD) },
 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>>)
)]
[PXNote]
public virtual Guid? NoteID { get; set; }
#endregion
#区域注释ID
公共抽象类noteID:PX.Data.IBqlField{}
受保护的Guid_NoteID;
[PXSearchable(SearchCategory.IN,“{0}:{1}”,
新类型[]{typeof(InventoryItem.itemType),typeof(InventoryItem.inventoryCD)},
新类型[]{typeof(InventoryItem.descr)},
NumberFields=新类型[]{typeof(InventoryItem.inventoryCD)},
Line1Format=“{0}{1}{2}”,
Line1Fields=新类型[]{typeof(INItemClass.itemClassCD),
类型(INItemClass.descr),
类型(InventoryItem.baseUnit)},
Line2Format=“{0}”,
Line2Fields=新类型[]{typeof(InventoryItem.descr)},
WhereConstraint=typeof(其中)
)]
[注]
公共虚拟Guid?NoteID{get;set;}
#端区

PXSearchableAttribute
用于在Acumatica的全文实体索引中包含记录的指定字段。它允许您在左上角的搜索框(现代用户界面)中搜索字段值