Hi,
I have developed a new screen, In this screen I need to load all the locations of related customer as drop down list in the location filed to allow select and add to the field.

To accomplish this, I used PXSelector attribute like below in the DAC but it is not working as expected.
#region LocationID
[PXDBString(30, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Location",Enabled =false)]
//[PXSelector(typeof(Search<Location.descr, Where<Location.bAccountID, Equal<Current<APProforma.customerID>>>>))]
[PXSelector(typeof(Search2<Location.descr,InnerJoin<Customer,On<Location.locationCD, Equal<Customer.defLocationID>>>>))]
public virtual string LocationID { get; set; }
public abstract class locationID : PX.Data.BQL.BqlString.Field<locationID> { }
#endregion
Can someone help me on this?
thank you.