Example #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);
        }
Example #3
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);
        }
        protected override void RefreshMainData()
        {
            Datos.DataSource = _entity;
            PgMng.Grow();

            _facturas_todas             = FacREAList.GetListByCobro(_entity.Oid);
            _facturas                   = FacREAList.GetSortedList(_facturas_todas, "NExpediente", ListSortDirection.Ascending);
            REAExpedients_BS.DataSource = _facturas;

            PgMng.Grow();

            UpdateAsignado();

            base.RefreshMainData();
        }