コード例 #1
0
        public static ReportDocument GetReportComprobantesCompras(ComprobantesComprasBL comprobantesComprasBL, DateTime fechaDesde, DateTime fechaHasta)
        {
            ComprobantesComprasRpt result = new ComprobantesComprasRpt();

            result.SetDataSource(comprobantesComprasBL.GetDTODataSource(fechaDesde, fechaHasta));
            result.SetParameterValue(result.Parameter_FechaDesde.ParameterFieldName, fechaDesde.ToString("dd/MM/yyyy"));
            result.SetParameterValue(result.Parameter_FechaHasta.ParameterFieldName, fechaHasta.ToString("dd/MM/yyyy"));
            result.SetParameterValue(result.Parameter_Empresa.ParameterFieldName, "");
            return(result);
        }
コード例 #2
0
        private void mnuCompras_NotasDebito_Click(object sender, EventArgs e)
        {
            ComprobantesComprasBL notasDebitoBL = BusinessLogicFactory.GetBusinessLogicInstance(db, typeof(ComprobantesComprasBL)) as ComprobantesComprasBL;

            notasDebitoBL.SetTipoFilter(TiposComprobantesList.NotaDebito);

            CRUDComprobantesComprasController result = new CRUDComprobantesComprasController(notasDebitoBL, "Notas de Débito de Proveedores", "Notas de Débito de Proveedores", typeof(ComprobantesComprasCRUD));

            CRUDControllerManager.Instance.GetCRUDChildControllerManager().SetChildControllers(result);
            result.ShowGrid();
        }
コード例 #3
0
 public LibroComprasAFIPController(ComprobantesComprasBL comprobantesComprasBL, EmpresasBL empresasBL)
 {
     libroIVAComprasBL = new LibroIVAComprasBL(comprobantesComprasBL);
     this.empresasBL   = empresasBL;
 }