Κοινή χρήση μέσω


CalculatePriceRequest Class

Definition

Contains the data that is needed to calculate price in an opportunity, quote, order, and invoice. This is used internally for custom pricing calculation when the default system pricing is overridden.

public ref class CalculatePriceRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class CalculatePriceRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type CalculatePriceRequest = class
    inherit OrganizationRequest
Public NotInheritable Class CalculatePriceRequest
Inherits OrganizationRequest
Inheritance
CalculatePriceRequest
Attributes

Remarks

This message requires Dynamics 365 Sales.

Usage

Don't use this message directly. The CalculatePrice message provides the capability to add custom pricing calculation logic if you do not want to use the out-of-box pricing provided by Dynamics 365 Sales. Register a plug-in step for this message with the custom pricing logic. Additionally, you must set the value of the Organization.OOBPriceCalculationEnabled attribute to 0 (false) to override the system pricing engine. More information: Use custom pricing for products

Constructors

CalculatePriceRequest()

Initializes a new instance of the CalculatePriceRequest.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
ParentId

For internal use only.

RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Target

For internal use only.

Applies to