How do I override the Capture CC action on the payments and applications screen? I pretty much want to run the basemethod in the override and once basemethod is completed, update a custom field.
I tried below but it isn’t working as expected.
public class BMEP_ARPaymentEntry_PaymentTransactionExt : PXGraphExtension<ARPaymentEntryPaymentTransaction, ARPaymentEntry>
public static bool IsActive() => true;
public override void Initialize() => base.Initialize();
public delegate IEnumerable CaptureCCPaymentDelegate(PXAdapter adapter);
public virtual IEnumerable CaptureCCPayment(PXAdapter adapter, CaptureCCPaymentDelegate baseMethod)
Thank you for your help!
Best answer by Evgeny AfanasievView original