Hi,
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??
Thanks.
HI
If you can share the implemented code that will be helpful to suggest anything.
Hi
DAC Extension:
public class INPIDetailExt:PXCacheExtension<INPIDetail>
{
#region SerialNbr
=PXSelector(typeof(Search<SerialNbr.Nbr, Where<SerialNbr.inventoryID,
Equal<Current<INPIDetail.inventoryID>>>>),
SubstituteKey = typeof(SerialNbr.Nbr))]
public virtual string UsrSerialNbr { get; set; }
public abstract class usrSerialNbr : PX.Data.BQL.BqlString.Field<usrSerialNbr> { }
#endregion
}
ASPX:
<px:PXGridColumn DataField="UsrSerialNbr" Width="220" CommitChanges="true" /></Columns>
Try adding a <px:PXSelector> tag within the gridlevel’s <RowTemplate> tag as well for your new field. It may offer a different behavior.
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.
Hi
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!
Regards,
Sweta
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.