!--a11y-->
Definition of Rule Criteria 
If SAP Advanced Planning and Optimization (SAP APO) carries out rules-based availability check (rules-based ATP) for a sales order item, you can use the Rule Criterion 1 and Rule Criterion 2 fields in the sales order to provide additional criteria for rule determination.
Rules-based availability check is set up in SAP APO and uses the condition technique.
For more information, see the SAP Library for SAP Supply Chain Management (SAP SCM) under SAP Advanced Planning and Optimization (SAP APO) ® Global Available-to-Promise (Global ATP) ® Advanced Availability Check Methods ® Rules-based Availability Check.
In addition to CRM Enterprise, the following minimum system requirements apply:
· SAP SCM 5.0
· SAP ECC 6.0
· The system configuration for service parts management is active. You can find more information on this in the SAP Implementation Guide (IMG) for Customer Relationship Management under Transactions ® Basic Settings ® Activate System Configuration for Service Parts Management.
You can specify that SAP APO determines a rule that, for example, substitutes the location but not the product. Or SAP APO should determine a rule that finds another location, because the default location is closed temporarily.
For information on how to set this up, see the IMG for Customer Relationship Management under Basic Functions ® Availability Check ® Availability Check Using SAP APO® Rules-Based Availability Check ® Define Rule Criterion 1 and Define Rule Criterion 2.
You can maintain this field in the business partner master record for the sold-to party, under Sales Area Data on the ATP tab.
When you create the sales order, this field value is copied from the business partner master record to the sales order header on the Header Overview tab.
When you create a sales order item, the field value is copied from the header to the item, on the Schedule Lines tab.
You can overwrite this field value in the sales order header or item.
If there are any subitems, they inherit the field value from the higher-level item. You cannot change the field value in a subitem that results from an ATP check (for example, in a kit component, or a subitem that results from a rules-based availability check).