Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns an existing order template using the specified criteria, or creates a new one if none already exist.
Overload List
Name | Description | |
---|---|---|
![]() |
GetOrderTemplate(Guid) | Returns an existing OrderTemplate using the specified customer identifier, or creates a new order template if one does not already exist. |
![]() |
GetOrderTemplate(Guid, Guid) | Returns an existing OrderTemplate using the specified customer identifier and order template identifier, or creates a new one if none currently exist. |
![]() |
GetOrderTemplate(Guid, String) | Returns an existing instance of the OrderTemplate using the specified customer identifier and the order template name, or creates a new one if none already exist. |
Top
Remarks
Use this method to retrieve a OrderContext meeting the specified criteria. If no OrderContext currently exists, one is created.
When a template is created, a unique template ID is automatically assigned. The order group ID for a template is the same as the template ID.