Skip to main content
Solved

GetBqlTableSystemData(): The method or operation is not implemented.

  • October 17, 2024
  • 2 replies
  • 71 views

Forum|alt.badge.img+2

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:

[Serializable]
    //[PXHidden]
    public class InventoryItemPrintSelectFilter : PXBqlTable, IBqlTable
    {
        #region Selected
        [PXBool]
        [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)] 
        [PXDefault] 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;

        [PXDBString(30, IsUnicode = true)]
        [PXUIField(DisplayName = "Item Class ID", Visibility = PXUIVisibility.SelectorVisible)]
        [PXDimensionSelector(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)]
        [PXSelector(typeof(Search<CSAttributeDetail.description,
            Where<CSAttributeDetail.attributeID, Equal<AttributeBrand>>>))]
        public virtual string InventoryItemBrand
        {
            get { return this._Brand; }
            set { this._Brand = value; }
        }

        [SuppressMessage("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()]
        [PXDefault("No prices on labels", PersistingCheck = PXPersistingCheck.Nothing)]
        public virtual string PrintMode
        {
            get { return this._PrintMode; }
            set { this._PrintMode = value; }
        }
        [SuppressMessage("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;
        [PXString()]
        [PXDefault("use the following", PersistingCheck = PXPersistingCheck.Nothing)]
        public virtual string QtyMode
        {
            get { return this._QtyMode; }
            set { this._QtyMode = value; }
        }
        [SuppressMessage("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;
        [PXString()]
        [PXDefault("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

    }

 

Best answer by bpgraves

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

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

View original
Did this topic help you find an answer to your question?

2 replies

darylbowman
Captain II
Forum|alt.badge.img+13

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.


Forum|alt.badge.img+2
  • Author
  • Semi-Pro I
  • 66 replies
  • Answer
  • October 17, 2024

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

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings