Adding New Field(Selector) in Physical Inventory Count screen grid.

  • 3 October 2023
  • 6 replies

Userlevel 4
Badge +1


I added new Field (Selector of Inventories/Any Data) in Physical Inventory Count grid.

If I enter Value in one line, remaining Lines Value get Vanishing.

Is there any Base Code affecting this or any approach to do for this screen??


6 replies

Userlevel 6
Badge +3

HI @girik06,

If you can share the implemented code that will be helpful to suggest anything.

Userlevel 4
Badge +1

Hi @praveenpo 
DAC Extension:

 public class INPIDetailExt:PXCacheExtension<INPIDetail>
        #region SerialNbr
        [PXUIField(DisplayName = "Serial Nbr", Enabled = true)]
        [PXSelector(typeof(Search<SerialNbr.Nbr, Where<SerialNbr.inventoryID,
            SubstituteKey = typeof(SerialNbr.Nbr))]
        public virtual string UsrSerialNbr { get; set; }
        public abstract class usrSerialNbr : PX.Data.BQL.BqlString.Field<usrSerialNbr> { }



    <px:PXGridColumn DataField="UsrSerialNbr" Width="220" CommitChanges="true" /></Columns>


Userlevel 2

Try adding a <px:PXSelector> tag within the gridlevel’s <RowTemplate> tag as well for your new field.  It may offer a different behavior.

Userlevel 4
Badge +1

@jedmunds36 added PXSelector also..same behaviour

Userlevel 2

We are using a usr Field much like yours and having a PXSelector in the grid markup.  Did you try removing the Substitutekey=  from your selector definition?  Try also adding AutoRefresh=”true” to the rowtemplate markup for the selector.

Userlevel 7
Badge +10

Hi @girik06 ,

You can try removing the "CommitChanges" attribute from your <px:PXGridColumn> element

<px:PXGridColumn DataField="UsrSerialNbr" Width="220" />

If the issue persists, it's possible that there might be base code or other customizations affecting the behavior of the grid.


Hope it helps!





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