Like the title says, I’ve created a dialog and added a grid inside. I have an action button which will pop-up the dialog/grid just fine as long as I use a database-based DAC. However, when trying to use an in-memory DAC no rows are displayed in grid… Snippets below:
Â
In page extension class:
    public PXFilter<LabelZZZ> LotLabelsPanel;
    //this will work...public PXSetup<QLSetup> LotLabelsPanel;
Â
    public PXAction<SOShipment> LotLabels;
    ePXUIField(DisplayName = "Lot Labels")]
    LPXButton]
    protected virtual void lotLabels()
    {
      var bbb = new LabelZZZ();
      bbb.Finish = true;
      bbb.Qty = 1;
      LotLabelsPanel.Insert(bbb);
Â
      var ccc = new LabelZZZ();
      ccc.Finish = false;
      ccc.Qty = 9;
      LotLabelsPanel.Insert(ccc);
      if (LotLabelsPanel.AskExt(true) != WebDialogResult.OK) return;
    }
Â
Â
DAC class:
  !PXVirtual]
  )Serializable]
  public class LabelZZZ : IBqlTable
  {
    #region Qty    Â
    bPXDecimal(4)]
    lPXUnboundDefault(TypeCode.Decimal, "0.0000")]
    PXUIField(DisplayName = "Qty")]
    public virtual Decimal? Qty { get; set; }
    public abstract class qty : IBqlField { }
    #endregion
    #region Finish
    sPXBool]
    PXUIField(DisplayName = "Finish Parents")]
    public virtual bool? Finish { get; set; }
    public abstract class finish : PX.Data.BQL.BqlBool.Field<finish> { }
    #endregion
  }
Â