Eliminate Source By Percentages

About this task

Text array point.Each rule contains an attribute name/value that the function block compares to an item's corresponding attribute names/values.Note: The name is defined in the Attribute Name Array. An element in the array can contain:
  • The value of the respective attribute in the Attribute Name Array.
  • Each element can contain one or multiple values with a comma separator. Do not include quotes.
  • Attribute values can be wild cards.
  • A named query, or query expression, returning a Boolean result.
guide: Guidelines
  • For any element in the Attribute Name Array that contains the reserved name SOLVE you can enter a named query, or query expression, as the respective value element.
In this case, the percentage rule is not applied to an attribute name/value, but is instead applied to any items for which the query returns TRUE.ExampleA Boolean named query $IsStandardHatchback$ returns TRUE for items that have a standard transmission and have a hatchback rear door.$IsStandardHatchback$ is the query expression: Vehicle.Transmission='Standard'&Vehicle.DoorType='Hatchback'When $IsStandardHatchback$ is entered as the value element, the applied percentage rule determines the percent of selected vehicles that can be standard hatchbacks.However, interaction with other rules can cause a hatchback item to fail even if it complies with the hatchback percent rule.Example

Procedure

  1. The current hatchback item is red.
  2. Selecting the red hatchback causes the percentage rule defined for a different attribute (or query) e.g. COLOR Blue, to fail to meet its Lower Release % Target,
  3. The current red hatchback item is eliminated.
    • You can use a query that returns a set of attributes, instead of a Boolean result, by setting the query name or expression to a particular value.
    ExampleA attribute named query $TransmissionIs$ is the expression Vehicle.TransmissionType. $TransmissionIs$ can be entered as the value element of this array in the form of an expression: $TransmissionIs$ = 'Standard'
  4. The number of red cars selected has not yet reached the Upper Release % Limit defined for Color/Red.
  5. Selecting the red two-door would cause the percentage of four door cars selected to fall below its defined  Lower Release % Limit
  6. The red, two-door car is eliminated instead of being selected.
    Notes:
    • This evaluation checks the Lower Release % Limit for attributes of all items that remain in the range source for which a percentage rule has been defined.
    • Eliminate Sources Percentages function block is generally used within a multiple-pass Resequence Block Module. Therefore, a rejected item may be selected by a subsequent pass in that case.