Hi
I am adding the warehouse location field to the deadstock screen.
I managed to add the field and view the location for each warehouse. However the data is not filtering based on the location.
I know I tried creating a graph extension to add the location as a filter but its not working.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/a38d9a29-b3e8-4527-a13f-90123c5a189b.png)
Â
using PX.Common;
using PX.Data;
using PX.Objects.CS;
using PX.Objects.IN.DAC.Unbound;
using PX.Objects;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
namespace PX.Objects.IN.DAC.Unbound
{
   public class INDeadStockEnqFilterExt : PXCacheExtension<PX.Objects.IN.DAC.Unbound.INDeadStockEnqFilter>
   {
     #region Usrlocation
     oPXDBInt]
     ÂPXSelector(typeof(Search<INLocation.locationID, Where<INLocation.siteID, Equal<Current<INDeadStockEnqFilter.siteID>>>>),
       typeof(INLocation.locationCD),
       typeof(INLocation.descr),
       SubstituteKey = typeof(INLocation.locationCD))]
     SPXUIField(DisplayName = "Location")]
     public virtual int? Usrlocation { get; set; }
     public abstract class usrlocation : PX.Data.BQL.BqlInt.Field<usrlocation> { }
     #endregion
   }
}