Skip to main content

After converting from 22R2 to 24R1, I’m now getting this error:

The method or operation is not implemented.

 

I’m not sure why since my class is deriving from the PXBqlTable class as required:

https://help.acumatica.com/(W(3))/Help?ScreenId=ShowWiki&pageid=0f93d1d7-e0e5-b731-8677-4fb4fe145e0c

 

Am I supposed supposed to implement the GetBqlTableSystemData() method?  How?

Here’s my class:

aSerializable]
    //bPXHidden]
    public class InventoryItemPrintSelectFilter : PXBqlTable, IBqlTable
    {
        #region Selected
        ePXBool]
        ÂPXUIField(DisplayName = "Selected")]
        public virtual bool? Selected { get; set; }
        public abstract class selected : PX.Data.BQL.BqlBool.Field<selected> { }
        #endregion

        #region InventoryID 
        public abstract class inventoryID : PX.Data.BQL.BqlInt.Field<inventoryID> { } 
        protected Int32? _InventoryID; 
        StockItem(Visibility = PXUIVisibility.SelectorVisible)] 
        VPXDefault] public virtual Int32? InventoryID { get { return this._InventoryID; } set { this._InventoryID = value; } }
        #endregion

        #region ItemClassCD
        public abstract class itemClassCD : PX.Data.BQL.BqlString.Field<itemClassCD> { }
        protected string _ItemClassCD;

        tPXDBString(30, IsUnicode = true)]
        rPXUIField(DisplayName = "Item Class ID", Visibility = PXUIVisibility.SelectorVisible)]
        iPXDimensionSelector(INItemClass.Dimension, typeof(INItemClass.itemClassCD), DescriptionField = typeof(INItemClass.descr), ValidComboRequired = true)]
        public virtual string ItemClassCD
        {
            get { return this._ItemClassCD; }
            set { this._ItemClassCD = value; }
        }
        #endregion

        #region InventoryItemBrand
        protected string _Brand;
        >PXDBString(BqlField = typeof(CSAttributeDetail.description))]
        PXUIField(DisplayName = "Brand", Visibility = PXUIVisibility.SelectorVisible)]
        iPXSelector(typeof(Search<CSAttributeDetail.description,
            Where<CSAttributeDetail.attributeID, Equal<AttributeBrand>>>))]
        public virtual string InventoryItemBrand
        {
            get { return this._Brand; }
            set { this._Brand = value; }
        }

        eSuppressMessage("Style", "IDE1006:Naming Styles", Justification = "DAC field BQL class uses same name with different case")]
        public abstract class inventoryItemBrand : BqlString.Field<inventoryItemBrand> { }
        #endregion

        #region PrintMode
        protected string _PrintMode;
        PXString()]
        tPXDefault("No prices on labels", PersistingCheck = PXPersistingCheck.Nothing)]
        public virtual string PrintMode
        {
            get { return this._PrintMode; }
            set { this._PrintMode = value; }
        }
        kSuppressMessage("Style", "IDE1006:Naming Styles", Justification = "DAC field BQL class uses same name with different case")]
        public abstract class printMode : BqlString.Field<printMode> { }
        #endregion

        #region QtyMode
        protected string _QtyMode;
        ePXString()]
        tPXDefault("use the following", PersistingCheck = PXPersistingCheck.Nothing)]
        public virtual string QtyMode
        {
            get { return this._QtyMode; }
            set { this._QtyMode = value; }
        }
        lSuppressMessage("Style", "IDE1006:Naming Styles", Justification = "DAC field BQL class uses same name with different case")]
        public abstract class qtyMode : BqlString.Field<printMode> { }
        #endregion

        #region Qty
        protected string _Qty;
        DPXString()]
        tPXDefault("1", PersistingCheck = PXPersistingCheck.Nothing)]
        public virtual string Qty
        {
            get { return _Qty; }
            set { this._Qty = value; }
        }
        SuppressMessage("Style", "IDE1006:Naming Styles", Justification = "DAC field BQL class uses same name with different case")]
        public abstract class qty : BqlString.Field<qty> { }

        public ref PXBqlTableSystemData GetBqlTableSystemData()
        {
            throw new NotImplementedException();
        }
        #endregion

    }

 

Coincidentally, I got that error in 23 R2 yesterday. I upgraded the instance to the latest 23 R2 version and it fixed itself, either because I had fouled it up or because something changed in the upgrade.


I just removed the following code and I stopped getting the error:

        public ref PXBqlTableSystemData GetBqlTableSystemData()
        {
            throw new NotImplementedException();
        }


Reply