Share via


OrderGroupManager Object [C++]

Use this object to manage OrderGroup objects and their contents. This object allows you to search for orders or baskets without having to use SQL queries. It also allows for OrderGroup object deletions.

ProgID:   Commerce.OrderGroupManager (Externally creatable)
COM Class Name:   OrderGroupManager
Type Library Name:   Microsoft Commerce 2002 OrderGroup Type Library
DLL Name:   requisition.dll
Threading Model:   Apartment

[C++]

COM Interface Name:   _OrderGroupManager
Interface ID Constant:   None
Header File:   None

[C++]

In C++, use the _OrderGroupManager interface to access the properties and methods of the OrderGroupManager object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

Methods

[C++]

Method Description
DeleteOrderGroupFromDisk Checks whether a connection to the database has been established for the specified OrderGroup object, and then deletes the OrderGroup object and all objects contained within it from the site database. Use this method for OrderGroup objects saved as baskets and templates.
DeleteReceiptGroupFromDisk Checks whether a connection to the database has been established for the specified OrderGroup object, and then deletes the OrderGroup object and all objects contained within it from the site database. Use this method for OrderGroup objects saved as orders.
Find Performs a search based on the specified SQL clause fragments.
FindTemplatesForUser Finds an ADO recordset of OrderGroup object templates for the specified user. Returns an ADO recordset of the search results.
GetOrderSummary Returns a recordset containing the summary information for the order.
Initialize Creates a connection to the specified database.
SimpleDelete Deletes all entries that meet the search criteria as specified by the supplied SimpleFindSearchInfo and SimpleFindResultInfo objects.
SimpleFind Returns an ADO recordset of OrderGroup object items based on the specified SimpleFindSearchInfo object values and SimpleFindResultInfo object values. These object values contain the search criteria.

[Visual Basic]

Method Description
DeleteOrderGroupFromDisk Checks whether a connection to the database has been established for the specified OrderGroup object, and then deletes the OrderGroup object and all objects contained within it from the site database. Use this method for OrderGroup objects saved as baskets and templates.
DeleteReceiptGroupFromDisk Checks whether a connection to the database has been established for the specified OrderGroup object, and then deletes the OrderGroup object and all objects contained within it from the site database. Use this method for OrderGroup objects saved as orders.
Find Performs a search based on the specified SQL clause fragments.
FindTemplatesForUser Finds an ADO recordset of OrderGroup object templates for the specified user. Returns an ADO recordset of the search results.
GetOrderSummary Returns a recordset containing the summary information for the order.
Initialize Creates a connection to the specified database.
SimpleDelete Deletes all entries that meet the search criteria as specified by the supplied SimpleFindSearchInfo and SimpleFindResultInfo objects.
SimpleFind Returns an ADO recordset of OrderGroup object items based on the specified SimpleFindSearchInfo object values and SimpleFindResultInfo object values. These object values contain the search criteria.

Properties

[C++]

Property Type Description
DebugReturnSQL VARIANT_BOOL Determines if methods of this object will run a SQL Server query and return the resulting recordset, or if it will construct the SQL Server query and return the query string.

This property is read/write.

OrderFormHeaderColumns VARIANT Returns a string of comma-separated OrderFormHeader table column names.

This property is read-only.

OrderFormLineItemsColumns VARIANT Returns a string of comma-separated OrderFormLineItems table column names.

This property is read-only.

OrderGroupColumns VARIANT Returns a string of comma-separated OrderGroup table column names.

This property is read-only.

[Visual Basic]

Property Type Description
DebugReturnSQL Boolean Determines if methods of this object will run a SQL Server query and return the resulting recordset, or if it will construct the SQL Server query and return the query string.

This property is read/write.

OrderFormHeaderColumns Variant Returns a string of comma-separated OrderFormHeader table column names.

This property is read-only.

OrderFormLineItemsColumns Variant Returns a string of comma-separated OrderFormLineItems table column names.

This property is read-only.

OrderGroupColumns Variant Returns a string of comma-separated OrderGroup table column names.

This property is read-only.

See Also

[C++]Business Process Objects

[C++]OrderGroup Object

[C++]OrderForm Object

[C++]SimpleFindSearchInfo Object

[C++]SimpleFindResultInfo Object

[Visual Basic]Business Process Objects

[Visual Basic]OrderGroup Object

[Visual Basic]OrderForm Object

[Visual Basic]SimpleFindSearchInfo Object

[Visual Basic]SimpleFindResultInfo Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.