public Boolean InsertarPiezaLocal(int iCodPieza) { HHsvc.SCPP_HH proxy = DA.ConfigDataAccess.ObtenerServiceProxy(); string sError = string.Empty; Boolean error = false; try { DataTable dt = proxy.ObtenerPieza(iCodPieza, true); this.InsertarInformacion(dt, "pieza"); } catch (Exception ex) { error = true; throw ex; } return(error); }