OrganizationServiceContextExtensions.GenerateSalesOrderFromOpportunity Method (OrganizationServiceContext, Guid, ColumnSet)
Applies To: Dynamics CRM 2013
Generates a sales order from an opportunity. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static Entity GenerateSalesOrderFromOpportunity(
this OrganizationServiceContext context,
Guid opportunityId,
ColumnSet columnSet
)
public:
[ExtensionAttribute]
static Entity^ GenerateSalesOrderFromOpportunity(
OrganizationServiceContext^ context,
Guid opportunityId,
ColumnSet^ columnSet
)
static member GenerateSalesOrderFromOpportunity :
context:OrganizationServiceContext *
opportunityId:Guid *
columnSet:ColumnSet -> Entity
<ExtensionAttribute>
Public Shared Function GenerateSalesOrderFromOpportunity (
context As OrganizationServiceContext,
opportunityId As Guid,
columnSet As ColumnSet
) As Entity
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
- opportunityId
Type: System.Guid
- columnSet
Type: Microsoft.Xrm.Sdk.Query.ColumnSet
Return Value
Type: Microsoft.Xrm.Sdk.Entity
Returns Entity.
Remarks
This is a method wrapper for the GenerateSalesOrderFromOpportunityRequest and GenerateSalesOrderFromOpportunityResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top