Rapport : Obtenir la liste des documents non-inventoriés

Vous êtes ici :
< Retour

Si vous utilisez l’outil d’inventaire de Koha (soit par fichier de codes-barres ou par liste de documents), la date « Vu en dernier » des exemplaires inventoriés sera changée pour la date de l’inventaire.

Ce rapport donne la liste de tous les exemplaires qui n’ont pas été « vus en dernier » depuis une date.

  1. Aller dans Bilans et statistiques > Créer à partir de SQL
  2. Donner un nom au rapport
  3. Au besoin, le classer dans un groupe/sous-groupe
  4. Dans la boîte SQL, coller le code suivant
SELECT 
     title AS "Titre", 
     barcode AS "Code-barres", 
     itemcallnumber AS "Cote", 
     CONCAT(lost.lib, " (", DATE(items.itemlost_on), ")") AS "Statut perdu", 
     CONCAT(damaged.lib, " (", DATE(items.damaged_on), ")") AS "Statut endommagé", 
     CONCAT(withdrawn.lib, " (", DATE(items.withdrawn_on), ")") AS "Statut élagué",
     IF(items.notforloan = 0, '', notforloan.lib) AS "Statut exclu du prêt",
     IF(onloan IS NULL, '', 'prêté') AS "Prêté"
 FROM items 
     LEFT JOIN biblio USING (biblionumber)
     LEFT JOIN (SELECT 
                    *
                FROM authorised_values 
                WHERE category = "LOST") lost ON (items.itemlost = lost.authorised_value)
     LEFT JOIN (SELECT
                    *
                FROM authorised_values
                WHERE category = "DAMAGED") damaged ON (items.damaged = damaged.authorised_value)
     LEFT JOIN (SELECT 
                    *
                FROM authorised_values 
                WHERE category = "WITHDRAWN") withdrawn ON (items.withdrawn = withdrawn.authorised_value)
     LEFT JOIN (SELECT 
                    *
                FROM authorised_values 
                WHERE category = "NOT_LOAN") notforloan ON (items.notforloan = notforloan.authorised_value)
 WHERE datelastseen < <<Vu en dernier avant le |date>>
     AND homebranch=<<Bibliothèque |branches>>  
 ORDER BY datelastseen DESC, itemcallnumber ASC
  1. Cliquer sur « Sauvegarder le rapport »
  2. Cliquer sur « Exécuter le rapport »
  3. Entrer la date limite « vu en dernier » (par exemple, il y a un an)
  4. Choisir la bibliothèque à laquelle s’applique la requête
  5. Cliquer sur « Exécuter le rapport »

Voir aussi

Ressources de la communauté Koha

Table des matières