I have the same question as this topic which never received an answer:
I need to override the EmailPurchaseOrder action to do a simple update to a custom field.
public delegate IEnumerable emailPurchaseOrder(PXAdapter adapter, [PXString] string notificationCD = null);
[PXButton(CommitChanges = true), PXUIField(DisplayName = "Email PO")]
[PXOverride]
public virtual IEnumerable EmailPurchaseOrder(
PXAdapter adapter,
[PXString]
string notificationCD = null, emailPurchaseOrder BaseMethod)
{
//Logic Here
I get an error that the optional parameter must be the last item in the method.
Any solutions for this?