4.4. Named Expressions inserted into Expressions

Purpose

Test an item to see if it has a specified quantity of a certain part.

Include a named expression in the expression.

Assumptions

There is one List group (in the expression), defined as follows.

Parts

Attributes include quantity, id.

Query Expression

Parts($pqty$=’7’&Parts.id=’id1’)

Where

Criteria

Is/are the:

Pqty

Parts.quantity named expression.

$$

Syntax surrounding the named expression.

id

Nested Parts list group attribute

'id1'

Part name

Query expressions say:

Return True for items that have 7 id1 parts in their Parts group

More information

4. Named Query expressions.