public static CRCaseActivityHelper <TableRefNoteID, TableOwnerID> Attach(PXGraph graph)
        {
            var res = new CRCaseActivityHelper <TableRefNoteID, TableOwnerID>(graph);

            graph.RowInserting.AddHandler <EPActivity>(res.ActivityRowInserting);
            graph.RowInserted.AddHandler <EPActivity>(res.ActivityRowInserted);
            graph.RowSelected.AddHandler <EPActivity>(res.ActivityRowSelected);
            graph.RowUpdated.AddHandler <EPActivity>(res.ActivityRowUpdated);

            return(res);
        }
 public CRCaseActivityMaint()
 {
     CRCaseActivityHelper <EPActivity.refNoteID, EPActivity.owner> .Attach(this);
 }