Solved

Acumatica Grid Loses rows on refresh


Userlevel 2
Badge

 public PXSelectReadonly<ITDeliveryPlanning.ITDeliveryPlanning,
        Where<ITDeliveryPlanning.ITDeliveryPlanning.receiptNbr, Equal<Current<POReceipt.receiptNbr>>>> ViewDeliveryPlaneceipt;

 

 

 

Acumatica Grid Loses rows on refresh, Why like that ?

icon

Best answer by Yuriy Zaletskyy 3 March 2023, 15:09

View original

2 replies

Userlevel 5
Badge +3
POReceipt has two key fields: ReceiptType and ReceiptNumber. Modify your PXSelect statement to have two fields.

You can find description of key fields in Acumatica source code:

	public partial class POReceipt : PX.Data.IBqlTable, PX.Data.EP.IAssign
{
#region Keys
public class PK : PrimaryKeyOf<POReceipt>.By<receiptType, receiptNbr>
{
public static POReceipt Find(PXGraph graph, string receiptType, string receiptNbr) => FindBy(graph, receiptType, receiptNbr);
}

 

Userlevel 4
Badge +1

Hi @Febri,

Did you set the SynPosition = true,  under Layout properties for that grid?

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