Use this component to save an order in a database table.
The SaveReceipt component is supplied for backward compatibility with Site Server 3.0 Commerce Edition only. In Commerce Server 2000 and Commerce Server 2002, use the SaveOrder method of the OrderGroup object to save the orders to the Transaction database.
Intended use: Order Processing pipeline, Accept stage.
You can determine which items the SaveReceipt component will save in the database by setting component properties. Use the following boxes on the Save Receipt tab of the Component Properties dialog box to determine this information.
|No Save Key Prefix||A prefix that identifies keys in the order form that should not be saved in the database table. Use this prefix to identify sensitive information such as credit-card numbers that should not be saved. The default prefix is |
The SaveReceipt component reads the following values from the indicated dictionaries.
|Context||A reference to a DBStorage object pointing to a database in which to save the data.|
|Order||The SaveReceipt component saves all fields in the order form that have a corresponding name in the database table and that do not begin with the characters specified in the No Save Key Prefix box.|
The SaveReceipt component saves an order to a database table. The name of the database table is stored in the DBStorage object. The Context dictionary key
ReceiptStorage points to the object. The SaveReceipt component saves all fields on the order form that have a corresponding column name in the database table.
See AlsoCopyright © 2005 Microsoft Corporation.
All rights reserved.