Skip to main content
ExLibris

Knowledge Assistant

BETA
 
Aleph

 

Ex Libris Knowledge Center
  1. Search site
    Go back to previous article
    1. Sign in
      • Sign in
      • Forgot password
  1. Home
  2. Aleph
  3. Knowledge Articles
  4. Uniqueness of Additional Order No. 2 / z68_order_number_2
  5. Can barcodes or other record IDs be duplicated in Aleph?

Can barcodes or other record IDs be duplicated in Aleph?

  1. Last updated
  2. Save as PDF
  3. Share
    1. Share
    2. Tweet
    3. Share
  1. Question
  2. Answer
  3.  
  • Product: Aleph
  • Product Version: 20, 21, 22, 23
  • Relevant for Installation Type: Dedicated-Direct,Direct,Local,Total Care

Question

Can the following values be duplicated in Aleph?

 

* Patron barcodes

* Other patron IDs

* Item barcodes

* Invoice numbers

* Order numbers   

Answer

*  Patron barcodes

<<  No.  The Z308_REC_KEY is defined as UNIQUE in Oracle, so there could only be one “01nnnnnnnnnnnnnnnnnn” record.  (“01” is the Z308-KEY-TYPE for the patron barcode.)

 

*  Other patron IDs

<<  No.  Same as above.  The Z308_REC_KEY is defined as UNIQUE in Oracle.  See also, article "Duplicate patron ID's *MASTER RECORD*"  :  https://knowledge.exlibrisgroup.com/...MASTER_RECORD*

 

*  Item barcodes

<<  Yes.  The Z30_BARCODE is usually defined as NONUNIQUE, but, as described in the article “Duplicate item barcodes” , the  tab100 CHECK-BARCODE=Y parameter usually prevents this.

 

*  Invoice numbers

<<  The Z77_REC_KEY is defined as UNIQUE.  The  Z77_REC_KEY consists of:

            03 Z77-VENDOR-CODE          PICTURE X(20).

            03 Z77-INVOICE-NUMBER       PICTURE X(15).

   So, though one *could* have a duplicate Z77-INVOICE-NUMBER, since Aleph uses that number only in conjunction with the Z77-VENDOR-CODE, the invoice number is effectively unique.   

 

*  Order numbers   

<<  Yes.  The Z68_ORDER_NUMBER is defined as NONUNIQUE.   {The z68_rec_key (the Aleph order record key) is UNIQUE.}

    

But uniqueness is normally enforced via the "last-order-number" util g/2 counter.  See article "Duplicate Order Numbers" : https://knowledge.exlibrisgroup.com/..._Order_Numbers .

 

 

 

 

View article in the Exlibris Knowledge Center
  1. Back to top
    • Uniqueness of Additional Order No. 2 / z68_order_number_2
    • University of Ex Libris Library is sending you a mail message in the attached.
  • Was this article helpful?

Recommended articles

  1. Language
    English
    Product
    Aleph
  2. Tags
    1. contype:kba
  1. © Copyright 2025 Ex Libris Knowledge Center
  2. Powered by CXone Expert ®
  • Term of Use
  • Privacy Policy
  • Contact Us
2025 Ex Libris. All rights reserved