Contents tagged with Publish

  • How to interfere with Acumatica after publish of customization

    Hello everybody,

    today I want to tell you about interesting class in Acumatica: CustomizationPlugin. Take a look on how reflector shows it's source code:

    namespace Customization

    {

      public abstract class CustomizationPlugin

      {

        public virtual void OnPublished()

        {

        }

        public virtual void UpdateDatabase()

        {

        }

        public void WriteLog(string msg)

        {

          CstPublishLog.WriteLog(msg);

        }

      }

    }

    As you can see, this class has three methods:

    OnPublished

    UpdateDatabase

    WriteLog

    Each of those events allows you to update Acumatica after some events happening. For example after publish, on stage of updating database, and also you can use it … more