Record Attribute Ratios

About this task

(Available with Order Execution Mgt.)

Description

Record Attribute Ratios adds history data for the currently selected source item to ratio history array points you create or select.

Note:
  • Add Record Attribute Ratios to the end of any module where you use the Eliminate Source by Ratio function block to store information about the item that remains after that elimination.

Example

Eliminate Source by Ratio is in a Resequence Block Module,

Place a Record Attribute Ratios block between that block and the Resequence Range block at the end of that module.

  • Record Attribute Ratio records only one item's history data to the specified points the item at the range source head.
  • Where all item eliminations (by any and all methods) have been completed.

Procedure

  1. Insert another function block such as
    • Select Lowest Weight
    • Select Source By Age

    before Record Attribute Ratio to insure that the most appropriate item(s) are selected.

    If you have criteria to determine which item should be selected in case of a tie, specify that criteria in an RSA function block inserted before the Select block.

  2. Insert Record Attribute Ratio.

    Parameters

    This function block has the following parameters:

    Note: Select the same array points previously configured for the corresponding Eliminate Source by Ratio block you inserted earlier in this logic or output module.
    Parameter Description
    Attribute Name Array Text array point. The names of the selected item's attributes are recorded to elements of this array.
    Attribute Value Array Text array point. The values of the selected item's respective attributes are recorded to elements of this array.
    Block Size Array Integer (analog) array point. The current number of items selected in a block are recorded to the elements of this array.
    Attribute History Array Integer (analog) array point. The current number of items selected for each attribute name/value pair are recorded to this point.