Sequence Number Configurations

The Sequence Numbers page is used to manage sequence number configurations.  A sequence number configuration holds a set of two numbers that are tracked by the system and incremented every time they are used.  One is used for master covers in live mode, while the other is used for master covers in test mode.  The purpose of these configurations is to make such numbers available to calculated field formulas.  This allows for the coordination of sequential numbering of items across transactions under a certain master cover.

The numbers can be accessed by the GetAndIncrementSequenceNumber function.  Every time the function accesses one of these numbers, it returns its current value, and then increments it by 1.

A sequence number configuration is shared by all transactions made using the selected master cover.  If one of these transactions uses the number when its current value is 1, the next of these transactions to use the number will receive a value of 2, and so on.  This allows transactions which have no other relationship to have coordinated access to an incrementing sequence of numbers.

  • For information on using functions, see the Functions section.

Creating a Sequence Number Configuration

Product

Identifies the product associated with the master cover.

Status

Identifies the current status of the master cover.

The Sequence Numbers panel displays all sequence number configurations defined for the current master cover.

  1. Click Add.  The Sequence Number window opens.
  2. Fill in the necessary information.  Fields marked with a red asterisk * are required.
  3. Name

    Enter the name of the sequence number configuration.

    Code

    Enter a code to identify the sequence number configuration.  If no code is provided, the system will generate one when the configuration is saved.  When the save process is complete, this field becomes read-only.

    Description

    Enter a description of the sequence number configuration.

    Test - Next Sequence Number

    Displays the next sequence number to be returned by the GetAndIncrementSequenceNumber function while the master cover is in test mode.  The default number is 0.  Any non-negative number can be entered.

    Live - Next Sequence Number

    Displays the next sequence number to be returned by the GetAndIncrementSequenceNumber function while the master cover is in live mode.  The default number is 0.  Any non-negative number can be entered.

  4. Click Save to save any changes and remain in the window, click Save & New to save any changes and clear the window to create a new configuration, click Save & Close to save the configuration and close the window, or click Close to close the window without saving.

Viewing and Modifying a Sequence Number Configuration

With the master cover selected, click the Sequence Numbers item in the Screens widget.  For instructions on finding and viewing a master cover, see the section on Viewing and Modifying a Master Cover.

Note: It Is advisable not to modify a sequence number once it is in use.  Doing so could cause dependent formulas to calculate duplicate values, or skip desired values.

Product

Identifies the product associated with the master cover.

Status

Identifies the current status of the master cover.

The Sequence Numbers panel displays all sequence number configurations defined for the current master cover.

  1. Click a link in the Name column to view the sequence number configuration details.
  2. See the section on Creating a Sequence Number Configuration for detailed descriptions of the fields.  All fields but the Code field may be edited if necessary.
  3. Click Save to save any changes and remain in the window, click Save & New to save any changes and clear the window to create a new configuration, click Save & Close to save the configuration and close the window, click Delete to delete the configuration, or click Close to close the window without saving.

Deleting a Sequence Number Configuration

With the master cover selected, click the item in the Screens widget.  For instructions on finding and viewing a master cover, see the section on Viewing and Modifying a Master Cover.

Product

Identifies the product associated with the master cover.

Status

Identifies the current status of the master cover.

The Sequence Numbers panel displays all sequence number configurations defined for the current master cover.

  1. Click the link in the Name column of the sequence number configuration to delete.  The Sequence Number window opens.
  2. Click Delete then confirm the deletion when prompted to do so.