Option 7.3. Substitute Orders in a Range

Order substitution lets you exchange one product's purchase order with another.

Substitution function blocks exchange one product item's associated order with another order. Substitution allows a “better” order to be selected for the product item currently under consideration. When making a substitution either:

ONLY the item's order association will be swapped, or

ALL item attributes and status bits will be swapped.

Substitute Attributes and Status

Substitute Order

Order substitution requires an association between the Order items (tracked sales orders) and the Production item, i.e. physical part or completed assembly, that the order applies to. This association is made at the Item Type level.

To create an association between order items and the production item:

  1. Create an extended attribute named ASSOCIATE either for the Order item type or for the item type that represents the physical part or assembly that is ordered.

Important: Add the ASSOCIATE extended attribute  to the item type you are actually routing through an RCO. For example, if you are tracking widget items and wish to substitute one sales order for a widget with a another order, add the ASSOCIATE attribute to the widget item type.  

  1. Enter the Item Type of the associated item as the value of the ASSOCIATE attribute.

Result: All attributes (system, standard and extended) of either item can be referenced within the program where ever the attributes of its associated item are available. The associated items attributes appear with an @ sign prefix.

Important: Currently, the associate item’s attributes are accessible only through CimBasic’s attribute programming interface and cannot be seen through the PRT_UI, except for the ASSOCIATE attribute, which can be seen through PRT_UI.

More information

Apply Item Holds using the Order Execution Management Web_UI.

RSA function blocks list.