OrderGroup.LoadOrder Method (PIA)
Use this method to load an OrderGroup object from disk. This method returns an error if the OrderGroup object cannot be found.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub LoadOrder(strOrderGroupID As String)
[C#]
using Microsoft.CommerceServer.Interop.Orders;
…
public void LoadOrder(stringstrOrderGroupID);
Parameters
[Visual Basic .NET]
- strOrderGroupID
A String that specifies the OrderGroupID of the OrderGroup object to be loaded.
[C#]
- strOrderGroupID
A string that specifies the OrderGroupID of the OrderGroup object to be loaded.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
Remarks
The LoadOrder method can be used to load any OrderGroup object whose status does not equal basket or template.
[Visual Basic .NET]
Example
' oOrderGroup is a Commerce.OrderGroup object
oOrderGroup.LoadOrder("{EEF9C9CC-C33E-11D0-B8A0-00C04FB616C7}")
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Interop.Orders.Requisition.dll
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.