public override void PrintObject() { CashReportMng reportMng = new CashReportMng(AppContext.ActiveSchema); ReportViewer.SetReport(reportMng.GetDetailReport(EntityInfo)); ReportViewer.ShowDialog(); }
protected void PrintListAction(Cash caja, CashLineList lista) { string filtro = GetFilterValues(); CashReportMng reportMng = new CashReportMng(AppContext.ActiveSchema, Resources.Labels.CAJA_REPORT_TITLE, filtro); CashRpt report = reportMng.GetDetailReport(caja.GetInfo(), lista, FInicial_DTP.Value, FFinal_DTP.Value); ShowReport(report); }
public override void PrintDetailAction() { if (ActiveItem == null) { return; } PgMng.Reset(3, 1, Face.Resources.Messages.RETRIEVING_DATA, this); CashReportMng reportMng = new CashReportMng(AppContext.ActiveSchema); PgMng.Grow(); CierreCajaRpt report = reportMng.GetDetailReport(CierreCajaInfo.Get(ActiveOID, true)); PgMng.FillUp(); ShowReport(report); }