Contents tagged with Create Payment

  • How to override properly CreatePaymentProc method of SOOrderEntry graph in Acumatica

    Hello everybody,

    today I want to leave short note on how to override and call CreatePaymentProc method of Acumatica which I discovered today with Naveen from Kensium.

    My favorite way of overriding methods in Acuamtica with usage of Action and passing there parameters doesn't work. That is because Acumatica uses in method CreatePaymentProc out modifier. Due to this, delegate declaration is needed. 

    After some efforts and refactorings we found following code that is working:

    public class SOOrderEntryExt : PXGraphExtension<SOOrderEntry>

    {

        public delegate void CreatePaymentBase(SOOrder order, out PXGraph target, string paymentType);

        [PXOverride]

        public virtual void  … more