Create or Edit a Sequence Definition - Precisely_EnterWorks - EnterWorks - 11.0

EnterWorks Guide

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks
Precisely EnterWorks > EnterWorks
Version
11.0
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks Guide
Copyright
2024
First publish date
2007
Last updated
2025-01-07
Published on
2025-01-07T07:44:20.997352
An auto-generated sequence value for a repository is controlled by the corresponding sequence definition associated to the repository. When a new record is created in the repository and no value for the auto generated id field is provided, the next sequence number is selected from the sequence definition. Even though a sequence definition can be shared by multiple repositories, it is recommended as best practice to create a separate sequence definition for each repository. A repository sequence definition is defined as follows:
  1. Log into EnterWorks Classic as a user assigned to the Administrator group.
  2. Open the list of existing sequences by opening the Feature bar, opening the Model Configuration tab, and selecting Sequences.
  3. Open the sequence definition in the Sequence editor:
    • To create a sequence definition, o
    • Open the desired sequence definition for editing by selecting the definition, opening the Action dropdown menu, and selecting Edit
  4. The sequence definition's configuration options will be displayed. Edit them as desired:
    • Name: (Required) The name of the sequence definition. Do not include special characters in the name, such as & < > ".
    • Prefix: (Optional) You can add a prefix to auto-generated sequence numbers. This can be useful for automatically generating GTIN values.
    • Starting Sequence: (Required) The first number in the sequence. Do not set the Starting Sequence Number to a value the same as or lower than the Current Max Sequence, otherwise as records are added, their sequence numbers may be the same as the sequence numbers for records that already exist.
    • Current Max Sequence: This is a displayed value only. It is not a configuration option. It displays the highest number currently in the sequence. If this value is blank, no records have been generated yet that use this sequence definition.
  5. Click the Save button.
  6. Sequences are securable objects and must be made accessible to the groups that need to access them. If the security has not already been defined for this sequence or it needs to be updated, do so: Define Access to Securable Objects.