Set Variable With Attribute

About this task

(Available with Order Execution Mgt.)

Description

Range Source Set Variable With Attribute sets an RCO variable with an attribute value from the current item.

Note:
  • Range Source Set Variable With Attribute writes only one item's attribute value to the specified variable 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 Range Source Set Variable With Attribute 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 Range Source Set Variable With Attribute.

    Parameters

    This function block has the following parameters:

    Parameter Description
    Variable Id The RCO Variable to be updated.
    Attribute ID of the attribute whose value the RCO Variable is set to.