Acumatica Version 19.205
I have a PXSelector attribute set on an unbound DAC field but, it's not showing the selector window when I click on the lookup icon in the field on the page. I can start typing the inventory CD in the field and I get a drop down that tries to guess what I'm looking for but, no popup window. I'm using the APDocumentEnq class as a reference.
Also, I'm using a PXFilter<(MyUnboundDAC)> as the view for the form.
#region Item
protected int? _Item;
[PXDBInt]
[PXUIField(DisplayName = "Item")]
[PXSelector(typeof(InventoryItem.inventoryID),
SubstituteKey = typeof(InventoryItem.inventoryCD), CacheGlobal = true)]
public virtual int? Item {
get
{
return this._Item;
}
set
{
this._Item = value;
}
}
public abstract class item : PX.Data.BQL.BqlInt.Field<item> { }
#endregion
Here's the HTML for the lookup:
<px:PXSelector CommitChanges="True" runat="server" ID="CstPXSelector54" DataField="Item" ></px:PXSelector>
TIA!
