...
- flag, and do not follow-thru with, any title whose instance has been modified since it was first created - for each of these...
- update the MARC so that it agrees with the instance and then follow-thru with...
- add an 856 like so: $uhttps://walter.drew.edu/cgi-bin/folio/editMARC/{instanceId}$yeditMARC replace Sirsi-based 999s with FOLIO-based 999s
- overlay (PUT) FOLIO's instance db table - this is because several 7xxs were added to the wrong instances - overlaying the instance will correct those mistakes
- add (POST) the new MARC to FOLIO's "records" db table
- add (INSERT) the instanceId, recordId, mrc, and solrID to the folio.titles MySQL db table
- overlay (UPDATE) Walter's MySQL db with the new MARC and re-index in Solr
- delete the Sirsi CatalogKey solrID and add the 001 solrID
But all of that is going to take time and so here's the plan:
- add records for all of the instances that currently have items checked out in the loans db table
- search MySQL::folio.titles for the instanceIds to determine whether of not there is a recordId
- if there is : ignore it
- if there is not >>instanceIds2process.txt
- PUT each instance
- POST each record & update Solr
- search MySQL::folio.titles for the instanceIds to determine whether of not there is a recordId
- send that questionnaire back to EBSCO and get Patron Functionality off the ground
- load records for the rest of the recordLess instances
- make bibServices work for batches as well as individual titles