public ComprobanteXTienda_DatosInicialesBE ListarDatosIniciales(string usuario, int idCliente) { ComprobanteXTienda_DatosInicialesBE obe = new ComprobanteXTienda_DatosInicialesBE(); List <ComprobanteXTiendaBE> lobe = new List <ComprobanteXTiendaBE>(); List <ListaComboBE> loCliente = new List <ListaComboBE>(); List <ListaComboBE> loTienda = new List <ListaComboBE>(); List <ListaComboBE> loComprobante = new List <ListaComboBE>(); List <ReporteColumnas> loColumns = new List <ReporteColumnas>(); List <ComprobanteXTiendaExportBE> loExport = new List <ComprobanteXTiendaExportBE>(); using (SqlConnection con = new SqlConnection(strCnxRule)) { con.Open(); loCliente = oMaestrosDA.Cliente(con, usuario, idCliente); lobe = oComprobanteXTiendaDA.ListarDatosIniciales(con, usuario, out loColumns, out loExport); loTienda = oMaestrosDA.ComboTienda(con, usuario, idCliente, -1); loComprobante = oMaestrosDA.ComboComprobante(con, usuario, idCliente); } obe.loListado = lobe; obe.loCliente = loCliente; obe.loTienda = loTienda; obe.loComprobante = loComprobante; obe.loColumns = loColumns; obe.loExport = loExport; return(obe); }