def serial(skip_indexing): """Create relations for migrated serials.""" with commit(): link_documents_and_serials() if not skip_indexing: reindex_pidtype("docid") reindex_pidtype("serid")
def acquisition_orders(source, include): """Migrate acquisition orders and document requests from CDS legacy.""" with commit(): import_orders_from_json(source, include=include)
def borrowing_requests(source): """Migrate borrowing requests from CDS legacy.""" with commit(): import_ill_borrowing_requests_from_json(source)
def document_requests(source): """Migrate document requests from CDS legacy.""" with commit(): import_document_requests_from_json(source)
def vendors(source): """Migrate vendors from CDS legacy.""" with commit(): import_vendors_from_json(source)
def internal_locations(source, include): """Migrate documents from CDS legacy.""" with commit(): import_internal_locations_from_json(source, include=include)