protected virtual IEnumerable items() { ScheduleProjectionFilter filter = Filter.Current; PXSelectBase <DRScheduleDetail> select = new PXSelectJoin <DRScheduleDetail, InnerJoin <DRSchedule, On <DRScheduleDetail.scheduleID, Equal <DRSchedule.scheduleID> >, InnerJoin <DRDeferredCode, On <DRDeferredCode.deferredCodeID, Equal <DRScheduleDetail.defCode> > > >, Where <DRDeferredCode.method, Equal <DeferredMethodType.cashReceipt> > >(this); if (!string.IsNullOrEmpty(filter.DeferredCode)) { select.WhereAnd <Where <DRScheduleDetail.defCode, Equal <Current <ScheduleProjectionFilter.deferredCode> > > >(); } return(select.Select()); }
protected virtual void ScheduleProjectionFilter_RowSelected(PXCache cache, PXRowSelectedEventArgs e) { ScheduleProjectionFilter filter = Filter.Current; Items.SetProcessDelegate(RunProjection); }