PurchaseOrder Constructor (Guid)
Initializes a new instance of the PurchaseOrder class.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Protected Friend Sub New ( _
userId As Guid _
)
'Usage
Dim userId As Guid
Dim instance As New PurchaseOrder(userId)
protected internal PurchaseOrder(
Guid userId
)
protected public:
PurchaseOrder(
Guid userId
)
protected internal function PurchaseOrder(
userId : Guid
)
Parameters
- userId
Type: System..::.Guid
The identifier of the customer owning the purchase order.
Remarks
Purchase orders are uniquely identified by their purchase order ID or tracking number. A customer can have multiple purchase orders. Purchase orders are modifiable entities. However, they cannot be converted to any other type (baskets or order templates) in the order capture system.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.