Skip to main content
Solved

Custom field not showing in grid

  • September 14, 2021
  • 1 reply
  • 347 views

Forum|alt.badge.img

I’m not sure why but a custom field I’ve created is not showing in the grid on the screen.

The new field is the Mark Up % and it shows in the Column Configuration but not in the grid.

 

Here are the layout properties:

 

Here is the aspx:

 

Here is the extension code:

using PX.Data.ReferentialIntegrity.Attributes;
using PX.Data;
using PX.Objects.AP;
using PX.Objects.AR;
using PX.Objects.CM.Extensions;
using PX.Objects.Common.Discount.Attributes;
using PX.Objects.Common.Discount;
using PX.Objects.Common;
using PX.Objects.CR;
using PX.Objects.CS;
using PX.Objects.GL;
using PX.Objects.IN.Matrix.Interfaces;
using PX.Objects.IN;
using PX.Objects.PM;
using PX.Objects.SO;
using PX.Objects.TX;
using PX.Objects;
using System.Collections.Generic;
using System;

namespace PX.Objects.CR
{
  public class CROpportunityProductsExt : PXCacheExtension<PX.Objects.CR.CROpportunityProducts>
  {
    #region UsrMarkUp
    [PXDBDecimal]
    [PXDefault(TypeCode.Decimal, "0.000", PersistingCheck = PXPersistingCheck.Nothing)]
    [PXUIField(DisplayName="Mark Up %")]

    public virtual Decimal? UsrMarkUp { get; set; }
    public abstract class usrMarkUp : PX.Data.BQL.BqlDecimal.Field<usrMarkUp> { }
    #endregion
  }
}

I’m not sure what I could be missing.  Thanks in advance for your help.

Best answer by Naveen Boga

Hi @vpoulson  I never seen this issue before, but I’m assuming that field is overridden with other field it seems. Can you please click on the “Reset To Default” button and check once.

 

View original
Did this topic help you find an answer to your question?

1 reply

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3417 replies
  • Answer
  • September 14, 2021

Hi @vpoulson  I never seen this issue before, but I’m assuming that field is overridden with other field it seems. Can you please click on the “Reset To Default” button and check once.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings