RequiredOrderCheck
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Use the RequiredOrderCheck pipeline component to verify that the order form contains at least one item.
Intended use: Order Processing pipeline, Order Check stage.
Configuration Values
None.
Values Read
The RequiredOrderCheck pipeline component reads the following value from the indicated dictionary.
Key |
Dictionary |
Description |
---|---|---|
MessageManager.pur_noitems |
Context |
The error message text (optional). |
Values Written
The RequiredOrderCheck pipeline component writes the following values to the Order dictionary:
Key |
Description |
---|---|
_Purchase_Errors |
Error messages are written to this SimpleList object. |
Errors
The RequiredOrderCheck pipeline component returns error level 2 (OPPERRORLEV_WARN) when there are no items in the Order dictionary. Other errors return error level 3 (OPPERRORLEV_FAIL).
The components write error messages to the _Purchase_Errors collection. The components use a MessageManager object to retrieve user warning message text.
Constant |
Condition |
---|---|
pur_noitems |
There are no items in the Order dictionary. |