Freigeben über


GetDefaultPriceLevelRequest Class

Definition

Contains the data that is needed to retrieve the default price level (price list) for the current user based on the user's territory relationship with the price level.

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

Remarks

This message requires Dynamics 365 Sales.

For the Web API use the GetDefaultPriceLevel function.

Usage

This message does not have any usage scenario of its own. CRM internally uses the message to determine the default price level for an opportunity, quote, order, or invoice based on the current user and the territory relationship with the price level. More information: ba21b67a-bc6c-4082-8f67-ab0b20c8ffbc#Enable

If you have Microsoft Dynamics CRM Online 2015 Update 1, this message also provides you the capability to specify your custom logic for selecting default price level instead of using the out-of-box rule for the selection of default price level for an opportunity, quote, order, and invoice. To use this message, you must create a plug-in with the custom code for returning price levels based on your business requirement, and register it on the GetDefaultPriceLevel message. More information: ba21b67a-bc6c-4082-8f67-ab0b20c8ffbc#Extend

Privileges and Access Rights

To perform this action, the caller must have privileges on the Territory, PriceLevel, Opportunity, Quote, SalesOrder, and Invoice entities.

Notes to Caller

If a user territory is part of multiple price levels, this message will retrieve all those price levels.

Constructors

GetDefaultPriceLevelRequest()

For internal use only.

Properties

ColumnSet

For internal use only.

EntityName

For internal use only.

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)
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)

Applies to