Adding a filed to that filters on the grid on a Maintanance form

  • 12 January 2024
  • 0 replies

Userlevel 1

Good day all,

I have added a project column to the grid on the reconciliation tab of the Fixed Assets form. After that I added a project ID on the header as shown below

When I select a project ID at the top I want it to filter the data below using the project ID selected. I have extended the AssetMant graph using the code below but when I publish I get errors

namespace PX.Objects.FA
public class AssetMaint_Extension : PXGraphExtension<PX.Objects.FA.AssetMaint>
#region Event Handlers
public PXFilter<GLTranFilter> Filter;

protected virtual IEnumerable DsplAdditions()
if (Filter.Current != null && !string.IsNullOrEmpty(Filter.Current.UsrProjectFilter))
// Apply filter to the grid's data view based on UsrProjectFilter
return DsplAdditions.Select().RowCast<FAAccrualTran>().Where(record =>
record.usrPJ == Filter.Current.UsrProjectFilter);
// If UsrProjectFilter is not specified, return all records
return DsplAdditions.Select();

Here is the error I am getting.

I have also attached the customization package below.

What could be the issue?



0 replies

Be the first to 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