Advance in Order

(Available with Order Execution Mgt.)


Advance in Order assigns the lowest rotation number in the range source to the item at a particular location in a specified region. The rotation numbers of other items in the range source are then adjusted to maintain their original order after the advanced item.


Rotation numbers must already be assigned to items in the range source by a Resequence Mode Block module earlier in the routing or output logic module. The Advance in Order function block should be added somewhere after the Resequence Range function block to advance a particular item.

The entire range source is searched for a the lowest rotation number, however, only items local to the current project are modified. You can apply this function block across multiple projects by entering a comma-delimited list of project names into the Project ID field and recompiling.

Tip: if an item has been physically pulled ahead to the first location in a region, use this function block to adjust the rotation numbers accordingly.


This function block has the following parameters:



Region ID

ID of Region where the item is located.

Region Location

An integer value representing the location of the item in the Region.

Note: The reserved names PRT_FIRST or PRT_LAST can be entered here to specify the first or last location, respectively, within the region. The first location is at the head of the region, the last location is at its tail.

Item Class

Class of the item to be assigned a rotation number.

Rotation Number Attribute

The name of the attribute that stores the rotation number.

Rotation Number Point ID

(Optional) Point that contains an attribute name.

Supercedes Rotation Number Attribute.

Project ID

(Optional) Names of one or more projects in which the selected region may be found.

Note: Leave this field blank to limit the search for regions to the local project only.

Project Point ID

(Optional) Text point.

Stores a list of project(s).

Supercedes Project ID.

More information

 Resequence Mode Begin

Resequence Range.

Resequencing and Rotation Numbers.

 RSA function blocks list.