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
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/375ac7c1-7847-4e02-a5f1-1fe9f9f4a1cf.png)
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);
}
else
{
// If UsrProjectFilter is not specified, return all records
return DsplAdditions.Select();
}
}
#endregion
}
}
Here is the error I am getting.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/39225e8f-edd4-4310-8437-5ccfad9130be.png)
I have also attached the customization package below.
What could be the issue?