public override void Prefetch(PXGraph graph) { base.Prefetch(graph); _open = new SelectOpenEPGenericActivity <EventClassId>(graph).Count(); _today = new SelectTodayEPGenericActivity <EventClassId>(graph).Count(); _new = new SelectNewEPGenericActivity <EventClassId>(graph).Count(); }
public override void Prefetch(PXGraph graph) { base.Prefetch(graph); _open = new SelectOpenEPGenericActivity <TaskClassId>(graph).Count(); _today = new SelectOpenAndOverdueEPGenericActivity <TaskClassId, Tomorrow>(graph).Count(); _new = new SelectNewAndOverdueNewEPGenericActivity <TaskClassId>(graph).Count(); }