Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Voyager to Alma Migration Query: Find POs or Invoices With No Associated Line Items

    • Product: Voyager
    • Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare



    When migrating to Alma you may want to identify POs and/or Invoices that have no associated line items.  Note that this is optional and that you may want to consult with your migration team before embarking on this data cleanup.

    NOTE that this is a Pass Through SQL query.

    The following two pass through queries (one for POs, the other for Invoices) can be used in Voyager Prepackaged Access Reports to identify POs with no line items.

    SELECT invoice_id, invoice_number
    FROM invoice
    WHERE vendor_id > 0
    and invoice_id not in
    (SELECT invoice_id FROM invoice_line_item);

    SELECT po_id, po_number
    FROM purchase_order
    WHERE vendor_id > 0
    and po_id not in
    (SELECT po_id FROM line_item);


    For other queries that may be useful, see my "Surviving Almanado: tips for a successful pre-implementation" presentation's Accompanying Materials.
    Posted as is. If you need assistance in running custom SQL queries in Prepackaged Access Reports, consult the Voyager Customer Listserv.


    • Article last edited: 06-Apr-2021