Question

How to override "public virtual void Reset(SourceAssign source)" method

  • 3 November 2021
  • 0 replies
  • 73 views

Userlevel 7
Badge +8

I need to override a piece of Acumatica’s Approval process that wipe outs the approval log when a document is put “On hold”. Not sure why Acumatica approval engine violates internal controls and clears the approval history log. The piece of the code that prevents from approving a rejected document is in EP\Descriptor\Attributes.cs as follows:

        public virtual void Reset(SourceAssign source)
        {
            foreach (EPApproval item in this._History.SelectMulti(GetSourceNoteID(source)))
                this.Cache.Delete(item);
        }
 


0 replies

Be the first to reply!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved