Example #1
0
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")
Example #2
0
def acquisition_orders(source, include):
    """Migrate acquisition orders and document requests from CDS legacy."""
    with commit():
        import_orders_from_json(source, include=include)
Example #3
0
def borrowing_requests(source):
    """Migrate borrowing requests from CDS legacy."""
    with commit():
        import_ill_borrowing_requests_from_json(source)
Example #4
0
def document_requests(source):
    """Migrate document requests from CDS legacy."""
    with commit():
        import_document_requests_from_json(source)
Example #5
0
def vendors(source):
    """Migrate vendors from CDS legacy."""
    with commit():
        import_vendors_from_json(source)
Example #6
0
def internal_locations(source, include):
    """Migrate documents from CDS legacy."""
    with commit():
        import_internal_locations_from_json(source, include=include)