Contents tagged with Activities

  • How to modify activities behavior on Business Accounts page

    Hello everybody,

    today I want to write a few words on how to modify behavior of buttons Add task, Add event, Add email, Add activity, ..., Add work item of Business Accounts page, one of which is shown on screenshot below:

    The main issue of chaning it is in the fact, that it is not just ordinary buttons, but separate class, which has injection of logic. Part of it's declaration goes below:

    public class CRActivityList<TPrimaryView> : CRActivityListBase<TPrimaryView, CRPMTimeActivity>

      where TPrimaryView : class, IBqlTable, new()

    {

      public CRActivityList(PXGraph graph)

        : base(graph)

      {

      }

      public CRActivityList(PXGraph graph, Delegate handler)

        : base(graph,  … more