Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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;
 }