public string elimina_tarifas()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.eliminatarifas(this.IDTarifas);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_barcos()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificabarcos(this.idbarco, this.nombre, this.trb, this.TipoCarga);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string elimina_remolcadores()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.eliminaremolcador(this.idremolcador);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_remolques()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaremolcador(this.idremolcador, this.nombre, this.Caballaje, this.tamaño);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_servicios()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaservicios(this.idservicio, this.nombre, this.descuento);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_navieras()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificanavieras(this.idnavieras, this.nombre, this.direccion, this.poblacion, this.telefono, this.rfc, this.contacto);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_clientes()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaclientes(this.idcliente, this.idnavieras, this.nombre, this.direccion, this.poblacion, this.telefono, this.rfc, this.contacto, this.moneda, this.nacionalidad, this.calle, this.NumExt, this.NumInt, this.Colonia, this.Localidad, this.ReferenciasDir, this.Estado, this.Pais, this.Email, this.CodigoPostal, this.estadoextranjero, this.paisextranjero);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
 public string modifica_tarifas()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificatarifa(this.IDTarifas, this.nombre, this.Cuota_Basica1, this.Cuotabasica2, this.CuotaBasica3, this.CuotaBasica4, this.RemolcadorExtraP, this.RemolcadorExtraM, this.RemolcadorExtraG, this.ServicioContinuoA, this.ServicioContinuoB, this.ServicioContinuoC);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
Пример #9
0
 public string modificaexistencias()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.actualizaexistenciasproductos(this.IDProducto, this.Cantidad);
         return("Correcto");
     }
     catch (Exception ex)
     {
         return("Error de coneccion" + ex);
     }
 }
Пример #10
0
 public string modifica_Productos()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaproductos(this.IDProducto, this.idproveedor, this.Presentacion, this.Descripcion, this.Precio, this.Inventariable);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
Пример #11
0
 public string modifica_Proveedores()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaproveedores(this.idproveedor, this.nombrecomercial, this.contacto, this.telefono, this.Email, this.rfc, this.RazonSocial, this.ReferenciasDir);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }
Пример #12
0
 public string modifica_clientes()
 {
     try
     {
         BO.DS_CatalogosTableAdapters.QueriesTableAdapter queries = new EquimarFac.BO.DS_CatalogosTableAdapters.QueriesTableAdapter();
         queries.modificaclientes(this.idcliente, this.nombrecomercial, this.contacto, this.telefono, this.Email, this.rfc, this.RazonSocial, this.calle, this.NumExt, this.NumInt, this.Colonia, this.Localidad, this.ReferenciasDir, this.Municipio, this.Estado, this.Pais, this.CodigoPostal);
         return("Correcto");
     }
     catch
     {
         return("Error de coneccion");
     }
 }