Update Spacing, Attribute and Total Released Counts (Ext. Attr.)

Description

Parameters

Description

Updates Spacing and Attribute count array points and Release count point each time an item is released.

If the routed Item has an attribute whose:

Name is in ATTRIBUTE_NAME Array Point’s current element, and

Value matches the ATTRIBUTE_VALUE Array Point’s current element.

Then

The following happens to the corresponding element of each of the following arrays:

Array Point

Action

Reason for the action

Spacing Count

Initialized to 0.

Number of items released since last matching item was released

Attribute Release Count

Incremented by 1.

Total number of items with the attribute matching released so far.

Total Release

Incremented by 1.

Total number of items released since the start, regardless of a match or not.

Example

An item has:

An attribute named: COLOR.

A Spacing rule for the value: GREEN.

Each time a GREEN item is released the:

Spacing rule is set to 0.

0 items of any other color have been released since the GREEN item was released.

Attribute Release Count is incremented by 1.

1 more GREEN item was released.

Total Release Count is incremented by 1.

1 more item was released.

 
Item ID

 
Attr. Name

 
Attr. Value

 
Spacing

Attr.
Release Count

 
Release Count

ITEM1

COLOR

GREEN

0

+1

+1

If the routed Item does not have an attribute whose:

Name is in ATTRIBUTE_NAME Array Point’s current element nor a

Value that matches the ATTRIBUTE_VALUE Array Point’s current element

Then

The following happens to the corresponding element of each of the following arrays,

Array Point

Action

Reason for the action

Spacing Count

Incremented by 1.

Number of items released since last matching item was released

Attribute Release Count

Remains unchanged.

Total number of items with the attribute matching released so far

Total Release

Incremented by 1.

Total number of items released since start, regardless of match or not.

Example

An item has:

An attribute named: COLOR.

Spacing rule for the value: GREEN.

Each time a NON-GREEN item is released the:

Spacing rule is incremented by 1.

+1 item of any other color has been released since the last GREEN item was released.

Attribute Release Count has No Change..

No additional GREEN item was released.

Total Release Count is incremented by 1.

1 more item was released.

 
Item ID

 
Attr. Name

 
Attr. Value

 
Spacing

Attr.
Release Count

 
Release Count

ITEM1

COLOR

RED

+1

NC

+1

Note: This block can be used in a merge RCO to update counts by examining the item that has been moved to the destination region.

Parameters

This function block has the following parameter:

Parameter

Description

Region ID

Destination region ID for item.

Location

Location in region to use. If this value is All, then all items in the region will be dumped and copied.

Attribute Name Array

Name of the array point that lists the attribute that will be compared (Compare value(s) of the corresponding element in the Attribute Value array Point to the attribute value of the head item for each of the source regions).

Attribute Value Array

Attribute value(s). Each element in the array can contain one or multiple values with a comma separator. Do not include quotes.

Example

Element 0 = 1 ton,3/4 ton

Element 1 = K

Spacing Count Array

The number of items released since an item with the matching attribute value was released. This is initialized to zero every time an item is released with the attribute name and value combination matching the Attribute name and value combination in the Attribute Name and Attribute Value array points

Attribute Release Count Array

The total number of items released, since the start that had a matching attribute name and value combination in the Attribute Name and Attribute Value array points.

Total Released Count

Integer (analog) point.

Counter point stores and continues to increment the total number of items released.

More information

Output blocks list.