# Declare the expected hold for an order without a purchase order

Declare that the BENCHCO order without a purchase-order reference is now held by name, using the rule saved from the plain-English proposal, before the policy is proved.

Source: https://help.smartfact.ai/automation/guides/orders-assisted-examples

Audience: Author

Declare that the BENCHCO order without a purchase-order reference is now held by name, using the rule saved from the plain-English proposal, before the policy is proved.

## Expected result for the new rule

1. **Load the draft with the new rule**

   Load the draft with the new rule

   Load the draft that now holds benchco-purchase-order-hold. Its fourth order, WEB-0043 from BENCHCO with no purchase-order reference, was written before the rule and still expects the order to be accepted.

2. **Find the order without a purchase order**

   Find the order without a purchase order

   Read the expected results. Order WEB-0043 from BENCHCO has no purchase-order reference and is still expected to be accepted, because it was written before the rule existed.

3. **Expect the order to be held**

   Expect the order to be held

   For order WEB-0043, set Expected eligible to No: an order without a purchase-order reference must not go ahead.

4. **Add an expected hold**

   Add an expected hold

   Add an item to Expected holds for the same order.

5. **Enter the purchase-order hold**

   Enter the purchase-order hold

   Enter policy:purchase-order-required, the name OrderRun records for the new rule's hold. This is your own expected answer, never copied from the rule's result.

6. **Prepare the expected-case change**

   Prepare the expected-case change

   Prepare the change with all four orders: the recognised order, the unknown customer, the order without partial delivery and the order without a purchase-order reference.

7. **Upload the checked file**

   Upload the checked file

   Upload the complete change. Uploading alone does not save it.

8. **Confirm the complete change**

   Confirm the complete change

   Confirm that the whole file contains the expected results you intend to save.

9. **Save the expected results**

   Save the expected results

   Save the expected results. OrderRun now holds a case for an order with a purchase order, one without, an unknown customer and an order that forbids partial delivery.

10. **Check the saved expected results**

   Check the saved expected results

   Read the saved expected results: order WEB-0043 is now expected to be held as purchase-order-required, while still routed to brighouse-assembly with its engineering check.

[Watch or practise this chapter](https://help.smartfact.ai/automation/demo?guide=orders-assisted-examples&chapter=assisted-rule&audience=office)

The expected results are saved with the draft. An independent review of them comes next.
