public void TraerRegistro(int n_IdRegistro) { BE_VTA_GUIAS Ent_Guias = new BE_VTA_GUIAS(); DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT16", n_IdRegistro.ToString() } }; dtLista = null; dtLista = xMiFuncion.StoreDTLLenar("vta_pedidocen_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; return; } arrParametros[0, 0] = "n_idped"; dtDetalle = xMiFuncion.StoreDTLLenar("vta_pedidocendet_select", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; return; } return; }
public void TraerRegistro(int n_IdRegistro) { DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT32", n_IdRegistro.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_proviciones_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } arrParametros[0, 0] = "n_idpro"; dtDetalle = xMiFuncion.StoreDTLLenar("con_provicionesdet_select", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void TraerRegistro(int n_IdRegistro) { BE_VTA_CHOFER Ent_Chofer = new BE_VTA_CHOFER(); DatosMySql xMiFuncion = new DatosMySql(); DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT16", n_IdRegistro.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("vta_boletaresumen_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtLista = null; } string[,] arrParametros2 = new string[1, 3] { { "n_idres", "System.INT16", n_IdRegistro.ToString() } }; dtListaDet = xMiFuncion.StoreDTLLenar("vta_boletaresumendet_listar", arrParametros2, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtListaDet = null; } return; }
public void TraerRegistro(int n_IdRegistro) { DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT32", n_IdRegistro.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_regretencion_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } else { string[,] arrParametros2 = new string[1, 3] { { "n_idreg", "System.INT32", n_IdRegistro.ToString() }, }; dtDetalle = xMiFuncion.StoreDTLLenar("con_regretenciondet_listar", arrParametros2, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } } return; }
public void TraerRegistro(int n_idSocio) { DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT32", n_idSocio.ToString() } }; string[,] arrParametros2 = new string[1, 3] { { "n_idser", "System.INT32", n_idSocio.ToString() } }; dtServicios = xMiFuncion.StoreDTLLenar("coo_servicios_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == false) { dtServiciosDet = xMiFuncion.StoreDTLLenar("coo_serviciosdet_listar", arrParametros2, mysConec); if (xMiFuncion.booOcurrioError == true) { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } } else { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public DataTable TraerRegistro(int n_IdEmpresa) { DataTable DtResultado = new DataTable(); DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[1, 3] { { "n_idemp", "System.INT32", Convert.ToString(n_IdEmpresa) } }; DtResultado = xMiFuncion.StoreDTLLenar("sys_empresa_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; return(null); } else { dtFolderDocImpresion = xMiFuncion.StoreDTLLenar("sys_empresafolimp_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; dtFolderDocImpresion = null; return(null); } } return(DtResultado); }
public bool Listar(int n_IdProduccion) { bool b_result = false; string[,] arrParametros = new string[1, 3] { { "n_idpro", "System.INT64", n_IdProduccion.ToString() } }; dtListar = xMiFuncion.StoreDTLLenar("pro_producciontareas_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber == 0) { dtListarPersonal = xMiFuncion.StoreDTLLenar("pro_producciontareasdet_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber == 0) { b_result = true; } else { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } } else { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return(b_result); }
public void GenerarCargos(int n_IdEmpresa, int n_anotra, int n_mestra, string c_glosa, string c_fchini, string c_fchfin, int n_idtipdoc) { //coo_cargos_generarcargomensualcab //coo_cargos_generarcargomensual DataTable DtResultado = new DataTable(); DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[7, 3] { { "n_idemp", "System.INT16", n_IdEmpresa.ToString() }, { "n_anotra", "System.INT16", n_anotra.ToString() }, { "n_mestra", "System.INT16", n_mestra.ToString() }, { "c_glosa", "System.STRING", c_glosa.ToString() }, { "c_fchini", "System.STRING", c_fchini.ToString() }, { "c_fchfin", "System.STRING", c_fchfin.ToString() }, { "n_idtipdoc", "System.INT16", n_idtipdoc.ToString() } }; dtCargosCab = xMiFuncion.StoreDTLLenar("coo_cargos_generarcargomensualcab", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } dtCargosDet = xMiFuncion.StoreDTLLenar("coo_cargos_generarcargomensual", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public bool ListarPedidosPendientes(int n_IdEmpresa, int n_IdCliente) { bool b_result = false; DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[2, 3] { { "n_idemp", "System.INT16", n_IdEmpresa.ToString() }, { "n_idcli", "System.INT16", n_IdCliente.ToString() } }; DtResultado = xMiFuncion.StoreDTLLenar("vta_pedidocli_listarpendientescliente", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } else { dtLisPedPend = DtResultado; b_result = true; } return(b_result); }
public void Listar() { string[,] arrParametros = new string[0, 3] { }; dtDocumentos = xMiFuncion.StoreDTLLenar("tes_documentos_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } }
public void Listar(int n_IdEmpresa) { string[,] arrParametros = new string[1, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() } }; dtDestino = xMiFuncion.StoreDTLLenar("tes_destino_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } }
public string UltimoNumero(int n_idemp, int n_idtipdoc, string c_numser) { string c_Dato = ""; DataTable DtResultado = new DataTable(); DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT16", n_idemp.ToString() }, { "n_idtipdoc", "System.INT16", n_idtipdoc.ToString() }, { "c_numser", "System.STRING", c_numser } }; DtResultado = xMiFuncion.StoreDTLLenar("sun_tipdoccom_correlativo", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } else { c_Dato = DtResultado.Rows[0]["c_newnumero"].ToString(); } return(c_Dato); }
public bool BuscarArchivo(int n_IdEmpresa, string c_NombreArchivo) { bool b_result = false; DatosMySql xMiFuncion = new DatosMySql(); mysConec = xMiFuncion.ReAbrirConeccion(mysConec); string[,] arrParametros = new string[2, 3] { { "n_idemp", "System.INT16", n_IdEmpresa.ToString() }, { "c_nomarc", "System.STRING", c_NombreArchivo.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("vta_ventasbaja_buscararchivo", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtLista = null; b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; return(b_result); } b_result = true; return(b_result); }
public bool MostrarDescuadrados(int n_IdEmpresa, int n_IdAnoTrabajo, int n_IdMesTrabajo, int n_IdLibro) { DatosMySql xMiFuncion = new DatosMySql(); bool booOk = false; string[,] arrParametros = new string[4, 3] { { "n_idemp", "System.INT16", n_IdEmpresa.ToString() }, { "n_ano", "System.INT16", n_IdAnoTrabajo.ToString() }, { "n_mes", "System.INT16", n_IdMesTrabajo.ToString() }, { "n_lib", "System.STRING", n_IdLibro.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_diario_descuadrados", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == true) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } else { booOk = true; } return(booOk); }
public BE_VTA_PUNVENCLI TraerRegistro(int n_IdRegistro) { BE_VTA_PUNVENCLI Ent_PunVenCli = new BE_VTA_PUNVENCLI(); DatosMySql xMiFuncion = new DatosMySql(); DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT16", n_IdRegistro.ToString() } }; DtResultado = xMiFuncion.StoreDTLLenar("vta_punvencli_obtenerregistro", arrParametros, mysConec); if (DtResultado.Rows.Count != 0) { Ent_PunVenCli.n_idemp = Convert.ToInt32(DtResultado.Rows[0]["n_idemp"].ToString()); Ent_PunVenCli.n_idcli = Convert.ToInt32(DtResultado.Rows[0]["n_idcli"].ToString()); Ent_PunVenCli.n_id = Convert.ToInt32(DtResultado.Rows[0]["n_id"].ToString()); Ent_PunVenCli.c_codcen = DtResultado.Rows[0]["c_codcen"].ToString(); Ent_PunVenCli.c_des = DtResultado.Rows[0]["c_des"].ToString(); Ent_PunVenCli.c_dir = DtResultado.Rows[0]["c_dir"].ToString(); Ent_PunVenCli.n_iddis = Convert.ToInt32(DtResultado.Rows[0]["n_iddis"].ToString()); Ent_PunVenCli.n_idpro = Convert.ToInt32(DtResultado.Rows[0]["n_idpro"].ToString()); Ent_PunVenCli.n_iddep = Convert.ToInt32(DtResultado.Rows[0]["n_iddep"].ToString()); } return(Ent_PunVenCli); }
public string HallaNumeroDocumento(int intIdEmp, int intIdTipDoc, string strNumeroSerie, int intGrabarNumero) { string strNumero = ""; DataTable DtResultado = new DataTable(); DatosMySql xMiFuncion = new DatosMySql(); string[,] arrParametros = new string[4, 3] { { "n_idemp", "System.INT32", Convert.ToString(intIdEmp) }, { "n_idtipdoc", "System.INT32", Convert.ToString(intIdTipDoc) }, { "c_numser", "System.STRING", strNumeroSerie }, { "n_granum", "System.INT32", Convert.ToString(intGrabarNumero) } }; DtResultado = xMiFuncion.StoreDTLLenar("sys_docnum_ObtenerNumeroDocumento", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { strNumero = ""; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } else { string douNumero = DtResultado.Rows[0]["c_numdoc"].ToString(); strNumero = douNumero.ToString(); } return(strNumero); }
public void Listar(int n_IdEmpresa, int n_AñoTrabajo, int n_MesTrabajo) { string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() }, { "n_ano", "System.INT32", n_AñoTrabajo.ToString() }, { "n_mes", "System.INT32", n_MesTrabajo.ToString() } }; dtOrigen = xMiFuncion.StoreDTLLenar("tes_canje_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } }
public void Listartcano(int intMoneda, string c_AnoTrabajo) { string[,] arrParametros = new string[2, 3] { { "n_idmon", "SYSTEM.INT16", intMoneda.ToString() }, { "c_ano", "SYSTEM.INT16", c_AnoTrabajo.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_tc_obtenertcdia", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public bool Listar(int n_IdEmpresa, int n_AnoTrabajo, int n_MesTrabajo) { bool b_Result = false; string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT64", n_IdEmpresa.ToString() }, { "n_anotra", "System.INT64", n_AnoTrabajo.ToString() }, { "n_mestra", "System.INT64", n_MesTrabajo.ToString() }, }; dtPrograma = xMiFuncion.StoreDTLLenar("pro_programa_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtPrograma = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } else { b_Result = true; } return(b_Result); }
public void TraerRegistro(int n_IdRegistro) { BE_COO_PUESTOS entPuestos = new BE_COO_PUESTOS(); DatosMySql xMiFuncion = new DatosMySql(); DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[1, 3] { { "n_id", "System.INT32", n_IdRegistro.ToString() } }; dtCargos = xMiFuncion.StoreDTLLenar("coo_cargos_obtenerregistro", arrParametros, mysConec); if (xMiFuncion.booOcurrioError == false) { string[,] arrParametros2 = new string[1, 3] { { "n_idcar", "System.INT32", n_IdRegistro.ToString() } }; dtCargosCab = xMiFuncion.StoreDTLLenar("coo_cargoscab_listar", arrParametros2, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtCargosCab = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; return; } dtCargosDet = xMiFuncion.StoreDTLLenar("coo_cargosdet_listar", arrParametros2, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtCargosDet = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; return; } } else { booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void Listar(int n_AnoTrabajo, int n_MesTrabajo) { string[,] arrParametros = new string[2, 3] { { "n_idano", "System.INT16", n_AnoTrabajo.ToString() }, { "n_idmes", "System.INT16", n_MesTrabajo.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_tc_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void BuscarNumeroCuenta(string c_NumeroCuenta, int n_IdEmpresa) { string[,] arrParametros = new string[2, 3] { { "c_numcue", "System.STRING", c_NumeroCuenta.ToString() }, { "n_idemp", "System.INT32", n_IdEmpresa.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_pc_buscarnumerocuenta", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void Listar(int n_IdEmpresa, int n_Tipo) { string[,] arrParametros = new string[2, 3] { { "n_idemp", "System.STRING", n_IdEmpresa.ToString() }, { "n_tipo", "System.STRING", n_Tipo.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_pcitems_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void Listar(int n_IdEmpresa) { string[,] arrParametros = new string[1, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() } }; dtListar = xMiFuncion.StoreDTLLenar("est_localsetup_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtListar = null; b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public DataTable Listar() { DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[0, 3] { }; DtResultado = xMiFuncion.StoreDTLLenar("tes_mediopago_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return(DtResultado); }
public void Listar(int n_idempresa, int n_idmes, int n_idano) { string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT64", n_idempresa.ToString() }, { "n_anotra", "System.INT64", n_idano.ToString() }, { "n_mestra", "System.INT64", n_idmes.ToString() }, }; dtLista = xMiFuncion.StoreDTLLenar("log_ordencompra_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void Listar(int n_IdEmpresa, int n_AnoTrabajo, int n_MesTrabajo, int n_TipoRegistro) { string[,] arrParametros = new string[4, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() }, { "n_ano", "System.INT32", n_AnoTrabajo.ToString() }, { "n_mes", "System.INT32", n_MesTrabajo.ToString() }, { "n_tipreg", "System.INT32", n_TipoRegistro.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("con_regpercepcion_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public void Listar(int n_IdEmpresa, int n_AñoTrabajo, int n_MesTrabajo) { string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() }, { "n_anotra", "System.INT32", n_AñoTrabajo.ToString() }, { "n_mestra", "System.INT32", n_MesTrabajo.ToString() } }; mysConec = xMiFuncion.ReAbrirConeccion(mysConec); dtLista = xMiFuncion.StoreDTLLenar("tes_conciliacion_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return; }
public DataTable Listar(int n_IdEmpresa) { DataTable DtResultado = new DataTable(); string[,] arrParametros = new string[1, 3] { { "n_idemp", "System.INT32", n_IdEmpresa.ToString() } }; DtResultado = xMiFuncion.StoreDTLLenar("con_doccomimp_listar", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { DtResultado = null; b_OcurrioError = xMiFuncion.booOcurrioError; c_ErrorMensaje = xMiFuncion.StrErrorMensaje; n_ErrorNumber = xMiFuncion.IntErrorNumber; } return(DtResultado); }
public void Listar(int n_idempresa, int n_anotrabajo, int n_mestrabajo) { string[,] arrParametros = new string[3, 3] { { "n_idemp", "System.INT16", n_idempresa.ToString() }, { "n_ano", "System.INT16", n_anotrabajo.ToString() }, { "n_mes", "System.INT16", n_mestrabajo.ToString() } }; dtLista = xMiFuncion.StoreDTLLenar("vta_boletaresumen_select", arrParametros, mysConec); if (xMiFuncion.IntErrorNumber != 0) { dtLista = null; booOcurrioError = xMiFuncion.booOcurrioError; StrErrorMensaje = xMiFuncion.StrErrorMensaje; IntErrorNumber = xMiFuncion.IntErrorNumber; } return; }