CalculatePriceRequest Class
Updated: January 15, 2016
Applies To: Dynamics CRM 2015
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.
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Microsoft.Xrm.Sdk.OrganizationRequest
Microsoft.Crm.Sdk.Messages.CalculatePriceRequest
| Name | Description | |
|---|---|---|
![]() | CalculatePriceRequest() | Initializes a new instance of the CalculatePriceRequest. |
| Name | Description | |
|---|---|---|
![]() | 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 an asynchronous operation (system job). 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Message Availability
For this message to work, the caller must be connected to the server.
Usage
This message does not have any usage scenario of its own. It provides you the capability to plug in your own custom pricing calculation logic if you do not want to use the out-of-box pricing provided by CRM. To use this message, you must create a plug-in with the custom pricing logic, and register the plug-in on the CalculatePrice message. 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
Privileges and Access Rights
To perform this action, the caller must have privileges on the Opportunity, Quote, SalesOrder, and Invoice entities.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2016 Microsoft. All rights reserved. Copyright

