我有一个名为FormulaRevisionID(键字段和字符串)的选择器,当我 尝试输入新值旧值将被新值覆盖,而在数据库中也会存储新值
here is my DAC field
#region FormulaRevisionID
public abstract class formulaRevisionID : PX.Data.IBqlField
{
}
protected string _FormulaRevisionID;
[PXDBString(10, IsUnicode = true, InputMask = ">aaaaaaaaaa")]
[PXUIField(DisplayName = "Formula Revision ID", Visibility = PXUIVisibility.SelectorVisible)]
typeof(TSFormula.formulaRevisionID),ValidateValue =false)]
[PXSelector(typeof(Search<TSFormula.formulaRevisionID,
Where<TSFormula.formulaID, Equal<Current<TSFormula.formulaID>>>>),ValidateValue =false)]
public virtual string FormulaRevisionID
{
get
{
return this._FormulaRevisionID;
}
set
{
this._FormulaRevisionID = value;
}
}
#endregion
在具有父关系的网格FromulaRevisionID字段中 FormulaRevisionID表单字段 当我添加新的字段时,网格数据基于表单字段FormulaRevisionID进行反映 任何人都可以建议我