Exemple #1
0
 public static function insertadetalles($idvale, $codmov, $numdocref = null)
 {
     $registrox = MiFactoria::RegistrosDetallePorMovimiento($codmov, $numdocref);
     foreach ($registrox as $fila) {
         /* echo "<br><br><br>";
            var_dump($fila->attributes);*/
         if (!MiFactoria::CreaTempKardex($idvale, $codmov, $fila)) {
             self::Mensaje('error', 'No se pudo levantar a memoria el registro de Kardex  ' . $registrox->codart);
         }
     }
     self::Mensaje('success', __CLASS__ . ' => ' . __FUNCTION__ . '      Se insertaron ' . count($registrox) . ' Registro hijos ');
 }