Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Regarding comments from this ticket [MODSOURMAN-627] Kiwi bugfest - Data integrity issues with instances/holdings records - FOLIO Issue Tracker:

  1. If the holdings source is anything other than FOLIO or MARC (e.g. -), then change to FOLIO.
  2. If the holdings source = MARC, check to see if there is a linked SRS MARC Holdings record.
    1. If yes, then keep the Holdings source as MARC, and ensure that View source and Edit via QM in the Actions menu work for the Inventory Holdings record.
    2. If no, then change the Holdings source to FOLIO, and ensure that View source/Edit in QM do not display in the Inventory Holdings Action menu.

...

These scripts retrieve holdings that should be reviewed. These scripts DO NOT Only scripts 1b and 3b update those holdings. These scripts just show valid/invalid Holdings from DB by conditions from comment.

NOTE: Update scripts 1b and 3b should be executed during non-working hours with no imports running in parallel.


Script 1a: Retrieve holdings where the source is anything other than FOLIO or MARC (e.g. -):

...