Quote From Opportunity Request Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the data that is needed to generate a quote from an opportunity.
For the Web API use the GenerateQuoteFromOpportunity Action.
public ref class GenerateQuoteFromOpportunityRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")] public sealed class GenerateQuoteFromOpportunityRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>] type GenerateQuoteFromOpportunityRequest = class inherit OrganizationRequest
Public NotInheritable Class GenerateQuoteFromOpportunityRequest Inherits OrganizationRequest
The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface. For the complete sample, see the link later in this topic.
This message works regardless whether the caller is connected to the server or offline.
Privileges and Access Rights
To perform this action, the caller must have privileges on the
Opportunity entity and access rights to the specified record in the OpportunityId property.
For a complete list of the required privileges, see GenerateQuoteFromOpportunity message privileges.
Initializes a new instance of the GenerateQuoteFromOpportunityRequest class.
Gets or sets the collection of attributes to retrieve in the resulting quote. Required.
Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest)
Gets or sets the indexer for the
Gets or sets the ID of the opportunity to be used as the basis for the new quote. Required.
Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest)
Gets or sets the ID of the request. Optional.(Inherited from OrganizationRequest)
Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest)