다음을 통해 공유


Searching, Editing, and Purging Baskets and PurchaseOrders

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

When a customer creates a shopping cart in a Commerce Server Web application, the site code creates a Basket object. When a customer finishes a purchase, the site code creates a PurchaseOrder object. Both Basket objects and PurchaseOrder objects are stored in a database.

The following list identifies common actions that you might perform on this database:

  • Purge baskets that have not been accessed for a certain time.

  • Update the status of purchase orders when line-of-business applications process the orders. For example, you might send all new purchase orders to an order fulfillment system every hour and update the status of the purchase order to "InProcess".

  • Archive purchase orders that are older than a certain date.

  • Mine the data for purchasing trends and other statistics.

You perform these and other Orders System data management tasks by using the classes in the Microsoft.CommerceServer.Orders namespace.

See Also

Other Resources

How Orders Objects Are Stored in the Database

How to Create an OrderManagementContext Object

Orders System Data Management Scenarios