function Modificacion() { $data = $this->export(); $sql = CreaUpdateSimple($data, "ges_laboratorios", "IdLaboratorio", $this->get("IdLaboratorio")); $res = query($sql); if (!$res) { $this->Error(__FILE__ . __LINE__, "W: no actualizo laboratorio"); return false; } return true; }
function Modificacion() { $data = $this->export(); $sql = CreaUpdateSimple($data, "ges_albaranes_traspaso", "IdAlbaranTraspaso", $this->get("IdAlbaranTraspaso")); $res = query($sql, 'Modificamos un albaran'); if (!$res) { $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor"); return false; } return true; }
function Modificacion() { $data = $this->export(); $sql = CreaUpdateSimple($data, "ges_dinero_movimientos", "IdOperacionCaja ", $this->get("IdOperacionCaja ")); $res = query($sql); if (!$res) { $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor"); return false; } return true; }
function Modificacion() { $data = $this->export(); $sql = CreaUpdateSimple($data, "ges_clientes", "IdCliente", $this->get("IdCliente")); $res = query($sql, 'Modificamos un cliente'); if (!$res) { $this->Error(__FILE__ . __LINE__, "W: no actualizo proveedor"); return false; } return true; }