Update Counts

Description

Update Counts, for the attributes of the vehicle associated with the source region for the executed decision, increments the Group Count Array Point and the total release count.

If the routed Item's attribute value matches the parsed value (from the Attribute Value array point) corresponding to the attribute name (from the Attribute Name array point), the Spacing Count and the Attribute Released Count elements will be incremented by 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 parameters:

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.

Item Class

Class of the item that contains the attribute. Blank will specify all items at the region.

Rule Type

Type of elimination to be performed.

 

G

Grouping

Eliminate if the count exceeds or equals the Rule.

 

S

Spacing

Eliminate if the count is less then the rule.

 

P

Percentage

 

Attribute Name

Name of the array point that lists the attribute names to 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

Name of array points that lists the Attribute value(s). Each element 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

Rule

(Grouping and Spacing Rules)

The number of jobs.

Count

(Grouping and Spacing Rules)

The number of jobs released.

Attribute Released Count

The actual number of items released with the corresponding attribute value.

(Percentage Rule Only)

Total Released Count

(Percentage Rule)

Integer (analog) point.

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

More information

Update counts pseudo code.

Output blocks list.