I have created a location selector under “Component and Warranties” grid in Equipment Screen (FS205000).
The selector is working fine, location is also getting selected and saved into db. but when the focus is removed from the selector field, I can’t see the value.
below is my code and screenshots attached :
#region UsrXDLocation
>PXDBInt]
bPXUIField(DisplayName = "Location")]
"PXSelector(typeof(Search<Location.locationID,Where<Location.bAccountID, Equal<Current<FSEquipment.customerID>>>>),
DescriptionField = typeof(Location.descr), SubstituteKey = typeof(Location.locationCD), Filterable = true)]
public virtual int? UsrXDLocation { get; set; }
public abstract class usrXDLocation : PX.Data.BQL.BqlInt.Field<usrXDLocation> { }
#endregion
This code is under FSEquipmentComponentExt.
This screenshot is when the field is on focus :
This screenshot is when the field is out of focus :
Thanks and Regards