Skip to main content
Solved

unable to insert after changing attribute type from int to decimal

  • 27 February 2023
  • 2 replies
  • 41 views

Unable to insert after changing attribute type from int to decimal

 

This my DAC code

     #endregion

        #region QtyPlan
        ÂPXDecimal]
        rPXUIField(DisplayName = "Qty Plan", Required = true)]
        public virtual Decimal? QtyPlan { get; set; }
        public abstract class qtyPlan : PX.Data.BQL.BqlDecimal.Field<qtyPlan> { }
        #endregion

Please Help Me

2 replies

Userlevel 7
Badge +19

Hi @Febri 

The above DAC field, you declared like an unbound field, please declare as BOUND field like [PXDBDecimal] and verify.

 

 #region QtyPlan
        [PXDecimal]
        [PXUIField(DisplayName = "Qty Plan", Required = true)]
        public virtual Decimal? QtyPlan { get; set; }
        public abstract class qtyPlan : PX.Data.BQL.BqlDecimal.Field<qtyPlan> { }
        #endregion

 

Userlevel 2
Badge

wow very good,

Thanks sense
 

Reply