我为销售订单表创建了一个名称值对字段,而搜索在使用选择器中的描述字段中的字段时出错
#region UsrLoader
public abstract class usrLoader : IBqlField { }
[PXDBString(128, IsUnicode = true)]
[PXUIField(DisplayName = "Operator 1")]
[PXSelector(typeof(EPEmployee.acctCD),
new Type[]
{
typeof(EPEmployee.acctCD),
typeof(EPEmployee.acctName)
},
DescriptionField = typeof(EPEmployee.acctName))]
public virtual string UsrLoader { get; set; }
#endregion
#region UsrUnLoader
[PXDBString(128)]
[PXUIField(DisplayName = "Operator 2")]
[PXSelector(typeof(EPEmployee.acctCD),
new Type[]
{
typeof(EPEmployee.acctCD),
typeof(EPEmployee.acctName)
},
DescriptionField = typeof(EPEmployee.acctName))]
public virtual string UsrUnLoader { get; set; }
public abstract class usrUnLoader : IBqlField { }
#endregion
我收到以下错误
答案 0 :(得分:0)
通常,在发布自定义以在数据库表中插入字段时,我会看到无效列错误。您在添加字段后发布了吗?
此外,警告可能会告诉您加入父表。您是否尝试过加入EPEmployee表以使用GI中的描述/名称字段?