Solved

Custom field not showing in grid

  • 14 September 2021
  • 1 reply
  • 317 views

Userlevel 2
Badge

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.

icon

Best answer by Naveen Boga 14 September 2021, 17:41

View original

1 reply

Userlevel 7
Badge +17

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved