Skip to main content

Built-in customization environment created an incorrect declaration.

  • November 28, 2024
  • 1 reply
  • 25 views

Forum|alt.badge.img+7

@Dmitrii Naumov - I wasn’t sure where to report this to. 

24.204.0004

Using the built in customization interface I asked it to create an override of the SOInvoiceEntry.InvoiceOrder method and it produced this:

public delegate void InvoiceOrderDelegate(InvoiceOrderDelegateArgs args);
[PXOverride]
public void InvoiceOrder(InvoiceOrderArgs args, InvoiceOrderDelegate baseMethod)
{
baseMethod(args);
}

But should have produced this:

public delegate void InvoiceOrderDelegate(InvoiceOrderArgs args);
[PXOverride]
public void InvoiceOrder(InvoiceOrderArgs args, InvoiceOrderDelegate baseMethod)
{
baseMethod(args);
}

It inserted the word “Delegate” into the name of the data type of the delegate’s parameter declaration.

1 reply

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • November 28, 2024

@Django thanks for reporting. 

We’ll fix it in some time.