OrganizationServiceContextExtensions.GenerateQuoteFromOpportunity Method (OrganizationServiceContext, Guid, ColumnSet)
Applies To: Dynamics CRM 2013
Generates a quote from an opportunity. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static Entity GenerateQuoteFromOpportunity(
this OrganizationServiceContext context,
Guid opportunityId,
ColumnSet columnSet
)
public:
[ExtensionAttribute]
static Entity^ GenerateQuoteFromOpportunity(
OrganizationServiceContext^ context,
Guid opportunityId,
ColumnSet^ columnSet
)
static member GenerateQuoteFromOpportunity :
context:OrganizationServiceContext *
opportunityId:Guid *
columnSet:ColumnSet -> Entity
<ExtensionAttribute>
Public Shared Function GenerateQuoteFromOpportunity (
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 GenerateQuoteFromOpportunityRequest and GenerateQuoteFromOpportunityResponse 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