I created a DAC that adds 2 decimal fields within the DAC for a grid. I can’t figure out why after publishing, the field is a text field and not a decimal field. How do I display it as a decimal field?
#region EstCostAmt
[PXDBDecimal()]
[PXUIField(DisplayName = "Est Cost")]
public virtual Decimal? EstCostAmt { get; set; }
public abstract class estCostAmt : PX.Data.BQL.BqlDecimal.Field<estCostAmt> { }
#endregion
#region EstFeeAmt
[PXDBDecimal()]
[PXUIField(DisplayName = "Est Fee")]
public virtual Decimal? EstFeeAmt { get; set; }
public abstract class estFeeAmt : PX.Data.BQL.BqlDecimal.Field<estFeeAmt> { }
#endregion
#region EstTotalAmt
[PXUIField(DisplayName = "Est Total Amt", IsReadOnly = true)]
[PXFormula(typeof(Add<estCostAmt, estFeeAmt>))]
public virtual Decimal? EstTotalAmt { get; set; }
public abstract class estTotalAmt : PX.Data.BQL.BqlDecimal.Field<estTotalAmt> { }
#endregion