Skip to main content
Question

Cannot get a PXOveride signature (delegate) to work in 26R1 Self Service Portal

  • September 30, 2026
  • 3 replies
  • 22 views

Joe Schmucker
Captain II
Forum|alt.badge.img+3

I am trying to override a method in the Self Service Portal installed as MUI.  The error states that my signature doesn’t match the one I am overriding.  Looks correct to me...

	public class ICSInventoryLineMaint : PXGraphExtension<SPInventoryItemMaint>
{
public static bool IsActive() => true;

public delegate IEnumerable FetchItemsDelegate(FetchItemsSource source = FetchItemsSource.Catalog,
bool readOnly = false);
[PXOverride]
public IEnumerable FetchItems(FetchItemsSource source = FetchItemsSource.Catalog,
bool readOnly = false, FetchItemsDelegate base_FetchItems = null)
{

Here is a screen shot showing the squiggle

The original method signature is:

public virtual IEnumerable FetchItems(
FetchItemsSource source = FetchItemsSource.Catalog,
bool readOnly = false)
{

I set my delegate as optional as this is a necessary thing to do when there is an optional parameter in the original signature.

It looks like my signature matches the original.

Any idea what I have done wrong?

 

3 replies

Forum|alt.badge.img+8
  • Captain II
  • September 30, 2026

I think you want:

public IEnumerable FetchItems(
FetchItemsSource source,
bool readOnly,
FetchItemsDelegate base_FetchItems)
{
// Execute the base method
return base_FetchItems(source, readOnly);
}

Leave out the = false since your delegate is going to pass a value, it will never be optional. The = null for base_FetchItems isn’t necessary since it always has a value.

Also, and unrelated, what kind of hotkey madness is this:

 


Joe Schmucker
Captain II
Forum|alt.badge.img+3
  • Author
  • Captain II
  • September 30, 2026

​@Django Still get squiggles!  :-)

 

Same error.

Yea...that’s a lot of hotkey madness!!!!  LOL


Forum|alt.badge.img+8
  • Captain II
  • September 30, 2026

Can you try with virtual? You’re missing that.