====== Restricting Allowable Volume-ID's ====== TapeTrack allows the creation of new [[object:volume|Volume-ID's]] to be restricted to a pattern specified in the [[object:media|Media-ID]] properties. [[object:volume|Volume-ID's]] can also be enforced to be unique for a [[object:customer|Customer-ID]] or Globally. ===== Restricting Volume-ID Patterns And Length ===== Restricting [[object:volume|Volume-ID]] patterns can be enforced using [[general:pattern_matching|TapeTrack string filters]]. [[general:pattern_matching|Character filters]] may be used alone or in combination to achieve the restricted [[object:volume|Volume-ID]] [[general:pattern_matching|pattern]] required ==== Example Patterns ==== ^ Volume-ID required ^ Filter Pattern ^ Example Volume-ID ^ | 8 characters | ???????? | 12345678 | | Any [[object:volume|Volume-ID]] ending with L6 suffix | *L6 | 12345678L6 | | 8 characters ending in L generation suffix | ??????L? | 123456L5 | | 8 characters ending in L generation suffix between 4 to 8 inclusive | ??????L[4-8] | 123456L5 | | 8 characters, prefix AK, L generation suffix 4, 5, 6 or 7 | AK????L[4-7] | AK2222L4 | Any attempt to add a new [[object:volume|Volume]] with a non compliant [[object:volume|Volume-ID]] will cause an error and the process will be aborted. {{technote:tapemaster_repository_non_allowable_volume_id.png}} ==== Restricting Customer And Global Duplicates ==== Restricting [[object:volume|Volume-ID's]] at a [[object:customer|Customer]] level ensures that a particular [[object:volume|Volume-ID]] can only exist once under a [[object:customer|Customer-ID]] throughout all [[object:media|Media]] types. Restricting [[object:volume|Volume-ID's]] at a Global level ensures that a particular [[object:volume|Volume-ID]] can only exist once under all [[object:customer|Customer-ID's]] and [[object:media|Media]] types. Restricting [[object:customer|Customer]] and/or Global Duplicates is only recommended if you are the owner of the [[object:media|Media]]. Enforcing No Global Duplicates may stop you adding a [[object:customer|Customers]] inventory if the Barcode values already exist for another [[object:customer|Customers]] [[object:media|Media]. Enforcing No Customer Duplicates may stop you adding a [[object:customer|Customers]] inventory if the Barcode values already exist for that [[object:customer|Customers]] other [[object:media|Media]] types. Enabling [[object:customer|Customer]] (Disallow Customer Duplicates) and/or Global (Disallow Global Duplicates) duplicate restrictions can be done via the [[master:customer#options|customer properties options]] tab in [[desktop:master|TapeTrack TapeMaster]]. {{tag> technote tapemaster upgrade_doco}}