Exemplo n.º 1
0
        public override void PrintDetailAction()
        {
            CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            ChargeInfo cobro = ChargeInfo.Get(ActiveItem.Oid, ActiveItem.ETipoCobro, true);

            switch (ActiveItem.ETipoCobro)
            {
            case ETipoCobro.Cliente:
            {
                CobroDetailRpt report = reportMng.GetDetallesCobroIndividualReport(cobro);

                ShowReport(report);
            }
            break;

            case ETipoCobro.REA:
            {
                FacREAList expedientes = FacREAList.GetListByCobro(cobro.Oid);

                CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(cobro, expedientes);

                ShowReport(report);
            }
            break;
            }
        }
        protected override void PrintAction()
        {
            CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema);

            FacREAList expedientes = FacREAList.GetListByCobro(Entity.Oid);

            CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(EntityInfo, expedientes);

            ShowReport(report);
        }
Exemplo n.º 3
0
        protected override void PrintCobroAction()
        {
            if (Cobro == null)
            {
                return;
            }

            CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema);

            ReportViewer.SetReport(reportMng.GetDetallesCobroREAIndividualReport(Cobro, Datos_Facturas.DataSource as FacREAList));
            ReportViewer.ShowDialog();
        }
Exemplo n.º 4
0
        public override void PrintDetailAction()
        {
            if (ActiveItem == null)
            {
                return;
            }

            CobroReportMng reportMng = new CobroReportMng(AppContext.ActiveSchema, this.Text, FilterValues);

            FacREAList expedientes = FacREAList.GetListByCobro(ActiveOID);

            CobroREADetailRpt report = reportMng.GetDetallesCobroREAIndividualReport(ActiveItem, expedientes);

            ShowReport(report);
        }